Hi,
Im trying to program the Cortex using Jlink Flash commander. I used Jlink commandfile script for programming the device. Im executing the script from batch file. So far everything works fine.
Now i want to automate this process. I have tried using C# and invoking the batch script from the C# process. The programming is always successful but sometimes the console prints says Target-memory ,unspecified error or JTAG request time out etc.
My question when i execute batch file manually the console prints proper results but when the same batch file is executed from C# process why the console print shows different results even though program is successful.
Im using C# because wanted to verify the device functionality which uses GUI and the programming of the device also using C#. This way with single test framework i will be able to program and test.
Regards,
Chandan
Im trying to program the Cortex using Jlink Flash commander. I used Jlink commandfile script for programming the device. Im executing the script from batch file. So far everything works fine.
Now i want to automate this process. I have tried using C# and invoking the batch script from the C# process. The programming is always successful but sometimes the console prints says Target-memory ,unspecified error or JTAG request time out etc.
My question when i execute batch file manually the console prints proper results but when the same batch file is executed from C# process why the console print shows different results even though program is successful.
Im using C# because wanted to verify the device functionality which uses GUI and the programming of the device also using C#. This way with single test framework i will be able to program and test.
Regards,
Chandan