Skip to main content

Programming image without GUI - Community / Test Automation - Lauterbach Support

0

Programming image without GUI Awaiting Agent

I'm trying to program compiled binaries using t32mppc64.exe from the command line using our CICD server. But the application always pops-up this window asking to confirm the program step.

t32mppc64.exe -c C:\T32\config_USB_Probe1.t32 -s .\flash_sw3_1.cmm

Is there a way, some command line option to t32mppc64.exe or option in the cnn script to prevent this window from appearing? My CICD server runs as a service and it cannot open any UIs.

Comments (3)

Firas Zouaghi

Hello,

You can remove (or comment) the DIALOG.YESNO subroutine and directly incorporate the flash programming commands within the script.

Please make sure that you do not modify the flash declaration of the script. Refer to the documentation of the Yes/No dialog box [DIALOG.YESNO section]: https://www2.lauterbach.com/pdf/ide_ref.pdf


Additionally, if you’re using the internal flash script, we strongly do not recommend making any type of modifications.

In this case, you can call the flash script with “PREPAREONLY” to only declare the flash without executing the flash programming, and then proceed with programming your flash:

FLASH.ReProgram ALL //enable flash programming

Data.LOAD.Elf <elf file> //load your application

FLASH.ReProgram OFF


Best regards,
Firas Zouaghi.


Ilya Katsnelson
Thank you, Firas. Sorry, what is "internal flash script"?
Firas Zouaghi

Hello,

This refers to the Flash scripts located in the `~/demo/powerpc/flash` directory.

Best regards.


Add a comment

ID-0
To prove you are a human, please tell us the text you see in the CAPTCHA image