Hey Everyone!
After several unsuccessful tries to update the wireless stack of a stm32wb55ceu6 according to this howto: SEGGER Wiki/STM32WB55, I searched help and found this forum page: [ABANDONED] Wireless stack update not working for STM32WB55.
I am experiencing similar problems like the user "robson".
Unfortunately the original thread has been abandoned, so I opened a new one.
Here is my jlink.exe output...
Connecting to the programmer:
Display Spoiler
Trying to program the BLE-stack:
Display Spoiler
Could you please point me in the right direction. Thank you very much!
Kind regards, Norbert
After several unsuccessful tries to update the wireless stack of a stm32wb55ceu6 according to this howto: SEGGER Wiki/STM32WB55, I searched help and found this forum page: [ABANDONED] Wireless stack update not working for STM32WB55.
I am experiencing similar problems like the user "robson".
Unfortunately the original thread has been abandoned, so I opened a new one.
Here is my jlink.exe output...
Connecting to the programmer:
PS C:\Program Files (x86)\SEGGER\JLink> .\JLink.exe -autoconnect 1 -device "STM32WB55xx - FUS" -if swd -speed 4000
SEGGER J-Link Commander V6.86e (Compiled Oct 16 2020 17:24:10)
DLL version V6.86e, compiled Oct 16 2020 17:22:26
Connecting to J-Link via USB...O.K.
Firmware: J-Link Ultra V4 compiled Mar 19 2020 11:11:37
Hardware version: V4.00
S/N: 504400131
License(s): RDI, FlashBP, FlashDL, JFlash, GDB
VTref=3.329V
Device "STM32WB55XX - FUS" selected.
Connecting to target via SWD
Found SW-DP with ID 0x6BA02477
DPIDR: 0x6BA02477
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
ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7
ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT
ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB
ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM
ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU
ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM
ROMTbl[0][6]: E0043000, CID: B105900D, PID: 005BB906 CTI
SetupTarget() start
WARNING: Secure Firmware detected @ 0x08057000
Connecting to target AP[0]/Cortex-M4
CORE ID AP[0]:0x410FC241
CORE ID AP[0]/Cortex-M4 halted!
SetupTarget() end
Cortex-M4 identified.
J-Link>
SEGGER J-Link Commander V6.86e (Compiled Oct 16 2020 17:24:10)
DLL version V6.86e, compiled Oct 16 2020 17:22:26
Connecting to J-Link via USB...O.K.
Firmware: J-Link Ultra V4 compiled Mar 19 2020 11:11:37
Hardware version: V4.00
S/N: 504400131
License(s): RDI, FlashBP, FlashDL, JFlash, GDB
VTref=3.329V
Device "STM32WB55XX - FUS" selected.
Connecting to target via SWD
Found SW-DP with ID 0x6BA02477
DPIDR: 0x6BA02477
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
ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7
ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT
ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB
ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM
ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU
ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM
ROMTbl[0][6]: E0043000, CID: B105900D, PID: 005BB906 CTI
SetupTarget() start
WARNING: Secure Firmware detected @ 0x08057000
Connecting to target AP[0]/Cortex-M4
CORE ID AP[0]:0x410FC241
CORE ID AP[0]/Cortex-M4 halted!
SetupTarget() end
Cortex-M4 identified.
J-Link>
Trying to program the BLE-stack:
J-Link>loadbin .\Firmware\STM32WB_Copro_Wireless_Binaries_V1.5.0\STM32WB5x\stm32wb5x_BLE_Stack_full_fw.bin, 0x08057000
Downloading file [.\Firmware\STM32WB_Copro_Wireless_Binaries_V1.5.0\STM32WB5x\stm32wb5x_BLE_Stack_full_fw.bin]...
HandleBeforeFlashProg() start
RSS: not active. RSS replied: 0x00000000
HandleBeforeFlashProg() end
CPU could not be halted
HandleAfterFlashProg() start
RSS: Wireless stack found. WS delete was not successful. Secure sector found at :0x08057000
HandleAfterFlashProg() end
****** Error: Timeout while erasing sectors, RAMCode did not respond in time. (PC = 0x00000000, CPSR = 0x00000000, LR = 0x01000000)!
Failed to erase sectors.
Unspecified error -1
J-Link>
Downloading file [.\Firmware\STM32WB_Copro_Wireless_Binaries_V1.5.0\STM32WB5x\stm32wb5x_BLE_Stack_full_fw.bin]...
HandleBeforeFlashProg() start
RSS: not active. RSS replied: 0x00000000
HandleBeforeFlashProg() end
CPU could not be halted
HandleAfterFlashProg() start
RSS: Wireless stack found. WS delete was not successful. Secure sector found at :0x08057000
HandleAfterFlashProg() end
****** Error: Timeout while erasing sectors, RAMCode did not respond in time. (PC = 0x00000000, CPSR = 0x00000000, LR = 0x01000000)!
Failed to erase sectors.
Unspecified error -1
J-Link>
Could you please point me in the right direction. Thank you very much!
Kind regards, Norbert