I have a LabView application which should program an Atmel ATSAM4S4A. To do this, I use the StudioCommandPrompt executable and run the atprogram command.
When I run this directly (using command prompt), it works fine and I'm able to program my uC. However, as my atprogram command requires parameters, I can't run it directly from LabView and I need to run first a batch file, which will call and run StudioCommandPrompt.
My problem occures when I start the StudioCommandPrompt and run the atprogram command with
start "" "C:\Program Files (x86)\Atmel\Studio\7.0\Extensions\Application\StudioCommandPrompt.exe" atprogram -t atmelice -i SWD -d atsam4s4a program -c -f "C:\_JRE_Test\Rooter2_0.3.1.hex" --verify
a new CMD window is opened and a warning message is showed: "CMD.EXE was started with the above path as the current directory. UNC paths are not supported. Defaulting to Window directory."
Then, nothing more happens. atprogram is not run.
I already made a lot of researches, but I didn't found any answer to this issue.
Thank you in advance for your help and support!