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.


Messages - Andy Ayre

Pages: [1] 2 3 ... 143
1
LPC2xxx / Re: LPC2388 programs only once
« on: October 19, 2017, 02:51:21 am »
What exactly does the LPC2388 need to do to tell the 89LPC931 to keep it alive? Send data on the UART? Some other signal?

2
LPC2xxx / Re: LPC2388 programs only once
« on: October 19, 2017, 02:31:19 am »
Also you might want to try lowering the baudrate and see if that helps. I've seen some devices struggle at 115200.

3
LPC2xxx / Re: LPC2388 programs only once
« on: October 19, 2017, 02:25:44 am »
This one appears to be from Flash Magic version 5.7x to 5.91, still very old. We can't support such old versions.

However I do see in your debug file that Flash Magic sends a line of data and the device fails to echo it back. Looks like the bootloader stopped responding while programming 0x40000000 -> 0x40000200.

Try removing the first 512 bytes from your hex file (you can do this manually in Notepad) or relocate all of your code to above 0x40000200 and re-test. If you can reliably program then it would seem to be a problem with programming/accessing the first 512 bytes of flash. If you can't then it might be a problem with the power supply to the device - would be helpful to know if it fails at random times or always the same block of memory.

Note that to provide further help it would need to be with the latest version of Flash Magic.

Andy

4
LPC2xxx / Re: LPC2388 programs only once
« on: October 19, 2017, 01:40:00 am »
I just looked again at your debug file.

The title of this topic is LPC2388, but your debug file shows you have selected LPC1754.

Also your debug file shows you are using an old version of Flash Magic, something like 6.31, but we are now on version 10.67...

Andy

5
LPC2xxx / Re: LPC2388 programs only once
« on: October 19, 2017, 01:16:47 am »
Flash Magic

6
LPC2xxx / Re: LPC2388 programs only once
« on: October 19, 2017, 12:58:04 am »
What are your line feed settings in the advanced options? Did you try the other combinations?

Andy

7
LPC2xxx / Re: LPC2388 programs only once
« on: October 18, 2017, 01:01:14 am »
Please try now. You may need to clear your browser cache.

8
LPC2xxx / Re: LPC2388 programs only once
« on: October 18, 2017, 12:44:16 am »
Andy, thanks for replying, but where is the attach option?  Incidentally, your non-robot verification is rejecting correct answers.  I was asked about the Italian currency, answered "lira" and got the answer rejected.

Click on the reply button (don't use quick reply), then click on "Attachments and other options"

Italy hasn't use the Lira since Feb 28th 2002.

9
LPC2xxx / Re: LPC2388 programs only once
« on: October 17, 2017, 09:02:01 am »
Your post has been approved, so you should be able to reply and attach the file. However first try changing the line feed settings in the advanced options. Try all four combinations.

Andy

10
Looks like you are still running an old version. The version number shown should be 10.67.4823. To double-check I just re-downloaded and installed it and it is correct for me.

Andy

11
Please try version 10.67 and let us know if you still have a problem.

Andy

12
Yes, FM sets the status byte to zero after successful programming. Perhaps age has affected the parts in some way and it takes two attempts to program that location to make it stick?

Probably the best thing to do for the future is to use the command line version so you always explicitly set the status byte after programming.

Andy

13
Please generate a debug file then post back with it attached. Instructions are here:

  http://www.flashmagictool.com/debugfile.html

Andy

14
ARM Cortex / Re: LPC54608 returns invalid device ID
« on: September 11, 2017, 01:19:05 am »
Seems like it might be an engineering sample rather than a production part.

What error do you get when erasing? Have you tried lowering the baudrate?

Andy

15
ARM Cortex / Re: SWD over Link2
« on: August 24, 2017, 08:18:11 pm »
As mentioned via email, the SWD communications are not reliable. Sometimes you are getting a parity error, other times a malformed packet. I would suspect an electrical issue between the LPC4300 on the LPC-Link2 and the target part.

Pages: [1] 2 3 ... 143