How to structure flash memory in VisualGDB

Sysprogs forums Forums VisualGDB How to structure flash memory in VisualGDB

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7470
    jeremyvnc
    Participant

    I’m trying to create a sector of flash for emulating EEPROM but I cannot figure out how in VisualGDB to define sectors of flash for user data, program data, heap (memory), stack (memory),  etc.

    Can someone shed some light on this?

    I’m using a STM32F407VG (like on the F4 discovery board).

    Thanks for any help!

    #7473
    support
    Keymaster

    Hi,

    Normally you need to edit the linker script and use the “section” attribute to place code and data into a specific memory. You can read more in this topic. If it does not help, please give us an example of what you are trying to do so that we could give a better suggestion.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.