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 ... 144
1
LPC9xx/LPC9xxx / Re: ulink2 programming
« on: December 12, 2017, 01:28:11 am »
ISP and IAP are very different. ISP uses the UART and an ASCII-based protocol and IAP is a lower level approach. This is described in the user manual from NXP.

Andy

2
LPC9xx/LPC9xxx / Re: ulink2 programming
« on: December 11, 2017, 01:08:35 am »
This forum is for Flash Magic support not ULINK.

3
LPC9xx/LPC9xxx / Re: P89LPC952FA iap programming trouble
« on: December 01, 2017, 12:49:37 am »
Sounds like the EDISx security bit is set for block zero. The only way to clear it is in a parallel programmer as far as I know. See the NXP user manual chapter 17.

Andy

4
General / Re: Using Production System NET and SWD over Link2
« on: November 15, 2017, 07:56:02 am »
In case you didn't see it USBManager has a mode exactly for this purpose. Try:

  USBManager --nobanner --seriallist

Andy

5
General / Re: Using Production System NET and SWD over Link2
« on: November 15, 2017, 07:42:22 am »
Your version is not new enough. Support for this was added in Flash Magic 10.67. If you wish to get access to the production system version by extending your support/update agreement then please email us.

Andy

6
General / Re: Using Production System NET and SWD over Link2
« on: November 15, 2017, 01:27:09 am »
Should work. Please show me where you initialize the COMOptions structure and also what version number is returned from FlashMagicARMCortex.Version().

Andy

7
General / Re: Using Production System NET and SWD over Link2
« on: November 13, 2017, 12:47:18 am »
USBDriver.dll should work if placed in the same folder as everything else.

Flash Magic supports multiple Link2s connected at the same time. In order to tell them apart each Link2 interface has a unique serial number. You can see the serial numbers by running this on the command line from inside the Flash Magic installation folder:

  USBManager --list

The serial numbers are also show in the GUI version of Flash Magic, e.g:

  SWD over Link2 (xxxxxxxxx)

If you are only going to connect one Link2 at the same time and you don't care about the serial number then set the interfaceserialnumber field to an empty string. Make sure you are using the latest version of Flash Magic as support for this was only added recently.

Andy

8
ARM Cortex / Re: LPC11C14 CAN .NET Library
« on: November 08, 2017, 12:37:41 am »
Can you please post a recording of the CAN messages on the bus. It looks like the bootloader is not responding.

Andy

9
ARM Cortex / Re: LPC54608 returns invalid device ID
« on: November 08, 2017, 12:36:12 am »
Verification and read is fixed in version 10.82.

Andy

10
General Discussion / Re: Bin file programming support
« on: November 01, 2017, 01:52:45 am »
Binary files are not support for LPC2000. Convert it to hex using a free utility such as bin2hex.

Andy

11
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?

12
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.

13
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

14
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

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

Pages: [1] 2 3 ... 144