RT-Thread / RT-Thread/rt-thread
The board is stuck after powering down and then powering on, and the board freezes in the spi flash initialization after pressing reset.
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 12.2k
- Forks
- 5.4k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 40
Description
The board is stuck after powering down and then powering on, and the board freezes in the spi flash initialization after pressing reset. Re-burning other normal Apps after resetting and then burning the App function can work normally.
板子掉电再上电后卡死,按复位后卡住在spi flash初始化。重新烧录其他正常App复位后再烧录该App功能都可正常运行。
RTThread版本4.0.5,MCU使用F411CC,onchip flash 256KB,RAM 128KB。
\ | /
- RT - Thread Operating System
/ | \ 4.0.5 build 2022
2006 - 2021 Copyright by rt-thread team
do components initialization.initialize rti_board_end:0 done
initialize ulog_console_backend_init:0 done
initialize rt_hw_rtc_init:0 done
initialize stm32_pwm_init:0 done
initialize rt_i2c_core_init:0 done
initialize rt_hw_spi_flash_init
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the power-down/power-on and reset sequences on the F411CC with RT-Thread 4.0.5, watching the rt_hw_spi_flash_init entry point shown in the boot log. Compare behavior after re-burning the affected App and other normal Apps; the issue is resolved when the board no longer freezes during SPI flash initialization after reset or power cycling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100