2313956_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2313956_en-US

2313956_en-US

Creating SREC file for HAB bootable image generation

I'm generating command line tools for flashing the application image to the NOR flash of the MIMXRT1170 (EVKB board).

I know that the nxpimage tool helps create SREC format files from axf/elf files like this: 

nxpimage utils binary-image convert -i "%AXF_FILE%" -f s19 -o "%SREC_FILE%"
 
But the SREC file generated is different from the SREC file that is created when using the MCUXpresso Secure Provisioning Tool in terms of the contents and addressing. When I use the MCUXpresso Secure Provisioning Tool to load an elf/axf file to create a bootable image, it adds the srec file and parsed dcd file in the source folder of the MCUXpresso Secure Provisioning Tool's workspace.  I would like to know how those srec and parsed dcd file is generated by the MCUXpresso Secure Provisioning Tool. Also checking if there is a way to extract the parsed DCD file from SREC/elf/axf file separately with any CLI tools?
 
I know that the MCUXpresso Secure Provisioning Tool can be invoked from CLI to automate the whole process, but we are trying to create a script that can flash the MCU with just the nxpimage and blhost tools.
 
 
Re: Creating SREC file for HAB bootable image generation

Hi @tj787 ,


What can be seen here is the following command creates this output into specified “parsed-directory”:

nxpimage.exe hab parse -f mimxrt1176 -o parsed-directory -b my-application-with-dcd.bin

Kan_Li_0-1770780123329.png


Hope that helps,


Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------


タグ(1)
評価なし
バージョン履歴
最終更新日:
‎02-12-2026 02:36 AM
更新者: