I want to get started with micro controllers. I have a PSJailbreak with the amtel 90usb162 on it. I have read in a couple of places that this can be re-programed with an ISP. I was wondering if the USBtinyISP AVR Programmer Kit (USB SpokePOV Dongle) would be what i need to program that and if I would still need it for programming this same chip after the bootloader is updated?
I chose this forum because it seems friendly and resourceful. Plus I can purchase stuff for later projects. Not trying to hijack.
Extremely new noob. 90usb162 question?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- scott_42
- Posts: 130
- Joined: Mon May 30, 2011 10:46 am
Re: Extremely new noob. 90usb162 question?
I think you use Atmel Flip to program that chip while it is plugged into your USB port.
-
- Posts: 5
- Joined: Mon Aug 15, 2011 3:52 pm
Re: Extremely new noob. 90usb162 question?
Thanks ill give it a go. I think i read something about lock bits. What are those? If you dont mind me asking. A good point of lititure would work too. I have no idea what alot of this are that are refered to in the datasheet.scott-42 wrote:I think you use Atmel Flip to program that chip while it is plugged into your USB port.
-
- Posts: 5
- Joined: Mon Aug 15, 2011 3:52 pm
Re: Extremely new noob. 90usb162 question?
I tried using atmel flip. It gave me an error about not having a dll file and something about dfu. If I'm not mistaken that has to due with the bootloader.. Right?
- scott_42
- Posts: 130
- Joined: Mon May 30, 2011 10:46 am
Re: Extremely new noob. 90usb162 question?
You might want to try a Google search for your problem as this is not really a game board.
Just doing a simple search came up with these instructions which might work for you. http://www.r4king.com/ps-BANNED-modchip-for-BANNED.html
Just doing a simple search came up with these instructions which might work for you. http://www.r4king.com/ps-BANNED-modchip-for-BANNED.html
-
- Posts: 5
- Joined: Mon Aug 15, 2011 3:52 pm
Re: Extremely new noob. 90usb162 question?
Thanks. I am looking to repurpose this usb dongle for avr projects and learning. I think that I understand that you use an ISP to program this with the dfu bootloader so that it can be reprogrammed via usb from that point on.i have no desire to use this chip to hack the BANNED.scott-42 wrote:You might want to try a Google search for your problem as this is not really a game board.
Just doing a simple search came up with these instructions which might work for you. http://www.r4king.com/ps-BANNED-modchip-for-BANNED.html
- scott_42
- Posts: 130
- Joined: Mon May 30, 2011 10:46 am
Re: Extremely new noob. 90usb162 question?
If the device is working and recognized by Flip it probably already has a good bootloader on it. Flip looks like it will display the current bootloader version as well so you can see if you have the latest version (1.0.5). If it already has a good bootloader you can save yourself some hassle by just using it.mosdbyus wrote:I am looking to repurpose this usb dongle for avr projects and learning. I think that I understand that you use an ISP to program this with the dfu bootloader so that it can be reprogrammed via usb from that point on.
If you want to program the bootloader you will need an AVR ISP programmer and some way to hook it up to the chip. I have no idea what the internals of that usb key look like, but you will need an ISP header to plug into. You will probably have to solder on some wires to connect to the chip and you will need a way to power it while programming.
You can download the standard bootloader from Atmel here: http://www.atmel.com/dyn/products/tools ... ol_id=3886
-
- Posts: 5
- Joined: Mon Aug 15, 2011 3:52 pm
Re: Extremely new noob. 90usb162 question?
Thank you. I know where to solder the haeder for the ISP. There is just one thing I'm still unclear on.... what are lock bits? I know through a tutorial for upgrading this chip that i have to do something with the lock bits.
- scott_42
- Posts: 130
- Joined: Mon May 30, 2011 10:46 am
Re: Extremely new noob. 90usb162 question?
From the data sheet which has all the info you are looking for:mosdbyus wrote:There is just one thing I'm still unclear on.... what are lock bits? I know through a tutorial for upgrading this chip that i have to do something with the lock bits.
This is the data sheet: http://www.atmel.com/dyn/resources/prod ... oc7707.pdf23.4 Boot Loader Lock Bits
If no Boot Loader capability is needed, the entire Flash is available for application code. The Boot Loader has two separate sets of Boot Lock bits which can be set independently. This gives the user a unique flexibility to select different levels of protection.
The user can select:See Table 23-2 and Table 23-3 for further details. The Boot Lock bits can be set in software and in Serial or Parallel Programming mode, but they can be cleared by a Chip Erase command only. The general Write Lock (Lock Bit mode 2) does not control the programming of the Flash memory by SPM instruction. Similarly, the general Read/Write Lock (Lock Bit mode 1) does not control reading nor writing by (E)LPM/SPM, if it is attempted.
- • To protect the entire Flash from a software update by the MCU.
• To protect only the Boot Loader Flash section from a software update by the MCU.
• To protect only the Application Flash section from a software update by the MCU.
• Allow software update in the entire Flash.
Basically the lock bits stop you from programming over part of the chip. Once you get the bootloader setup the way you want, you can set the lock bits to prevent the bootloader from being accidentally written over while programming your app. It wont save it from a full chip erase though. There are other lock bits on that chip that affect other areas, again refer to the data sheet to read all about them.
Please be positive and constructive with your questions and comments.