I am working on a project in which I need to program an ATSAM4E16C, including setting the GPNVM Bits. The project is part of a test equipment that must program the ATSAM of the customers product when it has been manufactured on the production line. I am planning to use the SAM-ICE JTAG debugger/programmer. Its small physical size makes it an easy fit inside the fixture. However, I do not want to have to install Atmel Studio on the customers PC's, so I was wondering if it is possible to use the programmer standalone. i.e. controlling it directly from my PC application without Atmel Studio.
I know of the atprogram tool in Atmel Studio, but it does not support multiple instances (i.e. programming 2 or more boards simultaneously), and it still requires Atmel Studio to be installed.
It looks like the JLinkArm.dll is the interface between the programmer and Atmel Studio, and I was wondering if the interface to this DLL is known? If so, I can probably access it directly from my own PC application. Actually, according to the users manual for the SAM-ICE Amel should have its own dedicated DLL for this:
SAM-ICE ARM Flash DLL: An enhanced version of the JLinkARM.DLL, which contains additional API functions for Flash programming.
However, I can not find it on the Atmel/Microchip webpage, or discussed in this otherwise very nice forum. Does it even exist?
I hope someone can help with information on any of the two DLL's. Also, suggestions to other ways of programming an ATSAM are very welcome.