Author Topic: LPC 1769 Ethernet Rx CRC Error  (Read 5979 times)

nk15

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
LPC 1769 Ethernet Rx CRC Error
« on: January 29, 2012, 02:26:27 am »
Hello,

Im trying to flash a LPC through the ethernet bootloader but once a corrupted UDP packet has been seen the program stops and cant recover. This happanes all the time. Receives some packets and the a CRC error drops the packet and then cant recover from this. Im able to erase all sectors and view the flash memory, the problem happens when I burn the software.

I tried direct connection to the PC, same problem. Any thoughts?

regards,
Nick

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2168
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: LPC 1769 Ethernet Rx CRC Error
« Reply #1 on: January 30, 2012, 12:39:07 am »
I would try to find out why you are getting corrupted packets in the first place. It's probably a situation the author of the bootloader didn't see and it's certainly not something I've seen when using the Ethernet bootloader.

Try connecting the microcontroller directly to your PC with a single Ethernet cable. Are the packets still being corrupted? If yes then try a different PC. If not then start adding in the devices that are on your network one by one.

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

nk15

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Re: LPC 1769 Ethernet Rx CRC Error
« Reply #2 on: January 30, 2012, 02:03:50 am »
Hi,

I have tried what you suggested prior to posting. Although I didnt try a different PC. The bootloader is from the example you offer, but needed a few mods. I will investigate this matter further when I have time.

Regards,
Nick

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2168
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: LPC 1769 Ethernet Rx CRC Error
« Reply #3 on: February 01, 2012, 01:11:41 am »
A direct connection from your PC to the board still produced corrupt UDP packets from your PC?

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