Page 1 of 1

AT91 SAM-BA disable popup gui when using command line

Posted: Wed Jan 12, 2011 2:11 pm
by francoisf

I would like to run sam-ba in command-line only.

I used this command: sam-ba.exe COM1 AT91SAM9G20 "bootloader.tcl" >log.txt

When sam-ba detects the CPU, everything is OK:
- the board contains the right program
- the log file (log.txt) contains the right debug trace.

However, when the CPU isn't detected, I got a pop-up windows (see uploaded picture).

How can I redirect this message to the log file ?

I need to run it without the GUI because sam-ba is used in an automed test fixture, so I would like that no user has to click on a pop-up.

Does anyone has an idea on how to overcome this problem ?