How does FM read the first 64 bytes?

Started by nick53493, July 10, 2012, 12:40:05 PM

Previous topic - Next topic

nick53493

Hi,

I guess this question is rather for developers than for users. I am implementing my own flash programming tool using the ISP protocol. One of the issues I have encountered is that the bootloader in some microcontrollers (eg LPC2129) remaps the first 64 bytes of flash memory, so a read operation doesn't bring actual data from that area.

I would like to know how FlashMagic (or similar tools) deal with this problem? I know that one possible solution is to write and execute a simple program on the microcontroller that remaps the memory before reading it. But is this safe? Are there any other solutions?

Cheers

nick53493

Sorry, I just noticed exactly the same question three topics below mine! Moderator, please remove this topic.