Flash Magic Forum

In-System Programming Support => ARM Cortex => Topic started by: karakas on July 24, 2015, 09:55:41 AM

Title: LPC1768 Ethernet Bootloader : Unable to communicate...
Post by: karakas on July 24, 2015, 09:55:41 AM
hi dear
i program lpc1768 Ethernet bootloader successfully but when i program user code (Blinky sample) i face to " Unable to communicate.(handshake failed) check ethernet interface is working. " error.
i exactly follow the Flash magic manual and ethernet bootloader nxp application note. my ethernet communication is correct because i test it with keil EasyWeb.
mab you help me?

thanks
Title: Re: LPC1768 Ethernet Bootloader : Unable to communicate...
Post by: Andy Ayre on July 24, 2015, 10:10:00 AM
There is a sticky topic at the top of this subforum titled "Debugging the Ethernet Bootloader". It contains wireshark instructions - please follow them, investigate and report back.

Andy
Title: Re: LPC1768 Ethernet Bootloader : Unable to communicate...
Post by: karakas on July 28, 2015, 05:34:59 AM
thank you
it solved.
i should run Flash Magic as an administrator.
i have another question.

is there any ethernet bootloader code for LPC1788?
Title: Re: LPC1768 Ethernet Bootloader : Unable to communicate...
Post by: Andy Ayre on July 28, 2015, 05:51:46 AM
Should be easy to modify the existing bootloader for the LPC1788 - just change the memory size/sectors.
Title: Re: LPC1768 Ethernet Bootloader : Unable to communicate...
Post by: karakas on July 28, 2015, 07:47:05 AM
may be you more explain ?
what should i do exactly?
i really need it.
Title: Re: LPC1768 Ethernet Bootloader : Unable to communicate...
Post by: Andy Ayre on July 29, 2015, 01:22:59 AM
Look at sbl_config.h
Title: Re: LPC1768 Ethernet Bootloader : Unable to communicate...
Post by: karakas on July 29, 2015, 06:30:26 AM
i checked sbl_config.h but there is no different with LPC1788.So i changed header file and Pin selections in emac.c and uart.c after that i face to this error :

.\Obj\ethernet_bootloader.axf: Error: L6982E: AT section startup_lpc177x_8x.o(.ARM.__at_0x02FC) with base 0x000002fc limit 0x00000300 overlaps address range with AT section sbl_main.o(.ARM.__at_0x2FC) with base 0x000002fc limit 0x00000300.

what is this and how can i solve it?
Title: Re: LPC1768 Ethernet Bootloader : Unable to communicate...
Post by: Andy Ayre on July 29, 2015, 06:38:29 AM
Looks to me like you have defined the CRP value twice. Remove one of the definitions.

This isn't a Flash Magic issue so it would be better to post it on the LPCware forums instead. Please limit postings here to Flash Magic related issues only. Thanks.
Title: Re: LPC1768 Ethernet Bootloader : Unable to communicate...
Post by: karakas on July 29, 2015, 08:12:32 AM
ok.thanks
Title: Re: LPC1768 Ethernet Bootloader : Unable to communicate...
Post by: karakas on August 08, 2015, 07:14:12 AM
my problem not solved.
but if you can in the next version of Flash Magic add LPC1788 ethernet bootloader .
Is it possible?
I think many people have  problem with that.

thanks
Title: Re: LPC1768 Ethernet Bootloader : Unable to communicate...
Post by: karakas on August 10, 2015, 05:14:42 AM
No one answer??????????????
Title: Re: LPC1768 Ethernet Bootloader : Unable to communicate...
Post by: Andy Ayre on August 10, 2015, 05:25:17 AM
The LPC1700 ethernet bootloader is provided as an example. It is up to users to customize for their own needs, i.e. for a different microcontroller. If you want to hire us to do it for you please email us through our website www.esacademy.com under "Contact".