I would like to automate flashing process for my Infineon XC886 devices.
Currently, I use ULINK2 and I connect to my board via JTAGhttps://developer.arm.com/documentation/101407/0540/Command-Line/Program-Flash-Exampleand then I call the UV4.exe via command line. This command opens up Keil uVision5 and flashes the application to my MCU. This process works but is not convenient for production since it opens up Keil application everytime I flash my devices.Can I use uv4.exe in headless mode (not opening application) or should I use different tool/method to flash my devices? Perhaps someone could suggest an alternative?
Thanks. That is useful information, I had this doc opened before but somehow missed the -j0 part. I have been able to program the device without opening GUI, however that is still not ideal for me. Since messages are suppressed there is no way for me to confirm whether the flashing has been been successful.It would be ideal that after the succesfull programming it would print or return something for me to be able to determine whether some kind of error has occurred or everything executed properly.