Author Topic: Testing the Ethernet Bootloader  (Read 5336 times)

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2156
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
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.
Embedded Systems Academy, Inc.
support at esacademy dot com

Electron

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Re: Testing the Ethernet Bootloader
« Reply #1 on: November 26, 2014, 08:34:22 pm »
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

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Re: Testing the Ethernet Bootloader
« Reply #2 on: November 26, 2014, 08:56:08 pm »
Hi,

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

Thanks & Regards


Electron

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Re: Testing the Ethernet Bootloader
« Reply #3 on: November 27, 2014, 01:13:08 am »
Hi,

after downloading bootloader, P2.6 is not flashing

Electron

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Re: Testing the Ethernet Bootloader
« Reply #4 on: November 27, 2014, 01:53:51 am »
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

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Re: Testing the Ethernet Bootloader
« Reply #5 on: November 27, 2014, 03:01:23 am »
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

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2156
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Testing the Ethernet Bootloader
« Reply #6 on: November 28, 2014, 01:02:00 am »
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

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Re: Testing the Ethernet Bootloader
« Reply #7 on: November 28, 2014, 02:58:46 am »
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

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2156
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Testing the Ethernet Bootloader
« Reply #8 on: November 28, 2014, 03:19:17 am »
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

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Re: Testing the Ethernet Bootloader
« Reply #9 on: December 01, 2014, 12:08:28 am »
Hi,

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

have you any idea abot that?