Flash Magic Forum

In-System Programming Support => ARM Cortex => Topic started by: Waldir on February 23, 2021, 12:20:18 pm

Title: LPC55xx Bootloader ROM
Post by: Waldir 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?
 :-\
Title: Re: LPC55xx Bootloader ROM
Post by: Andy Ayre on February 23, 2021, 02:03:47 pm
What have you tried and what were the results?
Title: Re: LPC55xx Bootloader ROM
Post by: Waldir 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
Title: Re: LPC55xx Bootloader ROM
Post by: Andy Ayre 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
Title: Re: LPC55xx Bootloader ROM
Post by: Waldir 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
Title: Re: LPC55xx Bootloader ROM
Post by: Andy Ayre 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
Title: Re: LPC55xx Bootloader ROM
Post by: Andy Ayre 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