STM32WL error flashing with enabled LoRa middleware using OpenOCD
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- c
- Lĩnh vực
- devtools, embedded-iot
Hướng nghiên cứu
No source files or tests are named. Start by reproducing the minimal GPIO project and then the project with SubGHZ and LoRaWAN enabled, focusing on the stm32wlx OpenOCD flash path and the failed write at 0x20009ff8. Done means the LoRa-enabled STM32WLE5CCU6 project compiles and flashes successfully through OpenOCD.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hello everyone,
I have an Olimex BB-SMT32WL that is based on a STM32WLE5CCU6. I use STM32CubeIDE and opened a new project for exactly the STM32WLE5CCU6.
Firmware Package Name and Version STM32Cube FW_WL V1.3.0
If I just configure like a GPIO Output to High it compiles and I can succesfully flash and debug it using STM32CubeIDE and openocd gdb running via terminal.
But as soon as I open the .ioc and simply enable SubGHZ and LoRaWAN things stop working, while it still compiles it won't flash anymore, throwing me this error:
(I also tried Arduino STM32duino but I'm getting the same error..)
Open On-Chip Debugger 0.12.0-00024-gc3ff39f8b (2023-06-26-16:51) [https://github.com/STMicroelectronics/OpenOCD]
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
swd
adapter speed: 1000 kHz
stm32wlx_cti_prepare_restart_one
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: FW Version = 1.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : clock speed 4000 kHz
Info : SWD DPIDR 0x6ba02477
Info : [stm32wlx.cm4] Cortex-M4 r0p1 processor detected
Info : [stm32wlx.cm4] target has 6 breakpoints, 4 watchpoints
Info : starting gdb server for stm32wlx.cm4 on 3333
Info : Listening on port 3333 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
Info : device idcode = 0x10016497 (STM32WLE/WL5x - Rev 'unknown' : 0x1001)
Info : RDP level 0 (0xAA)
Info : flash size = 256 KiB
Info : flash mode : single-bank
undefined debug reason 8 - target needs reset
[stm32wlx.cm4] halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x1fff2b6c msp: 0x20001508
Info : Padding image section 0 at 0x0800f894 with 4 bytes (bank write end alignment)
Info : SWD DPIDR 0x6ba02477
Error: Failed to write memory at 0x20009ff8
Error: block write failed
Error: error writing to flash at address 0x08000000 at offset 0x00000000
Warn : keep_alive() was not invoked in the 1000 ms timelimit. GDB alive packet not sent! (6795 ms). Workaround: increase "set remotetimeout" in GDB
[stm32wlx.cm4] halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x1fff2b6c msp: 0x20001508
shutdown command invoked
Info : dropped 'gdb' connection
Thanks in advance
- Ngôn ngữ chính
- C
- Star
- 202
- Fork
- 57
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của STMicroelectronics/OpenOCD
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 67/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
-
bug
STMicroelectronics/OpenOCD#44 · 1 bình luận · 1 người được giao ·
Tất cả issue của STMicroelectronics/OpenOCD
Issue tương tự
-
task
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
vsanthanam/JBird#429 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
bug documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
es-ude/OnDeviceTraining#459 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
bilelmoussaoui/gobject-linter#199 · 1 bình luận ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
bradcypert/plum#53 ·