Good morning,
I have created a project and can manually load a bin file using the Jflash application into an nrf device.
When i use C# to call JFLASH as a process I can succesfully load whatever the last opened project was by using process arguments
process.StartInfo.Arguments = "/C JFlash.exe -auto -exit"
I can also erase the device.
What i cannot get to work is opening the project using the following strings as a process argument.
process.StartInfo.Arguments = "JFlash.exe -openprjC:\\Program Files (x86)\\SEGGER\\JLink_V618\\Samples\\JFlash\\ProjectFiles\\XYZ.jflash";
I also tried running this through command line and manually typing.
It opens Jflash application but reports fail to load the project.
What i find strange is the .jflash files are not visible by exploring the files in windows explorer, they are only visible as locked item icons when using Jflash application with File/Open project and browsing like this.
I have seen another thread where it was advised that you could simply double click a .jflash file and this would open the project. This makes me think that this is therefore a license issue and when i call it from another application it simply cannot find the file.
I have just uploaded two screen shots,
1 which shows the JFLASH screen after a failed project open attempt.
The other was an attempt to copy the .jflash project (accessed through Jflash open project browser) and paste it somewhere else, the file is inaccessible.
Please help
Thanks
John
I have created a project and can manually load a bin file using the Jflash application into an nrf device.
When i use C# to call JFLASH as a process I can succesfully load whatever the last opened project was by using process arguments
process.StartInfo.Arguments = "/C JFlash.exe -auto -exit"
I can also erase the device.
What i cannot get to work is opening the project using the following strings as a process argument.
process.StartInfo.Arguments = "JFlash.exe -openprjC:\\Program Files (x86)\\SEGGER\\JLink_V618\\Samples\\JFlash\\ProjectFiles\\XYZ.jflash";
I also tried running this through command line and manually typing.
It opens Jflash application but reports fail to load the project.
What i find strange is the .jflash files are not visible by exploring the files in windows explorer, they are only visible as locked item icons when using Jflash application with File/Open project and browsing like this.
I have seen another thread where it was advised that you could simply double click a .jflash file and this would open the project. This makes me think that this is therefore a license issue and when i call it from another application it simply cannot find the file.
I have just uploaded two screen shots,
1 which shows the JFLASH screen after a failed project open attempt.
The other was an attempt to copy the .jflash project (accessed through Jflash open project browser) and paste it somewhere else, the file is inaccessible.
Please help
Thanks
John
The post was edited 2 times, last by Jaydee ().