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

ModusToolbox™ General Forum Discussions

TakMune
Level 1
Level 1
First reply posted 10 questions asked 25 sign-ins

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
250 sign-ins 50 replies posted 25 replies posted

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
250 sign-ins 50 replies posted 25 replies posted

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