[LPC1768] Ethernet bootloader - how to do

Started by RafW, January 19, 2015, 09:29:12 AM

Previous topic - Next topic

RafW

Please explain how to compile and how to use ethernet bootloader with FlashMagic.

I saw some files in FlashMagis folders /Bootloaders/Ethernet/LPC1700.
I can see Keil project, but I can see hex and axf file ready to program to uC, too.

Could I program LPC1768 with LAN8720 using this file: ethernet_bootloader.hex or ethernet_bootloader.axf ??

If it is not so simple - do I must compile ethernet_bootloader.uvproj project with Keil?
I use LPCXpresso  7.4. Is Keil free ?

Andy Ayre

You don't need to build it unless you want to change it.

Program the hex file into the device using Flash Magic, then reset the device.

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

RafW

Thanks,

  but I can see that ethernet bootloader project works with National DP83848C PHY, but I use SMSC LAN8720.
Bootloader doesn't work because does not support SMSC LAN8720 or I'm doing something wrong ?

Could You help to run/configure ethernet bootloader with LAN8720 ?


Andy Ayre

#3
The bootloader was written by NXP as an example for customers to build upon and customize for their hardware. That is why the source code is provided. We (ESAcademy) can do this for you as a consulting project but there would be costs involved. Please email us through our main website (www.esacademy.com) to start a discussion.

The free Keil MDK-Lite is restricted to 32k of code size and that is plenty for compiling the bootloader (7kb in size). Other free compilers such as gcc and IAR could also be used if you prefer. There is also no reason why you can't modify and compile it with LPCxpresso/Red Suite.

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