cancel
Showing results for 
Search instead for 
Did you mean: 

How to use external loader from Visual Studio Code

ANauz.1
Senior II

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

1 ACCEPTED SOLUTION

Accepted Solutions
MM..1
Chief III

STM32CubeProgrammerCLI command line parameters for ext loaders...

View solution in original post

2 REPLIES 2
MM..1
Chief III

STM32CubeProgrammerCLI command line parameters for ext loaders...

DRega.1
Associate III

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