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

XMC™ Forum Discussions

Not applicable
Hi everyone,

I am interested in using the new Infineon "XMC Flasher" App to allow the end user to upgrade firmware. Most end users are non English speaking.

Does the App support command line arguments / batch files ?

Can the user interface run in languages other than English ?

Thank you very much
Aaron
0 Likes
10 Replies
DRubeša
Employee
Employee
First solution authored First like received
Hi Aaron,

so the XMC Flasher APP supports command line arguments/batch files but the user interface doesn´t support languages other then English.

Best regards,
Deni
0 Likes
Not applicable
Thanks Deni, is there a help document for the command line arguments ?
0 Likes
jferreira
Employee
Employee
First like received 750 replies posted 500 replies posted
Hi,

The current command line options are (from XMCFlasher_Installation_Instructions.pdf document):

3.2 Command prompt

3.2.1 Show all options
XMCFlasher.bat -help

3.2.2 List all device names
XMCFlasher.bat -listdevices

3.2.3 Program file
XMCFlasher.bat –p myprogram.hex –device XMC4500-1024

3.2.4 Erase flash memory
XMCFlasher.bat –erase –device XMC4500-1024


Regards,
Jesus
0 Likes
Not applicable
Thank you Jesus !
0 Likes
Not applicable
Hi Deni & Jesus,

Do you know if there are any plans for a DLL so I can flash a device from a LabVIEW, C++ or C# application ?

Thank you
Aaron
0 Likes
User11773
Level 4
Level 4
First like received First solution authored
Is it possible to set the BMI via command line?
0 Likes
jferreira
Employee
Employee
First like received 750 replies posted 500 replies posted
Hi,

Yes, it is supported.
3407.attach

Regards,
Jesus
0 Likes
User16769
Level 1
Level 1
Jesus,

Does the XMCFlasher allow multiple J-Link devices to used on the same machine at the same time?

E.g. (on 2 different chips)
I could call XMCFlasher.bat –p myprogram.hex –device XMC4500-1024 on the first chip
, and I could call XMCFlasher.bat –p myprogram2.hex –device XMC4500-1024 on the second chip.

Regards,
Mark

@jferreira, @DRubeša
0 Likes
jferreira
Employee
Employee
First like received 750 replies posted 500 replies posted
Hi,

I would use JLink from Segger, see https://wiki.segger.com/J-Link_Commander#Batch_processing (Connecting to a specific J-Link)
You can flash a device using JLink with a simple script, i.e.
device XMC4800-2048
si SWD
speed auto
erase
loadbin test.bin, 0x0c000000
r
g
q


Then run jlink.exe with the -commanderscript argument as explained in link above.

Regards,
Jesus
0 Likes
User16769
Level 1
Level 1
More of a reply for future personal looking for the answer I was asking about using multiple FLASH programmers to program multiple devices. This is what I found.

XMCFlasher - 1 programming device.
Memtool - 1 programming device.
J-Link - Up to 4 devices numerated by computer 0 to 3. If wanting a consistent numeration for something like production this wouldn't be a good solution.
J-Flasher - x number of devices over USB or IP. Uses device serial number on USB or IP address. https://www.segger.com/downloads/jlink/UM08003 (Wished I found this app note before buying a Segger Flasher ATE. Could have saved some money)
Even an nice section on how to program in parallel.

3548.attach


Regards,
Mark
0 Likes