Flashing to external memory

Sysprogs forums Forums VisualGDB Flashing to external memory

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #30937
    max23222
    Participant

    Hello, I have a question concerning flashing to external memory at 0x90000000 (discovery board STM32F7508-DK).
    Maybe I missed something very basic, but despite searching a lot, I could not find a solution yet.
    After compiling, I can flash using the STM32 ST-Link Utility and the application works fine. But I didn’t manage to flash
    using VisualGDB (and OpenOCD), to external memory at 0x90000000. Exists somewhere a tutorial, that I can
    follow for this topic ? I would be pleased to provide more information, if necessary. With kind regards

    #30938
    support
    Keymaster

    Hi,

    Programming external memories with OpenOCD indeed requires building and using a special FLASH programming plugin. You can find more information in this tutorial.

    #30939
    max23222
    Participant

    Hello, thank you very much for the quick answer, and the link to the tutorial ! As I understood, as first (to have the menu point ‘additional memories’) I have to upgrade to VisualGDB Custom Edition (I started with Linux Edition) ? And then .. pity .. my base intention was, to be able to set brakepoints in the code that is executing in the QSPI memory. But as I understood from tutorial, this is not possible ? Regards

    #30944
    support
    Keymaster

    Hi,

    In our quick experiments, the breakpoints didn’t work in QSPI. This could be specific to a particular chip we used and could work differently on your one. You can try manually using the hbreak command in gdb to set a hardware breakpoint at a specific function in QSPI. If it doesn’t work, please consider checking it with ST – it might be completely unsupported, or might require some extra setup (e.g. disabling cache).

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