cancel
Showing results for 
Search instead for 
Did you mean: 

How to load and execute my .elf file from command line

Achar1
Associate II

I am using following command to execute the existing .elf file

JLinkGDBServerCL.exe -port 2331 -s -device STM32L462RE -endian little -speed 4000 -if swd -vd

where I need to change to load my newly generated elf (from command line) in the above command.

Pl send me the command line instructions to following

  1. How to open STM32CubeIDE with my workspace from command line?
  2. how to load and execute my newly generated .efl file from command line?
  3. How to read the content of buffer from command line commands?
  4. How to write read data in to one file?

Pl give your inputs on above queries.

thanks

3 REPLIES 3
Uwe Bonnes
Principal III

Ask specific question showing that you researched around the problem yourself.

Markus GIRDLAND
ST Employee

Hello there!

You can open CubeIDE with a specific workspace using the -data command, for example:

C:\ST\STM32CubeIDE_1.7.0\STM32CubeIDE>stm32cubeide.exe -data C:\Users\USER_NAME\STM32CubeIDE\WORKSPACE

The other information you will probably need to find in the J-Link User Manual available here. Also for question four that will depend on the operating system and what you want to write the data to.

Achar1
Associate II

Any inputs on below queries

  1. how to load and execute my newly generated .efl file from command line?
  2. How to read the content of buffer from command line commands?
  3. How to write read data in to one file?