LPC55xx Bootloader ROM

Started by Waldir, February 23, 2021, 12:20:18 PM

Previous topic - Next topic

Waldir

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

What have you tried and what were the results?
Embedded Systems Academy, Inc.
support at esacademy dot com

Waldir

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

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

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

#5
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
Embedded Systems Academy, Inc.
support at esacademy dot com

Andy Ayre

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