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] 4 5 ... 144
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?


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.

ARM Cortex / Re: SWD over Link2
« on: August 17, 2017, 02:52:29 pm »
Thanks for posting the solution - it helps users that come after you.

P89V51Rx2/P89LV51Rx2 / Re: Can't program p89v51RD2FA...AC
« on: August 08, 2017, 05:13:47 am », look on the right.

LPC2xxx / Re: Slower baudrates communication (autobaud)
« on: August 04, 2017, 03:15:52 am »
I have no idea why it can't autobaud at higher speeds. Perhaps put a scope on the Tx and Rx pins, send the '?' and see if anything looks strange. Or you could try using the high speed comms mode in Flash Magic.

LPC2xxx / Re: Slower baudrates communication (autobaud)
« on: August 04, 2017, 12:29:46 am »
With a 12MHz crystal you should be able to connect at 38,400 if not 57,600. Something is wrong. If you are using a USB to RS232 cable then try swapping it for a different one. We recommend genuine FTDI cables. Also try a different PC - could be a Windows driver issue.

Some parts require the crystal frequency to know how long erase and programming will take internally. Some parts don't need this. For the LPC2000 you should enter an accurate value.

ARM Cortex / Re: LPC1768 Ethernet Bootloader not work whit EasyWeb
« on: July 20, 2017, 12:46:13 am »
Take the blinky example and start modifying it a bit at a time into what you want. When it stops working you have found the cause.

ARM Cortex / Debugging SWD/USB
« on: July 18, 2017, 01:08:57 am »
This post contains steps to help debug problems with using the "SWD over Link2" and "SWD over LPC11U35" interfaces.

1. I don't have entries in the Interfaces list

For LPCxpresso boards make sure to install the DFU Link jumper and for LPC-Link2 boards make sure to remove jumper JP1. Connect the boards to your PC and make sure they are recognized by Windows in the Device Manager as "LPC device". Then start Flash Magic. At this point an LED on the boards should start flashing.

2. The LED doesn't start flashing

Check the board has been recognized by the PC. In Device Manager look for "HID-compliant vendor-defined device". Right-click and choose properties. Then click on the Events tab and scroll down in the information box. You should see something like "Parent Device: USB\VID_1FC9&PID_F059\xxxxxxxxxx" where xxxxxxxx is the interface serial number.

General / Re: Cannot program SST89E516RD2
« on: July 10, 2017, 07:38:38 am »
For ST parts you will need to use an ST programming utility. Flash Magic is for NXP only.

P89V51Rx2/P89LV51Rx2 / MOVED: Cannot program SST89E516RD2
« on: July 10, 2017, 07:38:12 am »

ARM Cortex / Re: LPC824 Flash programming
« 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.


ARM Cortex / Re: LPC824 Flash programming
« 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:


Hi, I responded to your email yesterday afternoon with some questions and I didn't see a response back.

Programming external flash isn't supported on the command line. If you are using LabView you should use the included VI which uses the C# DLLs and modify it to program external flash that way.


You bought a new chip that has been out of production for years? I am skeptical that you bought a genuine part. If it is genuine then I think it has been reclaimed from some old product - that is why it is locked. New parts are not locked. I would return it for a refund.

My advice is to not start a new project on an obsolete chip - switch to ARM-Cortex or something else that is still in production and supported.

Yes you can do parallel programming with the PLCC package. We don't have any information on doing that - you would need to remove it from it's socket and put it into the programmer. I would expect there are many available.

P89C51RD2 and P89V51RD2 are completely different. Only the part names are similar. Instructions for one do not apply to the other.


LPC2xxx / Re: communication error
« on: March 06, 2017, 01:39:40 am »
Are you able to read the device signature (ISP -> Read Signature...)?


Pages: 1 2 [3] 4 5 ... 144