Skip to main content
ANauz.1
Senior
January 13, 2023
Solved

How to use external loader from Visual Studio Code

  • January 13, 2023
  • 2 replies
  • 2576 views

Hello,

I have a project that need external loader for QSPI Flash (STM32F412G-Disco board).

I'm using Visual Studio Code to write code and build the project. It work fine and i can load it with STM32CubeProgrammer.

For other project, without External Loader, I have configured Visual Studio code to load the binary. It use the extension cortex-debug and a launch.json file where you configure:

  • servertype; "openocd"
  • device; STM32F41x
  • configFiles: board/stm32f412g-disco.cfg
  • ...

It load fine the MCU, but not the external memory.

Does anyone knows if it is possible to load the external memory from Visual Studio Code and if yes how to do it ?

Thank you

Antoine

This topic has been closed for replies.
Best answer by MM..1

STM32CubeProgrammerCLI command line parameters for ext loaders...

2 replies

MM..1
MM..1Best answer
Chief III
January 13, 2023

STM32CubeProgrammerCLI command line parameters for ext loaders...

DRega.1
Associate III
January 4, 2024

I'm trying to use vscode and also need to be able to flash a qspi. Did you manage to do this?