Flash Magic Forum

In-System Programming Support => ARM Cortex => Topic started by: RafW on January 19, 2015, 09:29:12 AM

Title: [LPC1768] Ethernet bootloader - how to do
Post by: RafW on January 19, 2015, 09:29:12 AM
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 ?
Title: Re: [LPC1768] Ethernet bootloader - how to do
Post by: Andy Ayre on January 20, 2015, 03:29:20 AM
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
Title: Re: [LPC1768] Ethernet bootloader - how to do
Post by: RafW on January 20, 2015, 01:37:02 PM
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 ?

Title: Re: [LPC1768] Ethernet bootloader - how to do
Post by: Andy Ayre on January 21, 2015, 02:07:17 AM
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