cancel
Showing results for 
Search instead for 
Did you mean: 

Hi, How can SPC584Bx be program without stk5, spc5 studio etc. (For example Microchip family has CLI (command line interface))

ynsozdmr
Associate II
 
1 ACCEPTED SOLUTION

Accepted Solutions
HNGUY.2
Associate II

First you have to generate the software through SPC5Studio in order to get the .cfg and out.elf.

Then you can program using OpenOCD:

path\to\openocd\bin\openocd.exe -s path\to\openocd\scripts -f path\to\board\spc584b_dis.cfg -c "program path\to\workspace\project\build\out.elf reset exit"

For windows computer please avoid path with space.

View solution in original post

3 REPLIES 3
HNGUY.2
Associate II

Hello,

You can program by CLI with PLS-UDE through MemtoolCli command or OpenOCD.

ynsozdmr
Associate II

Firstly, thanks for your answer but I have not found any .cfg file for OpenOCD. Is there any resource about SPC584Bx processor on internet or your platform.

HNGUY.2
Associate II

First you have to generate the software through SPC5Studio in order to get the .cfg and out.elf.

Then you can program using OpenOCD:

path\to\openocd\bin\openocd.exe -s path\to\openocd\scripts -f path\to\board\spc584b_dis.cfg -c "program path\to\workspace\project\build\out.elf reset exit"

For windows computer please avoid path with space.