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.


Topics - rmatlin

Pages: [1]
1
ARM Cortex / Erase Flash
« on: September 14, 2011, 07:36:35 am »
I am using FlashMagicARMCortexNET runtime version v2.0.50727 in a manufacturing environment for a product using the LPC1754. I am able to successfully flash the device the first time when there is no image in the device. If I try to flash it again with a different HEX image, I don't get any errors but the firmware is not changed. I call the erase function as: this.flashMagic.Erase(EraseTypes.DEVICE, 0x0, 1, ProgressHandler, "Erase Flash", ""); This gives the event ERASING_DEVICE. I have also tried:  this.flashMagic.Erase(EraseTypes.NEEDED, 0x0, 0, ProgressHandler, "Erase Flash", this.Parameters["ImagePath"].ToString()); This gives a dozen or so ERASING_BLOCK events. I go through the program then verify processes. I restart but the firmware is not changed. What else do I need to do to be able to overwrite an existing flash image?  Thanks

Pages: [1]