Flash Magic Forum

In-System Programming Support => LPC2xxx => Topic started by: hgida on March 29, 2011, 07:52:54 AM

Title: Writing data to flash with Flash Magic
Post by: hgida on March 29, 2011, 07:52:54 AM
Hello all,

I wanted to confirm that I can write data to flash (that will be used by my application) with Flash Magic? I know that I can select a sector to which I want to write to, however the format of the file has to be .hex. 

Can you suggest an application which I can use to convert a .txt file to .hex file that will be recognized by Flash magic?

Thanks.
hgida
Title: Re: Writing data to flash with Flash Magic
Post by: hgida on March 29, 2011, 11:07:53 AM
I have been able to convert my text file into a hex file using a QNX command on my machine.

My application hex file spans sectors 0 to 4. How do I go about writing data to a particular sector in flash with the Flash Magic tool?  For example, if I wanted to write data into Sector 26 and not erase or modify any other sector.
Title: Re: Writing data to flash with Flash Magic
Post by: Andy Ayre on March 30, 2011, 01:24:45 AM
In section 2 of the main window check only the sector you want to erase.
Then in your hex file make sure it only contains data for that sector.

Andy