HydraFW Hex dump guide - hydrabus/hydrafw GitHub Wiki
HydraFW hex dump guide
This guide is updated towards firmware release HydraFW v0.9 Beta
Introduction
In various modes, the hd
command allows to read data and display it in a hexdump format instead of raw bytes.
hd:1…4294967295
for bulk reads from 1 byte and up to (2^32)-1
Example
uart1> hd:31
48 65 6C 6C 6F 20 48 79 64 72 61 46 57 20 21 0A | Hello HydraFW !.
53 61 6D 70 6C 65 20 48 65 78 64 75 6D 70 0A | Sample Hexdump.
Convert hexdump data to binary
It is possible to convert the output from HydraFW to a binary file using the Linux xxd
utility.
Copy the output in a text file, save it then run the following command to convert :
xxd -r -p hexdump.txt > binary.bin