Skip to main content
parth kothiya
Associate III
March 12, 2022
Question

How to Read & write application code with comments STM32.

  • March 12, 2022
  • 4 replies
  • 926 views

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?

    This topic has been closed for replies.

    4 replies

    Tesla DeLorean
    Guru
    March 12, 2022

    >>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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
    parth kothiya
    Associate III
    March 12, 2022

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

    Tesla DeLorean
    Guru
    March 12, 2022

    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..