Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - nick53493

#1
General / How does FM read the first 64 bytes?
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