How to transfer hex to array

6 posts / 0 new
Last post
aihuazou
Offline
Last seen:5 years 5 months ago
加入:2015-02-08 03:23
How to transfer hex to array

Hi:
how can i transfer the hex file to the image array?
Thks

Keywords:
Device:
RvA
Offline
Last seen:6 days 3 hours ago
工作人员
加入:2014-02-07 14:10
This can be done with

This can be done with smartsnippets. This tool takes care of the hex to bin conversion using the command line hex2bin utility, and programming this bin file in OTP.

Best regards, RvA

aihuazou
Offline
Last seen:5 years 5 months ago
加入:2015-02-08 03:23
Hi RvA:

Hi RvA:
根据一个- b - 001文档,the external processor stm32f411 acted as host and communciated with da14580 by spi , thus I want to store the image file (hex file ) of the profile and application of da14580 in internal flash of external processor stm32f411,so i should transfer the hex file to C array . how can i do and how can i transfer the hex file to C arrary?
Thanks

RvA
Offline
Last seen:6 days 3 hours ago
工作人员
加入:2014-02-07 14:10
Hi Aihuazou, the image file

Hi Aihuazou, the image file should be in bin format. So the hexfile has to be transfered using the hex2bin utility. Hex2bin can be found inside SDK 3.0.8:
…\SDK_3.0.8.0\DA14580_581_SDK_3.0.8.0\DA14580_581_SDK_3.0.8.0\tools\flash_programmer.

Details on the DA14580 External processor interface over SPI can be found in UM-B-013.

Best regards, RvA

MH_Dialog (not verified)
Hi Aihuazou,

Hi Aihuazou,

there is one alternative to convert hex to bin to csv.

find Bin2Csv

BR, Morris

aihuazou
Offline
Last seen:5 years 5 months ago
加入:2015-02-08 03:23
Hi MH_Dialog:

Hi MH_Dialog:
I use the Bin2Csrc to transfer the hex file to C array,but i found the result transfered from Bin2Csrc is different from the SmartSnippets ,Why?