Brand-new FRDM-K64F board not working

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

Brand-new FRDM-K64F board not working

Jump to solution
2,087 Views
welterp
Contributor II

I just got a FRDM-K64F board.

I closely followed the Getting Started Guide (Get Started with the FRDM-K64F | NXP ).

I connected the PC to the debug adapter USB port. The device should have come flashed with a demo that should flash the RGB LED according to readings from the on-board accelerometer, but nothing happened.

Next I installed the development tools, and, again following the guide, tried the Hello World example. The example compiled fine, and the IDE could talk to the on-board debug adapter, but it failed to communicate with the target chip. The messages from the debugger can be found below.

I am on Windows 10. I am using the latest version of the SDK and MCUXpresso toolchain and IDE.

Please advise.

Many thanks & best regards

Pol

MCUXpresso IDE RedlinkMulti Driver v11.0 (Aug 27 2019 16:46:33 - crt_emu_cm_redlink build 22)
Found part description in XML file MK64F12_internal.xml
Reconnected to existing LinkServer process.
============= SCRIPT: kinetisconnect.scp =============
Kinetis Connect Script
Connecting to Probe Index = 1
This probe = 1
This TAP = 0
This core = 0
DpID = 2BA01477
Assert NRESET
Reset pin state: 00
Power up Debug
MDM-AP APID: 0x001C0000
MDM-AP System Reset/Hold Reset/Debug Request
MDM-AP Control: 0x00000000
MDM-AP Status (Flash Ready) : 0x00000037
Part is secured
Mass Erase Required
============= END SCRIPT =============================
Probe Firmware: MBED CMSIS-DAP (MBED)
Serial Number:  024002015CBA7E63A14483DB
VID:PID:  0D28:0204
USB Path: \\?\hid#vid_0d28&pid_0204&mi_03#8&10093261&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
Using memory from core 0 after searching for a good core
Using memory from core 0 after searching for a good core
Using memory from core 0 after searching for a good core
connection failed - Nn(05). Wire ACK Fault in DAP access.. Retrying
Using memory from core 0 after searching for a good core
Using memory from core 0 after searching for a good core
Using memory from core 0 after searching for a good core
Failed on connect: Nn(05). Wire ACK Fault in DAP access
Connected&Reset. Was: NotConnected. DpID: 2BA01477. CpuID: 00000000. Info: <None>
Last stub error 0: OK
Last sticky error: 0x0 AIndex: 0
Debug bus selected: MemAp 0
DAP Speed test unexecuted or failed
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
error closing down debug session - Nn(05). Wire ACK Fault in DAP access
Tags (1)
0 Kudos
1 Solution
1,737 Views
welterp
Contributor II

I have found a solution.

The MCU stuck in reset was something I could look for with Google. Turns out it is a common problem. Even though the board is new (date codes suggest manufacturing no earlier than mid 2018) it apparantly came with an old version of the OpenSDA bootloader and firmware.

For any future reader: follow the instructions here OpenSDA Serial and Debug Adapter | NXP  and here DAPLink bootloader update | Mbed .

I can now program the device via the IDE just fine.

View solution in original post

0 Kudos
4 Replies
1,738 Views
welterp
Contributor II

I have found a solution.

The MCU stuck in reset was something I could look for with Google. Turns out it is a common problem. Even though the board is new (date codes suggest manufacturing no earlier than mid 2018) it apparantly came with an old version of the OpenSDA bootloader and firmware.

For any future reader: follow the instructions here OpenSDA Serial and Debug Adapter | NXP  and here DAPLink bootloader update | Mbed .

I can now program the device via the IDE just fine.

0 Kudos
1,737 Views
welterp
Contributor II

I noticed that the red LED D1 is dimly lit as soon as I power the board. (It lights up much brighter when I push the Reset button.) Per the schematics, I gather this means the K64 is held in reset.

EDIT: Just measured it, the RST pin of the K64 sits at 1.6V.

I guess my board is faulty?

0 Kudos
1,737 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi Pol,

 

Please try to execute a mass erase by doing the following.

pastedImage_2.png

Best regards,

Felipe

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
1,736 Views
welterp
Contributor II

Hi Felipe,

Thanks for the hint.

It's still failing with a similar error.

Best,

Pol

0 Kudos