Modus Toolbox app programmer

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
TakMune
Level 4
Level 4
Distributor - Macnica (Japan)
First like given 100 sign-ins First solution authored

Is there a way to write an application hex(Modus Toolbox app) file to target board by command line?

0 Likes
1 Solution
tayo
Level 5
Level 5
Distributor - Macnica (Japan)
100 replies posted 25 solutions authored 250 sign-ins

Hello

  1.        Execute the bat file below.

<path_to_the_ModusToolbox>/ModusToolbox/tools_2.4/modus-shell/Cygwin.bat

  1.        Execute the command below.

<path_to_the_ModusToolbox>/ModusToolbox/tools_2.4/openocd/bin/openocd -s <path_to_the_ModusToolbox>/ModusToolbox/tools_2.4/openocd/scripts -c "source [find interface/kitprog3.cfg]; ; source [find target/psoc6_2m.cfg]; psoc6 allow_efuse_program off; psoc6 sflash_restrictions 1;<application path/application name>.hex verify reset exit;"

Thanks

View solution in original post

0 Likes
1 Reply
tayo
Level 5
Level 5
Distributor - Macnica (Japan)
100 replies posted 25 solutions authored 250 sign-ins

Hello

  1.        Execute the bat file below.

<path_to_the_ModusToolbox>/ModusToolbox/tools_2.4/modus-shell/Cygwin.bat

  1.        Execute the command below.

<path_to_the_ModusToolbox>/ModusToolbox/tools_2.4/openocd/bin/openocd -s <path_to_the_ModusToolbox>/ModusToolbox/tools_2.4/openocd/scripts -c "source [find interface/kitprog3.cfg]; ; source [find target/psoc6_2m.cfg]; psoc6 allow_efuse_program off; psoc6 sflash_restrictions 1;<application path/application name>.hex verify reset exit;"

Thanks

0 Likes