[ABANDONED] STM32WB15CC Stack upgrade

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [ABANDONED] STM32WB15CC Stack upgrade

    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:

    Source Code

    1. C:\Program Files\SEGGER\JLink>JLink.exe -autoconnect 1 -device "STM32WB15CC - FUS" -if swd -speed 4000
    2. SEGGER J-Link Commander V7.66a (Compiled May 19 2022 15:19:28)
    3. DLL version V7.66a, compiled May 19 2022 15:18:08
    4. Connecting to J-Link via USB...O.K.
    5. Firmware: J-Link V9 compiled May 7 2021 16:26:12
    6. Hardware version: V9.20
    7. S/N: 269200409
    8. License(s): FlashBP, GDB
    9. OEM: SEGGER-EDU
    10. VTref=3.329V
    11. Device "STM32WB15CC - FUS" selected.
    12. Connecting to target via SWD
    13. Found SW-DP with ID 0x6BA02477
    14. DPIDR: 0x6BA02477
    15. CoreSight SoC-400 or earlier
    16. Scanning AP map to find all available APs
    17. AP[2]: Stopped AP scan as end of AP map has been reached
    18. AP[0]: AHB-AP (IDR: 0x24770011)
    19. AP[1]: AHB-AP (IDR: 0x84770001)
    20. Iterating through AP map to find AHB-AP to use
    21. AP[0]: Core found
    22. AP[0]: AHB-AP ROM base: 0xE00FF000
    23. CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
    24. Found Cortex-M4 r0p1, Little endian.
    25. FPUnit: 6 code (BP) slots and 2 literal slots
    26. CoreSight components:
    27. ROMTbl[0] @ E00FF000
    28. [0][0]: E000E000 CID B105E00D PID 000BB00C SCS-M7
    29. [0][1]: E0001000 CID B105E00D PID 003BB002 DWT
    30. [0][2]: E0002000 CID B105E00D PID 002BB003 FPB
    31. [0][3]: E0000000 CID B105E00D PID 003BB001 ITM
    32. [0][4]: E0040000 CID B105900D PID 000BB9A1 TPIU
    33. [0][6]: E0043000 CID B105900D PID 005BB906 CTI
    34. SetupTarget() start
    35. CORE ID AP[0]: 0x410FC241
    36. FUS: State idle.
    37. Current safe boot version: 0x01020200
    38. Current FUS version: 0x01020200
    39. Current wireless stack version: 0x00000000
    40. SetupTarget() end
    41. Cortex-M4 identified.
    42. J-Link>Mem32 0x58004020, 1
    43. 58004020 = 33FFF1AA
    44. J-Link>r
    45. Reset delay: 0 ms
    46. Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.
    47. BeforeResetTarget() start
    48. BeforeResetTarget() end
    49. ResetTarget() start
    50. J-Link: Target is halted.
    51. ResetTarget() end
    52. AfterResetTarget() start
    53. AfterResetTarget() end
    54. 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
    55. 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]...
    56. HandleBeforeFlashProg() start
    57. FUS: State idle.
    58. FUS: Deleting wireless stack...
    59. FUS: Operation started. This process might take a few seconds.
    60. FUS: Service ongoing.
    61. FUS: State idle.
    62. Wireless stack successfully deleted.
    63. HandleBeforeFlashProg() end
    64. J-Link: Flash download: Bank 0 @ 0x08000000: Skipped. Contents already match
    65. HandleAfterFlashProg() start
    66. Wireless stack found. WS delete was not successful. Secure sector found at :0x00000000
    67. HandleAfterFlashProg() end
    68. O.K.
    69. J-Link>con
    70. Device "STM32WB15CC - FUS" selected.
    71. Connecting to target via SWD
    72. Found SW-DP with ID 0x6BA02477
    73. DPIDR: 0x6BA02477
    74. CoreSight SoC-400 or earlier
    75. AP map detection skipped. Manually configured AP map found.
    76. AP[0]: AHB-AP (IDR: Not set)
    77. AP[0]: Core found
    78. AP[0]: AHB-AP ROM base: 0xE00FF000
    79. CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
    80. Found Cortex-M4 r0p1, Little endian.
    81. FPUnit: 6 code (BP) slots and 2 literal slots
    82. CoreSight components:
    83. ROMTbl[0] @ E00FF000
    84. [0][0]: E000E000 CID B105E00D PID 000BB00C SCS-M7
    85. [0][1]: E0001000 CID B105E00D PID 003BB002 DWT
    86. [0][2]: E0002000 CID B105E00D PID 002BB003 FPB
    87. [0][3]: E0000000 CID B105E00D PID 003BB001 ITM
    88. [0][4]: E0040000 CID B105900D PID 000BB9A1 TPIU
    89. [0][6]: E0043000 CID B105900D PID 005BB906 CTI
    90. SetupTarget() start
    91. CORE ID AP[0]: 0x410FC241
    92. FUS: State idle.
    93. Current safe boot version: 0x01020200
    94. Current FUS version: 0x01020200
    95. Current wireless stack version: 0x00000000
    96. SetupTarget() end
    97. Cortex-M4 identified.
    98. J-Link>r
    99. Reset delay: 0 ms
    100. Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.
    101. BeforeResetTarget() start
    102. BeforeResetTarget() end
    103. ResetTarget() start
    104. J-Link: Target is halted.
    105. ResetTarget() end
    106. AfterResetTarget() start
    107. AfterResetTarget() end
    108. 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
    109. 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]...
    110. HandleBeforeFlashProg() start
    111. FUS: State idle.
    112. FUS: Deleting wireless stack...
    113. FUS: Operation started. This process might take a few seconds.
    114. FUS: Service ongoing.
    115. FUS: State idle.
    116. Wireless stack successfully deleted.
    117. HandleBeforeFlashProg() end
    118. J-Link: Flash download: Bank 0 @ 0x08000000: Skipped. Contents already match
    119. HandleAfterFlashProg() start
    120. Wireless stack found. WS delete was not successful. Secure sector found at :0x00000000
    121. HandleAfterFlashProg() end
    122. O.K.
    123. J-Link>
    Display All
  • Hi,
    Thank you for your inquiry.

    1) Does this issue still persist with the latest version of the J-Link Software?
    segger.com/downloads/jlink#J-L…twareAndDocumentationPack
    2) Could you please send us a J-Link log file? How to enable:
    wiki.segger.com/J-Link_DLL#Enable_J-Link_Log_File

    Unfortunately, there are no evaluation boards available with a STM32WB15 device,
    so it is hard for us to look into this.

    BR
    Fabian
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Hi,
    The problem persists even with latest software.

    It's important to inform you that a evaluation (nucleo) board with STM32WB15 device exists: st.com/en/evaluation-tools/nucleo-wb15cc.html
    I'm attaching the J-link commander output and its log.
    Note: after trying to update stack, it erases current stack and it remains empty after the error.

    Thank you,
    Tiller
    Files
    • Commander Output.txt

      (3.25 kB, downloaded 91 times, last: )
    • log.txt

      (401.34 kB, downloaded 92 times, last: )
  • Hi TIller,
    Thank you for the information.

    We will order the board and have a look at this.
    I will keep you posted.

    BR
    Fabian
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.