Flash Magic Forum

In-System Programming Support => ARM Cortex => Topic started by: yan9a on April 23, 2017, 08:19:21 PM

Title: LPC824 Flash programming
Post by: yan9a on April 23, 2017, 08:19:21 PM
I am new to flashmagic. When i tried to use it (version 10.02.4512)  to program LPC824M201JHI33 on OM13071 board, I have got error "Failed to read the device signature". And when I click yes to continue, I have got "Operating Failed" message box. Another problem is that my LPCXpresso IDE only outputs .axf file. How can I use it with flashmagic?
Title: Re: LPC824 Flash programming
Post by: Andy Ayre on April 24, 2017, 12:33:37 AM
You will need to configure LPXxpresso to output a hex file - it's somewhere in the settings.

Please generate and send a debug file. Instructions are here: http://www.flashmagictool.com/debugfile.html

Andy
Title: Re: LPC824 Flash programming
Post by: yan9a on April 24, 2017, 01:16:40 AM
I just tried erasing the flash because I haven't had hex.
Now I can generate the debug file for the errors I mentioned. But I cannot attach the file in this post.
When I click the 'Attachments and other options' below the text box, I can't see attach option.
Is it because of forum permission?
Thanks.
Title: Re: LPC824 Flash programming
Post by: yan9a on April 24, 2017, 01:27:19 AM
https://www.dropbox.com/s/f6rqruwp4ozbwt4/flashmagic-20170424-154821.fmd?dl=0

The debug file can be seen at the above dropbox link.
Thanks.
Title: Re: LPC824 Flash programming
Post by: Andy Ayre on April 24, 2017, 03:10:12 AM
I see this in the output from the device:

rx> \0ahave to say for yourself now?\0a\0d

This is not the bootloader running but some firmware instead.

You need to meet all the conditions given in the Flash memory section of the user manual from NXP to start the bootloader. You can check that the bootloader is running by connecting using a terminal program and sending a single '?'. You should get 'Synchronized' back.

Andy
Title: Re: LPC824 Flash programming
Post by: yan9a on April 24, 2017, 07:43:23 PM
Thanks a lot. Now I can erase the flash.