2023-02-27 12:19 PM
2023-03-03 01:01 AM
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.
2023-02-28 02:10 AM
Hello,
You can program by CLI with PLS-UDE through MemtoolCli command or OpenOCD.
2023-03-02 04:30 AM
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.
2023-03-03 01:01 AM
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.