Help needed with Atmel ICE and J-Link issues with Flash verify and debugging

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi there,

 

we have a weird issue with Atmel ICE. We have been using ICE since a while to program and debug our firmware for the ATSAM4LC8AB custom board with no problem.

Suddenly last week the Atmel ICE started to report Flash verify errors on all the boards we have available. 

 

To check if the debugger got a problem we tried to use Segger J-Link and made an adapter up to fit the 10pole ARM debug connector. This didn't work at all, as we figured that the reset signal seem to go on the RESET pin on the 20pin Segger JTAG instead on nTRST pin 3 of the connector.

 

With this setup we can program the device and verify the flash short after programming, but verify later doesn't pass.

 

And if we using the J-Link for debugging we get messages that pointers are out of range etc.

 

It looks like the RESET signal is not properly handled and causes those issues.

 

Any idea how we could go further?

 

We use AS7 and downloaded the latest driver for J-Link

 

Thanks

 

Best wishes

Ralph

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello Ralph!

Did you find any solution to your problem?
Something similar is happening to me... :(

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Problem : Unable to flash the bin/hex file to production board and able to flash the program on Development board.No hard ware issue.

 

We  are using Atmel ICE for production(SAMG55J19) and development board SAMG55 X PLAINED PRO and same Hardware.

 

Please check below observations and provide the quick solution.

 

Development board 

 

If the GPNVM 0 or 1 code is not working on Development board,By default GPNVM Value is 2 ( Code is working in this mode) .We need to use hardware chip ease( Software chip erase not working)

 

Production Board :

We are unable to set boot mode for production.Code is working this mode Only as per below data sheet.

 

Inline image 1

 

SAMG55 X PLAINED Development Kit .

 

Inline image 4

 

 Production board (Unable to set GPNVM Bits : Boot modes )

 

Inline image 2

 

Inline image 3

 

Flash verification failed on production board ( ASF 7.0)

 

Inline image 1

 

J link Error -5 (Unable  flash the bin/hex )

 

Inline image 2

 

IDE firmware Update ERROR 

 

 

 

Q1: Flash verification Error on ASF IDE and J-Link ( Error  -5 )

       Can you provide details about Error  code details and -5 significance ?

 

Q2: Set the GPNVM bit to boot from the flash. We don't not have hardware chip erase on production board.

       (SAMG55 X PLAINED PRO Development board we are using hardware chip erase .Not working for GPNVM 0 or 1 )

 

Q3: We are using SWD schematic from reference design. ( SWD CLOCK and Data Lines are OK)

 

Q4 : How to check the boot loader firmware for Atmel SAMG55J19  ( We are using Atmel Studio 7.0 on windows 7) 

        Is there any way to find boot loader version on production and development broad SAMG55 X PLAINED PRO .
 
Q5 How to update the Firmware for SAM ICE  and Current version is 1.26 and latest is 1.36 .
       I found some information on below link ,But unable to update the ICE firmware.
 

 

Please provide  valuable feed back and inputs .

 

Srinivas