how to use MemtoolCli to program xmc4500 without open the the Memtool GUI

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

cross mob
Ziad
Level 1
Level 1
5 sign-ins First reply posted First question asked

Hello,

 

i need to flash the xmc4500 using the DAP Interface via Memtool but without open the Memtool GUI. 

Any one has an Idee?

 

Thanks

0 Likes
1 Solution
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

1: Please refer to the attached file memtol_batch_mode.pdf.

2: create a bat file like below screenshot. Please note that: rename your hex file as fw.hex, and place it in C disk. If not, you should change the command.

LinglingG_46_0-1679368026991.png

3:Place the file into the same directory like the IMTMemtool.exe.

4: Run the command line just like below screenshot.

LinglingG_46_1-1679368098180.png

 

View solution in original post

0 Likes
3 Replies
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

1: Please refer to the attached file memtol_batch_mode.pdf.

2: create a bat file like below screenshot. Please note that: rename your hex file as fw.hex, and place it in C disk. If not, you should change the command.

LinglingG_46_0-1679368026991.png

3:Place the file into the same directory like the IMTMemtool.exe.

4: Run the command line just like below screenshot.

LinglingG_46_1-1679368098180.png

 

0 Likes
Ziad
Level 1
Level 1
5 sign-ins First reply posted First question asked

Thanks for the answer but i have another question please. Would this command works for every xmc? or do i need a config-file?

Best regards

Ziad

0 Likes
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

No, you don't need the config-file.

0 Likes