Author Topic: LPC1768 Ethernet Bootloader : Unable to communicate...  (Read 11200 times)

karakas

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
LPC1768 Ethernet Bootloader : Unable to communicate...
« 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

Andy Ayre

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

karakas

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Re: LPC1768 Ethernet Bootloader : Unable to communicate...
« Reply #2 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?

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: LPC1768 Ethernet Bootloader : Unable to communicate...
« Reply #3 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.
Embedded Systems Academy, Inc.
support at esacademy dot com

karakas

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Re: LPC1768 Ethernet Bootloader : Unable to communicate...
« Reply #4 on: July 28, 2015, 07:47:05 am »
may be you more explain ?
what should i do exactly?
i really need it.
« Last Edit: July 28, 2015, 07:53:45 am by karakas »

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: LPC1768 Ethernet Bootloader : Unable to communicate...
« Reply #5 on: July 29, 2015, 01:22:59 am »
Look at sbl_config.h
Embedded Systems Academy, Inc.
support at esacademy dot com

karakas

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Re: LPC1768 Ethernet Bootloader : Unable to communicate...
« Reply #6 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?

Andy Ayre

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

karakas

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Re: LPC1768 Ethernet Bootloader : Unable to communicate...
« Reply #8 on: July 29, 2015, 08:12:32 am »
ok.thanks

karakas

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Re: LPC1768 Ethernet Bootloader : Unable to communicate...
« Reply #9 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
« Last Edit: August 08, 2015, 08:42:58 am by karakas »

karakas

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Re: LPC1768 Ethernet Bootloader : Unable to communicate...
« Reply #10 on: August 10, 2015, 05:14:42 am »
No one answer??????????????

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: LPC1768 Ethernet Bootloader : Unable to communicate...
« Reply #11 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".

Embedded Systems Academy, Inc.
support at esacademy dot com