Flash Magic Forum

In-System Programming Support => ARM Cortex => Topic started by: Shoda on December 11, 2014, 09:26:32 PM

Title: I can not Verify in LPC810
Post by: Shoda on December 11, 2014, 09:26:32 PM
It can be written in Flash Masic 8.61, but can not seem to read.

Read Device Signature >>> OK
Display Memory >>> "Unable communicate (transmit / receive)"

Hex File of writing can be, (the program to work without problems) but, long time to wait is error message appears in the Verify. >>> "Error Verifying. There is a difference in the Hex file value and the stored value. (Address 0x00000001)

I tried a combination of new chip , LPC1114, Win7, Win8.1, PL2303SA,  FT232RL it was the same result. However, in Flash Masic 7.66, I will work well.
Why. Please help me.
I'm sorry in poor English.
Title: Re: I can not Verify in LPC810
Post by: Andy Ayre on December 12, 2014, 12:58:02 AM
Try changing the line feed settings in the Advanced Options. Post back your results.

Andy
Title: Re: I can not Verify in LPC810
Post by: Shoda on December 12, 2014, 03:25:48 AM
Hi Andy.
Immediately answer Thank you.
"send Line Feed" or "expect Line Feed" the results were "Operational Failed (reading Signature)". It was the same result as until now If I enable both options.

Shoda
Title: Re: I can not Verify in LPC810
Post by: Andy Ayre on December 12, 2014, 03:46:35 AM
Did you try all four combinations?
Title: Re: I can not Verify in LPC810
Post by: Shoda on December 12, 2014, 06:21:22 AM
Hi

I tried again.

1 both options enabled
     Same to the first question.

2 Send Line Feeds is enabled.
      Read Device Signature >> "Oparation Failed (reading signature)"
      Display Memory, Programming >> "Faild to read the device signature ....... using the wrong protocol ....... device unusable. Do you     want to continue? "  Then "Operation Failed"

3 Expect Line Feeds is enabled.
      Read Device Signature, Display Memory, Programming >> "Unable to commmunicate. (Transmit / receive) Ensure no other ........., Try raising ..... baud rate." 

4 both options disabled
      Read Device Signature, Display Memory, Programming >> "Unable to connect to ....... (failed to autobaud-step2) Reset the hardware into ISP mode again."

Baud rate change, ISP mode setting, it has been tried, such as com port change, the result is the same.

Shoda
Title: Re: I can not Verify in LPC810
Post by: Andy Ayre on December 15, 2014, 01:21:09 AM
OK, please disable the line feed options (everything unchecked) so you can read the signature again.

Next generate and send me a debug file showing a signature read, erase program and verify. I assume that verify also generates the error as it is the same as reading flash.

Instructions are here: http://www.flashmagictool.com/debugfile.html

Andy
Title: Re: I can not Verify in LPC810
Post by: Shoda on December 15, 2014, 11:01:11 PM
I will send again.

Shoda
Title: Re: I can not Verify in LPC810
Post by: Andy Ayre on December 16, 2014, 01:33:07 AM
If you program a hex file (without verifying or reading it back) and reset the LPC810, does the firmware execute?

If you are unsure please create simple test firmware that toggles a pin and please give it a try.

Also please generate a debug file for the LPC1114 as well. Thanks.

Andy
Title: Re: I can not Verify in LPC810
Post by: Shoda on December 16, 2014, 10:29:02 AM
I was able to program, without verifying. And was able to execute correctly.

I'm sorry. LPC1114 is no problem. (I was wrong connection.)

Shoda
Title: Re: I can not Verify in LPC810
Post by: Andy Ayre on December 18, 2014, 02:41:31 AM
Please try version 8.62 and let me know if you still see a problem.

Andy
Title: Re: I can not Verify in LPC810
Post by: Shoda on December 18, 2014, 05:53:11 PM
Hi Andy,
I solved the problem using V8.62. In addition, LPC824 also work well.
Thank you for correspondence immediately.

Shoda