AnsweredAssumed Answered

How to program QN9080-DK with external PE Micro Multilink

Question asked by Rick Dickerson on Mar 30, 2018
Latest reply on Apr 10, 2018 by Gerardo Rodríguez

I am having a similar question to another post, but he is using the J-Link Debugger and I am using the PE Micro Multilink ACP. I am creating a new post so I don't hijack this thread: How to program qn9080-dk with external J-Link Debugger.

 

After following the steps in the above thread, it appears that the Multilink programs the board because the application works as expected after I reset the board. However, I can't actively debug my project and the CRC-16 calculation does not match the expected value (see log below). When I created the debug configuration using the quick start panel the wizard found the Multilink, but reported that it couldn't find a matching device and that I should enter it manually. I selected the QN9080C for the debug configuration and release configuration created by the wizard. When I try to debug the application, the device gets programmed and the IDE hangs for several seconds before it displays a dialog that simply says "Error during flash programming. Terminating debug session." There is no option to display more details.

 

How can I use the PE Micro Multilink to program the development board? 

 

As the previous thread points out, the schematics in the QN9080-DK user guide are difficult to read. Please upload some higher quality documents so we can zoom in.

 

 

Here is the log:

Connection from "127.0.0.1" via 127.0.0.1
Connection from "127.0.0.1" via 127.0.0.1
Telnet server running on 127.0.0.1:51794
Searching for FreeRTOS Kernel Symbols...
pxCurrentTCB not found. FreeRTOS analysis not enabled.
Copyright 2017 P&E Microcomputer Systems,Inc.
Command Line :C:\nxp\MCUXpressoIDE_10.1.1_606\ide\plugins\com.pemicro.debug.gdbjtag.pne_3.2.4.201710241511\win32\pegdbserver_console -device=NXP_Sensors_QN9080C -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILINK -speed=5�

CMD>RE

Initializing.
Target has been RESET and is active.
CMD>CM C:\nxp\MCUXpressoIDE_10.1.1_606\ide\plugins\com.pemicro.debug.gdbjtag.pne_3.2.4.201710241511\win32\gdi\P&E\supportFiles_ARM\NXP\Sensors\nxp_qn9080c_1x32_128k.arp

Initializing.
Initialized.

;version 1.00, 04/27/2017, Copyright 2017 P&E Microcomputer Systems, www.pemicro.com

;device nxp,qn9080c, 1x32x128k

;begin_cs device=$00000000, length=$00080000, ram=$20000000

Loading programming algorithm ...

WARNING - Selected .ARP file has been modified. CRC16 = $9B6E
Done.
CMD>VC
Verifying object file CRC-16 to device ranges ...
block 00000000-00000113 ...
Calculated CRC-16 does not match block. (File = $C333, Device = $EF1F)

CMD>EM

Erasing.
Module has been erased.
CMD>PM

Programming.
Processing Object File Data ...


.
Programmed.
CMD>VC
Verifying object file CRC-16 to device ranges ...
block 00000000-00000113 ...
Calculated CRC-16 does not match block. (File = $C333, Device = $EF1F)
Error verifying flash of device
Error occured during Flash programming.
PE-ERROR: Error downloading to the device.
Disconnected from "127.0.0.1" via 127.0.0.1
Disconnected from "127.0.0.1" via 127.0.0.1
Target Disconnected.

Outcomes