Hi @astrobuf
Many thanks for contacting us. My apologies for the delayed response.
The elftosb is now obsolete.
If you want to use low level tool commands, please make sure to install latest version of the Secure Provisioning SDK. See installation details here: Installation Guide I want to ensure that you have latest version of the BLHOST, SDPHOST and the nxpimage, which replaces elftosb.
Now, there is another trick to evaluate this with ease. First install our MCUXpresso Secure Provisioning Tool v8, currently this is the latest version currently. I mention this tool since uses the same tools from the SPSDK, and plus contains reference bd files and scripts.
If you create a new workspace, for instance, I am using RT1020, when you click on start flashloader option, the log will show that the tool builds the flashloader.bin using a bd file and srec. See an example below.
### Build flashloader as unsigned bootable image ###
nxpimage hab export -c "C:...\bd_files\unsigned_MIMXRT1020_flashloader_win.bd" -o "C:..\bootable_images\unsigned_MIMXRT1020_flashloader.bin" "C:\nxp\MCUX_Provi_v8\bin\_internal\data\targets\MIMXRT1020\flashloader.srec"
Success. (HAB container: C:\Users\nxf59533\secure_provisioning40000000044060434525941000\bootable_images\unsigned_MIMXRT1020_flashloader.bin created.)
nxpimage succeeded
Actually, the SPSDK is now implementing a new nxpimage tool, described over here https://spsdk.readthedocs.io/en/latest/apps/nxpimage.html
A quick test that you can do is import our flashloader demo from the SDK, and find where the tool replace the tool's flashloader.srec by yours. I found that the tool places flashloader screc for the RT1064 in this address : MCUX_Provi_v8\bin\_internal\data\targets\MIMXRT1064
diego_charles_0-1708376622336.png
The tool should use the flashloader that you created and then you can take commands as an example.
Please let me know if this helps you!!!
Diego
I got a couple of recommendations. This GUI loads our flashloader to write images and provision fuses etc using NXP tools , such as BLHOST, SDPHOST and elftosb.Those tools are contained in the MCUXpre