Testing the Ethernet Bootloader

Started by Andy Ayre, November 25, 2014, 03:07:17 AM

Previous topic - Next topic

Andy Ayre

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.
Embedded Systems Academy, Inc.
support at esacademy dot com

Electron

Hi ,

Thank you for your Reply. We are using Flash Magic 8.50.3738 (Non Production Use Only). if any problem in Non-Production Version?

Please Find Attahcments are as

1. Debug File
2. Error Image
3. Wireshark Image File

Thanks &Regards

Electron

Hi,

We are using licensed version Flash Magic 5.75.2177 PRODUCTION SYSTEM.NET.
Keil Micro Version 4.70.0.0

Thanks & Regards


Electron

Hi,

after downloading bootloader, P2.6 is not flashing

Electron

Hi,

MCB1700  Bootloader is working in MCB1700 Evaluation Board. Before we tried to download a bootloader through JTAG. So that  we could not communicate Bootloader. Now we tried though COM0 as you said. Now is it is working good.

Thank you for your support.

Electron

Hi,

We can successfully communicate from MCB1700 Bootloader in MCB1700 Evaluation Board.  But our Target  Borard is LPC1788FBD144 Pin Package.

Can we use MCB1700 Ethernet Bootloader in MCB1788FBD144 Pin Package Reader?

Andy Ayre

I don't see why not. You might have to double-check the pin assignments for the ISP entry pin and LED.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

Electron

Hi,
We have tested LPC1788FBD144 in our target Board. But we can communicate and successfully downloaded the MCB1700 ethernet_bootloader.hex file through COM0 (LPC1788), But we could not communicate via Ethernet (LPC1788 Ethernet) in flash Magic 8.50.

which Evaluation Board you used to test the LPC1788FBD144 controller with Flash Magic?

Thanks & Regards

Andy Ayre

The example provides is only tested with the LPC1768 on a Keil MCB1700 board. For any other hardware you will need to make the necessary adjustments and debug it yourself. My guess is that there is an issue with the Ethernet PHY and connections on the LPC1788 board you are using.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

Electron

Hi,

we  tried MCB1700 Ethernt Bootloader with LPC1788 necessary changes, we could not complete Init PlLL function.

have you any idea abot that?