Skip to content

Conversation

Igor-Misic
Copy link
Member

@Igor-Misic Igor-Misic commented Jul 9, 2025

This is the First Stage Bootloader (FSBL) for the NUCLEO-N657X0-Q.

The firmware example is IMLedBlink : IMProject/IMLedBlink#8

image

There are quite a few limitations with the STM32N657, which also affect the older architecture of IMBootloader.

RAM after reset

Link to reference

With the STM32N657, it is not possible to preserve data in RAM after a reset. This impacts how IMBootloader handles jumping between the firmware and bootloader, as well as the general firmware loading process. Previously, part of the RAM was used to store the last state before a reset, allowing the system to decide what to do on the next boot. In this case, I had to implement a direct jump to the application immediately after flashing. As a result, there is no communication between the firmware and bootloader via RAM. A possible solution for the future is to use external flash memory.

How to enter bootloader
The only way to enter the bootloader is by pressing the USER button during power-up.

@Igor-Misic Igor-Misic force-pushed the add_nucleo-stm32n657x-q branch from ce8890a to 88c33ee Compare July 10, 2025 22:13
@Igor-Misic Igor-Misic merged commit 44dc83f into master Jul 11, 2025
18 checks passed
@Igor-Misic Igor-Misic deleted the add_nucleo-stm32n657x-q branch July 11, 2025 19:18
@Igor-Misic Igor-Misic mentioned this pull request Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant