cancel
Showing results for 
Search instead for 
Did you mean: 

How to Read & write application code with comments STM32.

parth kothiya
Senior

I want to read and write application code with comments in STM32 MCU flash or external memory.

When I read flash from STM32 MCU I want comments also present there​ in code.

How can I do this? It is possible with MCUs ​inbuilt memory or need external memory?

4 REPLIES 4

>>It is possible with MCUs ​inbuilt memory or need external memory?

Wouldn't that really depend on how much space your "code + comments" consume.

Is this some interpreted source code?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

we can assume (code + comments ) > MCU flash size then how it is possible?

ST has parts with 2MB of internal flash.

Most could take external SPI, and QuadSPI NOR Flash, so 16MB​ up 128MB readily available.

For GB look to SD cards or eMMC chips using NAND Flash.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

What is the compiler ​settings for this so it's donot remove comments?

Is there any example project of external QSPI memory interface with STM32​?