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.


Topics - Andy Ayre

Pages: [1] 2 3 ... 5
1
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.



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

7
General Discussion / MOVED: Where to start help with the basics
« on: September 25, 2015, 12:56:28 AM »

8
General / Running on OS X
« on: December 10, 2014, 07:57:18 AM »
Steps to install:

  • Download FlashMagic.app.dmg
  • Double-click on the dmg file
  • A window will open with the Flash Magic application in it
  • Drag the Flash Magic application from that window to wherever you want to install it. e.g. Applications in Finder

If you get the following error:

Quote
ERROR! cannot write to info.plist, there are permission problems, or you are on a read-only volume. This cannot run from within a read-only dmg file

then that means you have missed out step four in the list above.

Andy

9
ARM Cortex / Testing the Ethernet Bootloader
« on: November 25, 2014, 03:07:17 AM »
Here are details of our recent test of the Ethernet bootloader.

Flash Magic 8.55
Keil MCB1700 board version 1.2 with LPC1768

Rebuild the LPC1700 ethernet bootloader project using uVision/Realview V5.12

Program on to board using:

  • LPC1768
  • 19200 baud
  • Interface = None (ISP)
  • Oscillator = 12.000
  • Erase all flash
  • Verify after programming
  • Don't use my line feed settings

Connect board to router using standard Ethernet cable. The connection tested is as follows:

PC <----> Router <----> MCB1700

Reset board.

LED P2.6 is flashing showing that the bootloader is executing.

Ethernet link LED is on, activity LED is flashing.

Rebuild blinky example using uVision/Realview V5.12.

PC's IP address is 192.168.1.75, therefore we will use 192.168.1.XXX for the IP address of the bootloader, where XXX is an unused value that is not in the DHCP pool.

Restart Flash Magic, this time running as Adminstrator (right-click on EXE, choose 'Run as Administrator').

Program on to board using:

  • LPC1768 Ethernet
  • IP address 192.168.1.202
  • MAC address 0C-1D-12-E0-1F-10
  • UDP Tx Delay = 10
  • Erase block 2 only
  • Verify after programming

Erase, programming and verify is successful.

Reset the board.

LED P1.28 is now flashing showing that the blinky example is executing.

If you have any problems please refer to the sticky topic on Debugging the Ethernet Bootloader.

10
ARM Cortex / MCB1800 Board Hints
« on: November 20, 2013, 02:06:59 AM »
This is from Frank who ran into execution problems and hoped it would benefit others:

Quote
When downloading the firmware to KEIL's MCB1800 evaluation board via USART0, you have to set the jumpers J4A - J4D to select boot mode and also jumpers J13 / J16 to select Rx / Tx of USART0 (default position is USART3).

The download into the flash banks by Flash Magic works fine.
When resetting the device, it runs at first sight, but it gets stuck sporadically in the Hard Fault Handler.

You have to set the jumpers J13 / J16 back to USART3 position to avoid sporadic adressing errors on A12 / A13.

Thanks Frank for sharing!

12
General / MOVED: Source Code of LPC23XX Ethernet Bootloader
« on: April 11, 2013, 01:14:39 AM »

14
General Discussion / MOVED: LPC1768 PROGRAMMING ISSUE
« on: March 11, 2013, 02:23:08 AM »

15
General / MOVED: P89CV51 support
« on: September 13, 2012, 01:03:11 AM »

Pages: [1] 2 3 ... 5