Author Topic: How does FM read the first 64 bytes?  (Read 4075 times)

nick53493

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
How does FM read the first 64 bytes?
« 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

nick53493

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
Re: How does FM read the first 64 bytes?
« Reply #1 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.