Problem loading loadbin to NXP FRDM-K66F using SeggerJlink ("Failed to read back RAMCODE for verification")

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem loading loadbin to NXP FRDM-K66F using SeggerJlink ("Failed to read back RAMCODE for verification")

1,374 Views
shanker424
Contributor II

Hello, 

My FRDM-K66F board got bricked and I have a problem trying to reprogram the bootloader using Segger J-Link.
the bootloader openSDA v2.2 is downloaded from  openSDA 2.2 and the following method is used to load the bootloader

fol.PNG

I am using Segger J-Link Commander for flashing the bootloader, When I attempt to load the bin file I get the following error message  "Failed to read back RAMCODE for verification" from JLink Commander.

error.PNG

Can anyone help? Thanks in Advance.

2 Replies

960 Views
r14713
NXP Employee
NXP Employee

Hello,

Looks like you are trying to flash the bootloader image to the K66 and not the K20  (where you need to flash it)

To connect the J-Link to the K20  you can access through the "OpenSDAv2 debug" header.

See page 4 of:

https://www.nxp.com/docs/en/user-guide/FRDMK66FUG.pdf

The 2 headers are similar.  1 is for the K20, the other for K66.

Regards

960 Views
shanker424
Contributor II

Thanks Gary Anderson, it's working.

0 Kudos
Reply