> 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'
> 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,
http://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
If you have specific questions, feel free to ask here (or there).