cturvey / stm32extldr

STM32 External Loader Project
Other
57 stars 13 forks source link

stm32h7xx nand flash #3

Closed muaxiaohei closed 1 year ago

muaxiaohei commented 1 year ago

cturvey: hello, I am a new beginner about stm32 external flash algorithm, I want to make a stm32h7xx nand flash stldr files for my stm32h750 board. But I cannot find the tutorials to make a stldr files, can you give me some helps?😭😭😭

cturvey commented 1 year ago

Unfortunately I'm not in the teaching business, for STM32 or Embedded Programming. ST has some resources and MOOC that might be of help. The loaders are akin to Windows DLLs, they describe basic functionality and entry points for routines to Erase, Write, Read, etc. This loads and runs from within the ARM Core on your board, and has access to all the features and functions unique to your board and the components chosen. STM32 Cube Programmer, or ST-LINK Utilities before that, loads and executes the code, moving the data to/from RAM for your code to interact with. https://github.com/STMicroelectronics/stm32-external-loader/tree/main https://www.st.com/content/st_com/en/support/learning/stm32-education/stm32-moocs/external_QSPI_loader.html My recommendation is to get your BSP code running to fully support your memory device from within your application, something you can test and debug. Once you have that working you can port / merge that code into a loader, perhaps using a UART for diagnostic output as you're not going to be able to debug and single-step in the usual methods.

muaxiaohei commented 1 year ago

🐱Thanks!!!