LPC1758 program specific blocks

Started by Forrest, August 22, 2013, 03:32:48 AM

Previous topic - Next topic

Forrest

Hi all,

I have question regarding programming specific blocks throught FlashMagic.
I have my own bootloader that I would like program at adress 0x0 and is 0x98c size long its first HEX file.
Second I have application HEX file that must be programmed at adress 0x2000.

So I suppose that I can select where HEX file will be started before I start programming, but this feature I dont find in FlashMagic.
Is it my mistake? Or really this feature isnt in FlashMagic?
Have you any idea how solve this problem?

Thanks so much

Andy Ayre

The hex file already contains the addresses where the data will be programmed. You will need to configure your compiler to generate code starting at address 0x2000. Then the hex file will contain the necessary information for Flash Magic to only program 0x2000 and above.

Check the option in section 2 of the main window to erase only the blocks used by the hex file. You can also click on the information link in section 3 once you have selected your hex file for confirmation of the blocks used.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com