Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/29/10 11:16
Read: times


 
#176970 - USB Bootloader for AT89C5131 Controller
Hi,
I am using AT89C5131 microcontroller. I have interfaced 128Kbytes external flash to this chip on P0 and P2 ports. I have connected the EA pin to ground to boot from external flash.

I am using uVision2 IDE. I have selected the "Code Banking" in the Target option and 2 Banks and the Bank Area as 0x0000 to 0xFFFF. My application is of 97Kbytes which is split in two banks. When i compile the IDE generates two hex file one for each bank.

Now I have to write a USB bootloader code in the external flash which takes new hex file from the PC and writes to my application area of the external flash.

Can anyone help me in desinging the software for the USB bootloader?
Does the common area of the code always starts from 0x0000 location?
Even if i change CSEG value to some other value the Common Code is always starting 0x0000 location but Bank1 and Bank2 code starts at the defined value. Why?

Thanks & Regards
Amit Tavag

List of 13 messages in thread
TopicAuthorDate
USB Bootloader for AT89C5131 Controller            01/01/70 00:00      
   it need be where the vectors are            01/01/70 00:00      
   cross posted here:            01/01/70 00:00      
       cross posted - and rejected - here:            01/01/70 00:00      
   impossible?            01/01/70 00:00      
      Chancy making a guess like this.            01/01/70 00:00      
         On the other hand...            01/01/70 00:00      
            Well ... its a deep subject !!            01/01/70 00:00      
               provoke thought            01/01/70 00:00      
                  apparently not            01/01/70 00:00      
               I tied, but could not resist            01/01/70 00:00      
      on-chip Boot FLASH            01/01/70 00:00      
   Perhaps some docs? Take a look            01/01/70 00:00      

Back to Subject List