This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

generate the INIT file for the DFU

Accoding to the "how to generate the INIT file for the DFU",I have configuration Boot loader.hex,but i don't known how to configuration Soft Device.hex.The following is the original.

A similar operation has to be performed as for the bootloader, but, instead of removing the lines at the end of the file, the MBR (Master Boot Record) needs to be removed for the time of BIN generation. The MBR section on Soft Device 7.0.0 and 7.1.0 is located from address 0x0000 to 0x1000. For the Intel HEX documentation go to: www.interlog.com/.../Hexfrmt.pdf. The data address has been marked red on the statement above. All lines with the address lower than 0x1000 must be temporary deleted. This is all lines starting from the second one (the first one is the jump to address with MSB = 0x0000) until the one with 0x1000 is found. For the SD 7.1.0 this is up to line 125 (and data address equal 0x07B0). When removed create the BIN the same way as before: hex2bin.exe [modified_sd].hex

Parents Reply Children
No Data
Related