Hello!
We're getting this error on QN908x / J-Link / MCUExpress v11.7.0 setup when trying to run qn908xcdk_demo_apps_hello_world.
...
Downloading 16048 bytes @ address 0x00000000 - Verified OK
Downloading 920 bytes @ address 0x00003EB0 - Verified OK
ERROR: Timeout while erasing sectors, RAMCode did not respond in time (PC = 0x200004D6, XPSR = 0x01000000, SP = 0x20000660)!
Failed to erase sectors.
It seems from flash driver downloaded to RAM which is from SDK_2.x_QN908XC 2.2.8.
Any advice on this error? Below is the full log. Also noted "Failed to power up DAP" once.
....................................................................
Connecting to J-Link...
J-Link is connected.
Device "QN9080C" selected.
Firmware: J-Link V11 compiled Dec 14 2022 09:09:01
Hardware: V11.00
S/N: 261006318
OEM: SEGGER-EDU
Feature(s): FlashBP, GDB
Checking target voltage...
Target voltage: 1.80 V
Listening on TCP/IP port 2342
Connecting to target...
$$UserActionStart$$: Terms of use
$$UserActionEnd$$: Terms of use
Found SW-DP with ID 0x2BA01477
Failed to power up DAP
Found SW-DP with ID 0x2BA01477
DPIDR: 0x2BA01477
CoreSight SoC-400 or earlier
Scanning AP map to find all available APs
AP[1]: Stopped AP scan as end of AP map has been reached
AP[0]: AHB-AP (IDR: 0x24770011)
Iterating through AP map to find AHB-AP to use
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xE00FF000
CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
Found Cortex-M4 r0p1, Little endian.
FPUnit: 6 code (BP) slots and 2 literal slots
CoreSight components:
ROMTbl[0] @ E00FF000
[0][0]: E000E000 CID B105E00D PID 000BB00C SCS-M7
[0][1]: E0001000 CID B105E00D PID 003BB002 DWT
[0][2]: E0002000 CID B105E00D PID 002BB003 FPB
[0][3]: E0000000 CID B105E00D PID 003BB001 ITM
[0][4]: E0040000 CID B105900D PID 000BB9A1 TPIU
[0][5]: E0041000 CID B105900D PID 000BB925 ETM
Connected to target
Waiting for GDB connection...Connected to 0000:0000:0000:0000:0000:0000:0000:0001
Reading common registers: R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, SP, LR, PC, XPSR
Read 4 bytes @ address 0x0302364E (Data = 0xE551E7FE)
Read 2 bytes @ address 0x0302364E (Data = 0xE7FE)
Connected to 0000:0000:0000:0000:0000:0000:0000:0001
Reading common registers: R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, SP, LR, PC, XPSR
Read 4 bytes @ address 0x0302364E (Data = 0xE551E7FE)
Read 2 bytes @ address 0x0302364E (Data = 0xE7FE)
Received monitor command: reset
Resetting target
Downloading 16048 bytes @ address 0x00000000 - Verified OK
Downloading 920 bytes @ address 0x00003EB0 - Verified OK
ERROR: Timeout while erasing sectors, RAMCode did not respond in time (PC = 0x200004D6, XPSR = 0x01000000, SP = 0x20000660)!
Failed to erase sectors.