Author Topic: [LPC1768] Ethernet bootloader - how to do  (Read 10850 times)

RafW

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
    • Email
[LPC1768] Ethernet bootloader - how to do
« 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 ?

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: [LPC1768] Ethernet bootloader - how to do
« Reply #1 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
Embedded Systems Academy, Inc.
support at esacademy dot com

RafW

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
    • Email
Re: [LPC1768] Ethernet bootloader - how to do
« Reply #2 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 ?


Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: [LPC1768] Ethernet bootloader - how to do
« Reply #3 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
« Last Edit: January 21, 2015, 02:09:20 am by Andy Ayre »
Embedded Systems Academy, Inc.
support at esacademy dot com