Flash Magic Forum

In-System Programming Support => General => Topic started by: nick53493 on July 10, 2012, 12:40:05 PM

Title: How does FM read the first 64 bytes?
Post by: nick53493 on July 10, 2012, 12:40:05 PM
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
Title: Re: How does FM read the first 64 bytes?
Post by: nick53493 on July 10, 2012, 12:48:37 PM
Sorry, I just noticed exactly the same question three topics below mine! Moderator, please remove this topic.