Skip to content

Commit fe55cb7

Browse files
committed
Added clarification about firmware execution from external flash
1 parent b0ec4cc commit fe55cb7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

ports/stm/supervisor/port.c

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,14 @@ __attribute__((used, naked)) void Reset_Handler(void) {
138138
__DMB(); /* ARM says to use a DMB instruction before relocating VTOR */
139139
SCB->VTOR = 0x90000000u; /* We relocate vector table to the QSPI sector 1 */
140140
__DSB(); /* ARM says to use a DSB instruction just after relocating VTOR */
141-
/* SystemInit call is not necessary, initializations are done in the H750 special bootloader */
141+
/*
142+
Since the STM32H750 microcontroller has only 128kB internal flash,
143+
CircuitPython has to run from an external flash (QSPI or FMC).
144+
This means a custom bootloader, like tinyUF2, is needed on the internal
145+
flash to initialize the clocks, PLLs and (QSPI) controller, and to
146+
start execution of the firmware from the external flash.
147+
It also makes the SystemInit() call not necessary for this chip.
148+
*/
142149
#else
143150
SystemInit();
144151
#endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy