Author Topic: NHS3100 flashing- Failed to Autobaud  (Read 14432 times)

vrushali

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
    • Email
Re: NHS3100 flashing- Failed to Autobaud
« Reply #240 on: September 21, 2018, 12:06:04 am »
Hi Andy,

My Jumper settings on LPC link2: JP1 is open, JP2 is mounted.
i am using J7 connector on LPC link2 board to connect to target board.
Settings in flash magic:see flash magic setting.png in attachments.
flashmagic version 10.90

Thanks.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: NHS3100 flashing- Failed to Autobaud
« Reply #241 on: September 21, 2018, 07:22:16 am »
Just to confirm, the procedure is:

1. Connect NHS3100 board to J7 on LPC-Link2
2. JP2 on, JP1 off
3. No battery inserted into NHS3100 board
4. Connect LPC-Link2 to your PC -> LED on LPC-Link2 on solid
5. Start Flash Magic -> LED on LPC-Link2 flashes
6. Choose SWD over Link2 in Flash Magic main window
7. ISP -> Read Signature

Your screenshot shows that Flash Magic has been able to communicate with the LPC-Link2.

Your debug file shows that the LPC-Link2 can't communicate with the NHS3100.

Could be due to the cable being too long, not properly seated at both ends. Do you have the battery in? If so remove it. Could be due to static damage. Could be due to configuring the part to disable SWD.

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

vrushali

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
    • Email
Re: NHS3100 flashing- Failed to Autobaud
« Reply #242 on: September 21, 2018, 11:11:08 pm »
Hi Andy,
I am following same procedure as mentioned by you.(LED status is also same)
About screenshot- I have one more board which is working. I took the screenshot of that.

Battery is not inserted while flashing.

Can you tell me about these 2 points in detail?
1) Could be due to static damage : Do you mean NHS3100 IC is damaged?
2) Could be due to configuring the part to disable SWD. : How can i check this?

Thanks for the help.

vrushali

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
    • Email
Re: NHS3100 flashing Failed
« Reply #243 on: September 28, 2018, 03:15:42 am »
Hi Andy,
I am facing problem in flashing another board. i have attached flash magic tool snapshot. Its giving message as "Operation Failed.Failed to connect. Try disconnecting and reconnecting the board.Make sure the board appear in the device manager. also debug file is attached.
What is wrong?

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: NHS3100 flashing- Failed to Autobaud
« Reply #244 on: October 02, 2018, 01:25:18 am »
It's the same kind of thing. The LPC-Link2 asserts the NHS3100 reset pin, then deasserts it, then tries to communicate with it, which fails. I would double-check your cabling. It has to be very short if it isn't already. For example 10cm or less.
Embedded Systems Academy, Inc.
support at esacademy dot com