Hi!
I want to use a bootloader (Scene Double bootloader) for PIC16 and it
requires to export the full program memory range of your application (even
unused range), with no eeprom nor fuses.
This is the exact text present in the bootloader manual:
> Exporting a HEX File from MPLAB
>
Once you have written some firmware (using Sample Application as a guide)
> you will need to provide a hex file to format for
> use with the Bootloader.
> DO NOT use the hex file generated directly by MPLAB when you compile the
> application, as this may not include the full
> memory range (we need a file of a known size), and also contains
> configuration bits which we do not want.
> Instead, compile and the choose File->Export. Set it to only output
> Program Memory (no EEPROM or configuration bits). The
> memory range should be the whole range of the device (or, choose the start
> to be the starting address of your user
> application space, which is 0x2400 in the Sample Application example, and
> then end to be the top program memory
> address in the device).
Does anybody know how to do this with SDCC?
Is it related to linker as gplink is generating the COFF file from which
the hex file is finally created?
Thanks a lot.
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user