Hi Kerry,
Thank you for the info.
I have the MCU Bootloader application, but using this has some issues.
I have set my MCU target, initial Boot Device parameters, input srec file etc.
Downloaded the flashloader and connected ok (Blue).
“Dev Unsigned Image Boot” and click “Generate unsigned Bootable Image”
Says.. “iMX bootable image generated successfully”
I click “Load Unsigned Image”
Nothing appears to happen.
I tried “All-In_One-Action” and it stalls…
Executing: C:\Users\T.Thurgood\Hub2\another_bootoader\NXP-MCUBootUtility-master\NXP-MCUBootUtility-master\tools\blhost2_3\win\blhost -t 50000 -p COM3,115200 -j -- get-property 1 0
toolStatus: 1
commandOutput: {
"command" : "ping",
"response" : [],
"status" : {
"description" : "10500 (0x2904) No response received for ping command.",
"value" : 10500
}
}
C:\Users\T.Thurgood\Hub2\another_bootoader\NXP-MCUBootUtility-master\NXP-MCUBootUtility-master\tools\elftosb4\win>"C:\Users\T.Thurgood\Hub2\another_bootoader\NXP-MCUBootUtility-master\NXP-MCUBootUtility-master\tools\elftosb4\win\elftosb.exe" -f imx -V -c "C:\Users\T.Thurgood\Hub2\another_bootoader\NXP-MCUBootUtility-master\NXP-MCUBootUtility-master\gen\bd_file\imx_application_gen.bd" -o "C:\Users\T.Thurgood\Hub2\another_bootoader\NXP-MCUBootUtility-master\NXP-MCUBootUtility-master\gen\bootable_image\ivt_hermes_extracted_dcd_unsigned.bin" "C:\Users\T.Thurgood\Hub2\another_bootoader\NXP-MCUBootUtility-master\NXP-MCUBootUtility-master\gen\user_file\hermes_extracted.srec"
Section: 0x0
iMX bootable image generated successfully
C:\Users\T.Thurgood\Hub2\another_bootoader\NXP-MCUBootUtility-master\NXP-MCUBootUtility-master\tools\elftosb4\win>"C:\Users\T.Thurgood\Hub2\another_bootoader\NXP-MCUBootUtility-master\NXP-MCUBootUtility-master\tools\elftosb4\win\elftosb.exe" -f imx -V -c "C:\Users\T.Thurgood\Hub2\another_bootoader\NXP-MCUBootUtility-master\NXP-MCUBootUtility-master\gen\bd_file\imx_application_gen.bd" -o "C:\Users\T.Thurgood\Hub2\another_bootoader\NXP-MCUBootUtility-master\NXP-MCUBootUtility-master\gen\bootable_image\ivt_hermes_extracted_dcd_unsigned.bin" "C:\Users\T.Thurgood\Hub2\another_bootoader\NXP-MCUBootUtility-master\NXP-MCUBootUtility-master\gen\user_file\hermes_extracted.srec"
Section: 0x0
iMX bootable image generated successfully
C:\Users\T.Thurgood\Hub2\another_bootoader\NXP-MCUBootUtility-master\NXP-MCUBootUtility-master\tools\elftosb4\win>"C:\Users\T.Thurgood\Hub2\another_bootoader\NXP-MCUBootUtility-master\NXP-MCUBootUtility-master\tools\elftosb4\win\elftosb.exe" -f kinetis -V -c "C:\Users\T.Thurgood\Hub2\another_bootoader\NXP-MCUBootUtility-master\NXP-MCUBootUtility-master\gen\bd_file\imx_application_sb_gen.bd" -o "C:\Users\T.Thurgood\Hub2\another_bootoader\NXP-MCUBootUtility-master\NXP-MCUBootUtility-master\gen\sb_image\hermes_extracted_unsigned_flexspinor_ISSI_IS25LPxxxA_IS25WPxxxA.sb" "C:\Users\T.Thurgood\Hub2\another_bootoader\NXP-MCUBootUtility-master\NXP-MCUBootUtility-master\gen\bootable_image\ivt_hermes_extracted_dcd_unsigned_nopadding.bin"
Boot Section 0x00000000:
FILL | adr=0x20202000 | len=0x00000004 | ptn=0xc0000106
FILL | adr=0x20202004 | len=0x00000004 | ptn=0x00000000
ENA | adr=0x20202000 | cnt=0x00000004 | flg=0x0900
ERAS | adr=0x60000000 | cnt=0x00026000 | flg=0x0000
FILL | adr=0x20203000 | len=0x00000004 | ptn=0xf000000f
ENA | adr=0x20203000 | cnt=0x00000004 | flg=0x0900
LOAD | adr=0x60001000 | len=0x000247b9 | crc=0x805fdccf | flg=0x0000
ERAS | adr=0x60000000 | cnt=0x00026000 | flg=0x0000
FILL | adr=0x20203000 | len=0x00000004 | ptn=0xf000000f
ENA | adr=0x20203000 | cnt=0x00000004 | flg=0x0900
LOAD | adr=0x60001000 | len=0x000247b9 | crc=0x6fc44859 | flg=0x0000
==============================================================================
If I choose “BEE Encrypted Image Boot” and “Generate Certificate, SRK”.
I get a path not found…
WindowsError: The directory name is invalid: 'C:
.....
NXP-MCUBootUtility-master
tools
cst
keys'
This is because the CST tool path is…
C:\.....\NXP-MCUBootUtility-master\tools\cst\release\keys
I can get around this by removing the “release” folder, but why doesn’t the BootUtility know where its own tool folders are located?
Now the SRKs/Certs are generated and the image compiled successfully.
“Load Encrypted Image”….
Executing: C:\Users\T.Thurgood\Hub2\another_bootoader\NXP-MCUBootUtility-master\NXP-MCUBootUtility-master\tools\sdphost\win\sdphost -t 50000 -p COM3,115200 -j -- jump-address 539001344
toolStatus: 0
commandOutput: {
"command" : "jump-address",
"response" : [],
"status" : {
"description" : "1450735702 (0x56787856) HAB disabled.",
"value" : 1450735702
}
}
Executing: C:\Users\T.Thurgood\Hub2\another_bootoader\NXP-MCUBootUtility-master\NXP-MCUBootUtility-master\tools\blhost2_3\win\blhost -t 50000 -p COM3,115200 -j -- get-property 1 0
toolStatus: 1
commandOutput: {
"command" : "ping",
"response" : [],
"status" : {
"description" : "10500 (0x2904) No response received for ping command.",
"value" : 10500
}
}
Executing: C:\Users\T.Thurgood\Hub2\another_bootoader\NXP-MCUBootUtility-master\NXP-MCUBootUtility-master\tools\blhost2_3\win\blhost -t 50000 -p COM3,115200 -j -- get-property 1 0
toolStatus: 1
commandOutput: {
"command" : "ping",
"response" : [],
"status" : {
"description" : "10500 (0x2904) No response received for ping command.",
"value" : 10500
}
}
Executing: C:\Users\T.Thurgood\Hub2\another_bootoader\NXP-MCUBootUtility-master\NXP-MCUBootUtility-master\tools\blhost2_3\win\blhost -t 50000 -p COM3,115200 -j -- get-property 1 0
toolStatus: 1
commandOutput: {
"command" : "ping",
"response" : [],
"status" : {
"description" : "10500 (0x2904) No response received for ping command.",
"value" : 10500
}
}
Executing: C:\Users\T.Thurgood\Hub2\another_bootoader\NXP-MCUBootUtility-master\NXP-MCUBootUtility-master\tools\blhost2_3\win\blhost -t 50000 -p COM3,115200 -j -- get-property 1 0
toolStatus: 1
commandOutput: {
"command" : "ping",
"response" : [],
"status" : {
"description" : "10500 (0x2904) No response received for ping command.",
"value" : 10500
}
}
Executing: C:\Users\T.Thurgood\Hub2\another_bootoader\NXP-MCUBootUtility-master\NXP-MCUBootUtility-master\tools\blhost2_3\win\blhost -t 50000 -p COM3,115200 -j -- get-property 1 0
toolStatus: 1
commandOutput: {
"command" : "ping",
"response" : [],
"status" : {
"description" : "10500 (0x2904) No response received for ping command.",
"value" : 10500
}
}
Traceback (most recent call last):
File "main.py", line 213, in callbackFlashImage
File "_main\RTyyyy_main.py", line 556, in RTyyyy_callbackFlashImage
File "_main\RTyyyy_main.py", line 533, in RTyyyydoFlashImage
File "run\RTyyyy_runcore.py", line 1227, in RTyyyy_flashBootableImage
File "run\RTyyyy_runcore.py", line 1123, in _genDestEncAppFileWithoutCfgBlock
File "ntpath.py", line 180, in split
File "ntpath.py", line 115, in splitdrive
TypeError: object of type 'NoneType' has no len()
Please advise how I can use the BootLoader to download unsigned and encrypted images.
Best regards,
Tony