Author Topic: LPC55xx Bootloader ROM  (Read 470 times)

Waldir

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
LPC55xx Bootloader ROM
« on: February 23, 2021, 12:20:18 pm »
The uC starts the communication sequence but show the mensage
"Unable to communicate. (transmit/receive)"

Does anyone know how I can fix it?
 :-\

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2177
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: LPC55xx Bootloader ROM
« Reply #1 on: February 23, 2021, 02:03:47 pm »
What have you tried and what were the results?
Embedded Systems Academy, Inc.
support at esacademy dot com

Waldir

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
Re: LPC55xx Bootloader ROM
« Reply #2 on: February 24, 2021, 11:51:54 am »
Thanks Andy!
I am using two USB to USART connector. One is connected to the Fashtool another in docklight.
-> Set the Crystal Frequancy at 16MHz,
-> Put the ISP0 to ground;
-> Power on;
-> Load the .hex file and try to Start. (all other conf are default)

Log:
5A A6
5A A4 08 00 0C 22 01 00 00 01 00 00 00 00 5A A1
5A A4 10 00 A1 CF 04 00 00 03 00 2A 00 00 00 02 00 00 00 00 00 00 00 5A A1
5A A5 00 02 22 D4 38 39 41 42 43 44 44 45 00 30 31 32 33 34 35 36 37 38 39 61 62 63 64 65 66 00 FF FF 00 24 F4 00 00 1B B7 00 FF FF ...
then, all are FF

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2177
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: LPC55xx Bootloader ROM
« Reply #3 on: March 02, 2021, 08:34:22 am »
Please generate a debug file and email to us. Choose Debug Mode from the Help menu then try your operation.

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

Waldir

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
Re: LPC55xx Bootloader ROM
« Reply #4 on: March 05, 2021, 04:01:58 am »
Andy, I sent the esacademy form according to the instructions on the flashtool form, but I have no option to share the fmd file. I'm waiting for the instructions. Tks

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2177
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: LPC55xx Bootloader ROM
« Reply #5 on: March 05, 2021, 09:05:31 am »
You should be able to attach to your forum post. Don't zip it. However I have just sent you an email - please reply to that. Andy
« Last Edit: March 05, 2021, 09:07:05 am by Andy Ayre »
Embedded Systems Academy, Inc.
support at esacademy dot com

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2177
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: LPC55xx Bootloader ROM
« Reply #6 on: March 09, 2021, 09:12:55 am »
Your log file shows that Flash Magic sends a block of data (as you mentioned in your post) and then nothing is received back from the device after that. Hence the transmit/receive error.

There is not much Flash Magic can do if there is no response. Try increasing the timeouts in the advanced options. If that doesn't help then I would suspect something in your communication path (do you have a transceiver? RS422?) or the microcontroller is being reset somehow. Perhaps an intermittent power supply.

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