### Parse input arguments ### ### Check presence of FlashLoader ### ### Select target memory instance using option on address 0x2000 ### blhost -t 5000 -p COM14,57600 -j -- fill-memory 0x2000 4 0xCF900001 word { "command": "fill-memory", "response": [], "status": { "description": "0 (0x0) Success.", "value": 0 } } blhost succeeded blhost -t 5000 -p COM14,57600 -j -- configure-memory 9 0x2000 { "command": "configure-memory", "response": [], "status": { "description": "0 (0x0) Success.", "value": 0 } } blhost succeeded ### Configure target memory using options on address 0x2000 ### blhost -t 5000 -p COM14,57600 -j -- fill-memory 0x2000 4 0xC0000007 word { "command": "fill-memory", "response": [], "status": { "description": "0 (0x0) Success.", "value": 0 } } blhost succeeded blhost -t 5000 -p COM14,57600 -j -- fill-memory 0x2004 4 0x00000000 word { "command": "fill-memory", "response": [], "status": { "description": "0 (0x0) Success.", "value": 0 } } blhost succeeded blhost -t 5000 -p COM14,57600 -j -- configure-memory 9 0x2000 { "command": "configure-memory", "response": [], "status": { "description": "0 (0x0) Success.", "value": 0 } } blhost succeeded ### Erase memory before writing image ### blhost -t 50353 -p COM14,57600 -j -- flash-erase-region 0x30000000 35376 9 WARNING:spsdk.mboot.mcuboot:Note: memoryId is not required when accessing mapped external memory { "command": "flash-erase-region", "response": [], "status": { "description": "0 (0x0) Success.", "value": 0 } } blhost succeeded ### Create Flash Configuration Block (FCB) ### blhost -t 5000 -p COM14,57600 -j -- fill-memory 0x3000 4 0xF000000F word { "command": "fill-memory", "response": [], "status": { "description": "0 (0x0) Success.", "value": 0 } } blhost succeeded blhost -t 5000 -p COM14,57600 -j -- configure-memory 9 0x3000 { "command": "configure-memory", "response": [], "status": { "description": "0 (0x0) Success.", "value": 0 } } blhost succeeded ### Write image ### blhost -t 5000 -p COM14,57600 -j -- write-memory 0x30001000 "D:\Users\DSHARK\secure_provisioning00\bootable_images\evkmimxrt1170_iled_blinky_cm7_nopadding.bin" 9 WARNING:spsdk.mboot.mcuboot:Note: memoryId is not required when accessing mapped external memory { "command": "write-memory", "response": [ 31280 ], "status": { "description": "0 (0x0) Success.", "value": 0 } } blhost succeeded