Hello everyone,
following what's described at wiki.segger.com/ST_STM32WB, I'm trying to update the STM32WB15CC's stack using J-Link.
But it seems that it doesn't work in this mcu. I'm using nucleo board and I can do everything, except stack upgrades.
Here follows J-Link Commander output:
Display All
following what's described at wiki.segger.com/ST_STM32WB, I'm trying to update the STM32WB15CC's stack using J-Link.
But it seems that it doesn't work in this mcu. I'm using nucleo board and I can do everything, except stack upgrades.
Here follows J-Link Commander output:
Source Code
- C:\Program Files\SEGGER\JLink>JLink.exe -autoconnect 1 -device "STM32WB15CC - FUS" -if swd -speed 4000
- SEGGER J-Link Commander V7.66a (Compiled May 19 2022 15:19:28)
- DLL version V7.66a, compiled May 19 2022 15:18:08
- Connecting to J-Link via USB...O.K.
- Firmware: J-Link V9 compiled May 7 2021 16:26:12
- Hardware version: V9.20
- S/N: 269200409
- License(s): FlashBP, GDB
- OEM: SEGGER-EDU
- VTref=3.329V
- Device "STM32WB15CC - FUS" selected.
- Connecting to target via SWD
- Found SW-DP with ID 0x6BA02477
- DPIDR: 0x6BA02477
- CoreSight SoC-400 or earlier
- Scanning AP map to find all available APs
- AP[2]: Stopped AP scan as end of AP map has been reached
- AP[0]: AHB-AP (IDR: 0x24770011)
- AP[1]: AHB-AP (IDR: 0x84770001)
- 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][6]: E0043000 CID B105900D PID 005BB906 CTI
- SetupTarget() start
- CORE ID AP[0]: 0x410FC241
- FUS: State idle.
- Current safe boot version: 0x01020200
- Current FUS version: 0x01020200
- Current wireless stack version: 0x00000000
- SetupTarget() end
- Cortex-M4 identified.
- J-Link>Mem32 0x58004020, 1
- 58004020 = 33FFF1AA
- J-Link>r
- Reset delay: 0 ms
- Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.
- BeforeResetTarget() start
- BeforeResetTarget() end
- ResetTarget() start
- J-Link: Target is halted.
- ResetTarget() end
- AfterResetTarget() start
- AfterResetTarget() end
- J-Link>loadfile "C:\Users\tiller\STM32Cube\Repository\STM32Cube_FW_WB_V1.13.3\Projects\STM32WB_Copro_Wireless_Binaries\STM32WB1x\stm32wb1x_BLE_Stack_full_extended_fw.bin", 0x08019800
- Downloading file [C:\Users\tiller\STM32Cube\Repository\STM32Cube_FW_WB_V1.13.3\Projects\STM32WB_Copro_Wireless_Binaries\STM32WB1x\stm32wb1x_BLE_Stack_full_extended_fw.bin]...
- HandleBeforeFlashProg() start
- FUS: State idle.
- FUS: Deleting wireless stack...
- FUS: Operation started. This process might take a few seconds.
- FUS: Service ongoing.
- FUS: State idle.
- Wireless stack successfully deleted.
- HandleBeforeFlashProg() end
- J-Link: Flash download: Bank 0 @ 0x08000000: Skipped. Contents already match
- HandleAfterFlashProg() start
- Wireless stack found. WS delete was not successful. Secure sector found at :0x00000000
- HandleAfterFlashProg() end
- O.K.
- J-Link>con
- Device "STM32WB15CC - FUS" selected.
- Connecting to target via SWD
- Found SW-DP with ID 0x6BA02477
- DPIDR: 0x6BA02477
- CoreSight SoC-400 or earlier
- AP map detection skipped. Manually configured AP map found.
- AP[0]: AHB-AP (IDR: Not set)
- 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][6]: E0043000 CID B105900D PID 005BB906 CTI
- SetupTarget() start
- CORE ID AP[0]: 0x410FC241
- FUS: State idle.
- Current safe boot version: 0x01020200
- Current FUS version: 0x01020200
- Current wireless stack version: 0x00000000
- SetupTarget() end
- Cortex-M4 identified.
- J-Link>r
- Reset delay: 0 ms
- Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.
- BeforeResetTarget() start
- BeforeResetTarget() end
- ResetTarget() start
- J-Link: Target is halted.
- ResetTarget() end
- AfterResetTarget() start
- AfterResetTarget() end
- J-Link>loadfile "C:\Users\tiller\STM32Cube\Repository\STM32Cube_FW_WB_V1.13.3\Projects\STM32WB_Copro_Wireless_Binaries\STM32WB1x\stm32wb1x_BLE_Stack_full_extended_fw.bin", 0x08019800
- Downloading file [C:\Users\tiller\STM32Cube\Repository\STM32Cube_FW_WB_V1.13.3\Projects\STM32WB_Copro_Wireless_Binaries\STM32WB1x\stm32wb1x_BLE_Stack_full_extended_fw.bin]...
- HandleBeforeFlashProg() start
- FUS: State idle.
- FUS: Deleting wireless stack...
- FUS: Operation started. This process might take a few seconds.
- FUS: Service ongoing.
- FUS: State idle.
- Wireless stack successfully deleted.
- HandleBeforeFlashProg() end
- J-Link: Flash download: Bank 0 @ 0x08000000: Skipped. Contents already match
- HandleAfterFlashProg() start
- Wireless stack found. WS delete was not successful. Secure sector found at :0x00000000
- HandleAfterFlashProg() end
- O.K.
- J-Link>