Hello.
We are trying to write a automatic script to microcontroller programming in mass production.
So we have created a booatble .bin image. If we use NXP boot utility (clicking on Write (auto erase) it works pretty good.
However, we don't know how to set the .bin way. We are checking the output printed commands, as following:
Executing: C:\Users\mchiele\Desktop\NXP-MCUBootUtility-master\tools\blhost2_3\win\blhost -t 2048000 -u 0x15A2,0x0073 -j -- flash-erase-region 1610612736 139264 9
toolStatus: 0
commandOutput: {
"command" : "flash-erase-region",
"response" : [],
"status" : {
"description" : "0 (0x0) Success.",
"value" : 0
}
}
Executing: C:\Users\mchiele\Desktop\NXP-MCUBootUtility-master\tools\blhost2_3\win\blhost -t 5242000 -u 0x15A2,0x0073 -j -- write-memory 1610612736 C:\Users\mchiele\Desktop\NXP-MCUBootUtility-master\gen\user_file\user.dat 9
toolStatus: 0
commandOutput: {
"command" : "write-memory",
"response" : [],
"status" : {
"description" : "0 (0x0) Success.",
"value" : 0
}
}
So, guys, how the .bin file is loaded? We only see "user.dat" file, how is it generated?
Thanks in advance.