Hello John, > I'm creating a Bootloader firmware reflash feature for my application. > The SDCC compatible source version of the USB Express library was made > available via a license. However, the Bootloader example that has been > on the SiLabs App Note, AN200SW, does not seem to have a 'SDCC' > version. > > The Bootloader plays some games with origins, and positioning of > segments, some of which are indicated in the USB_BL_STARTUP.A51 file. > Unfortunately this file is in the Keil idiom of 8051 assembly, and I'd > like to know what the equivalents may be fore translating it to the > SDCC assembly idiom.
Please search for bootloader and SDCC on the SiLabs website, www.8052.com and SDCC's forum and mailing list. I've explained it already quite a few times. I do not advise the way described on our wiki (first hit) which replaces crtstart.asm. Basically you should use --code-loc to offset the application and forward all interrupt vectors via asm in the bootloader to the start of the application. Then I advise to keep the bootloader free of interrupts and use polling only, though you'll find others with a different opinion. If you have specific questions, feel free to ask here (or there). Maarten ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user