Recent Posts

Pages: [1] 2 3 ... 10
1
ARM Cortex / Re: LPC54608 returns invalid device ID
« Last post by Jacob3T on October 20, 2017, 06:39:55 am »
Hello,

here we have the same problem with the device ID signature on a development board with the same processor.
Flash magic does not read the expected device ID for the device but 0x54000.
The bootloader version returned is 19.1.

Communication with the device is done through a serial port (not the USB serial port on the board).
  • Baud rate : 9600
  • Interface : None (ISP)
  • Oscillator : <left blank>
I have tested the following command, each time overruling the device ID match warning:
  • Blank check succeeds with no error.
  • Erasing the flash succeeds with no error. (Flash is than reported as blank)
  • Display flash memory reports “operation failed”
  • Programming the flash ends with a verify error at address 0x1

Update:
When the flash is erased and than programmed, the firmware seems to work normally.

When monitoring the serial connection, the verification done is the same as when displaying flash memory.
As described above, the flash read fails.
2
LPC2xxx / Re: LPC2388 programs only once
« Last post by Andy Ayre 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?
3
LPC2xxx / Re: LPC2388 programs only once
« Last post by PQPGuy on October 19, 2017, 02:39:33 am »
Andy,

Yes, there IS a power controller (89LPC931) that goes to sleep if it doesn't hear back from the device for 60 seconds.  Which FM setting (in the latest version) should I use to overrule this behavior?  I have the "use DTR and RTS to enter ISP mode" option checked and the "assert DTR and RTS while COM port is open" one unchecked.

Lowering the baudrate proved pointless.  Of course, I've tried this like one million times.

Many thanks.
4
LPC2xxx / Re: LPC2388 programs only once
« Last post by Andy Ayre 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.
5
LPC2xxx / Re: LPC2388 programs only once
« Last post by Andy Ayre 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
6
LPC2xxx / Re: LPC2388 programs only once
« Last post by PQPGuy on October 19, 2017, 02:14:14 am »
I must have uploaded the wrong file.  This should be the right one (see attached).
7
LPC2xxx / Re: LPC2388 programs only once
« Last post by Andy Ayre 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
8
LPC2xxx / Re: LPC2388 programs only once
« Last post by PQPGuy on October 19, 2017, 01:27:27 am »
There is no such option that I can see.  Where should I go?  Options --> Advanced Options --> ???
9
LPC2xxx / Re: LPC2388 programs only once
« Last post by Andy Ayre on October 19, 2017, 01:16:47 am »
Flash Magic
10
LPC2xxx / Re: LPC2388 programs only once
« Last post by PQPGuy on October 19, 2017, 01:05:06 am »
Are we talking about Flash Magic or your website?
Pages: [1] 2 3 ... 10