AnsweredAssumed Answered

QN9080 - issue with CRP

Question asked by Max Asaulov on Feb 14, 2018
Latest reply on Feb 28, 2018 by Max Asaulov

Hi,

 

I'm trying to enable CRP2 for the device based on QN9080. According to the https://www.nxp.com/docs/en/nxp/user-guides/UM11023.pdf (page 73) CRP is controlled by 4 bytes at 0x20 offset in the vector table.  Here is the hex dump of firmware vector table that I'm flashing

> hd firmware.bin | head

00000000 f0 ff 01 04 f1 1b 00 00 59 1d 00 00 69 1d 00 00 |........Y...i...|
00000010 69 1d 00 00 69 1d 00 00 69 1d 00 00 00 00 00 00 |i...i...i.......|
00000020 fe 68 06 00 00 00 00 00 00 00 00 00 69 1d 00 00 |.h..........i...|
00000030 69 1d 00 00 69 1d 00 00 69 1d 00 00 69 1d 00 00 |i...i...i...i...|

There is 0x000668fe at 0x20 which is mentioned on page 84 as the default value for CRP2.

After flashing I've shorted the CHIP_MODE pin to the ground and connected the USB - new mass device appeared with the name "CRP DISABLD". I've also downloaded the firmware from the device using JLink. Here is the hex dump 

> hd downloaded.bin | head

00000000  f0 ff 01 04 f1 1b 00 00  59 1d 00 00 69 1d 00 00  |........Y...i...|
00000010  69 1d 00 00 69 1d 00 00  69 1d 00 00 22 51 fd fb  |i...i...i..."Q..|
00000020  ff a8 0a 00 00 00 00 00  00 00 00 00 69 1d 00 00  |............i...|
00000030  69 1d 00 00 69 1d 00 00  69 1d 00 00 69 1d 00 00  |i...i...i...i...|

You can see that value at 0x20 changed to 0x000aa8ff which is the default value for no CRP.

 

Any ideas whats wrong?

 

SDK: SDK_2.2_QN908xCDK_Beta
IDE: mcuxpressoide-10.0.2_411
System : Ubuntu 16.04

 

Regards,
Max.

Outcomes