chex is a tool to quickly view .hex files in terminal
If you add the exe into your paths, you should be able to use it just like any other terminal command
You can read something about intel hex file here.
I use gcc, so I do it like this:
gcc .\src\main.c -o .\bin\chex
.\bin\chex.exe -f demo.hex
- create option to add start and end address to display only part of hex file
- check if checksum is correct
- print "metadata" of the hexfile
- add header to describe colums in the hexfile
- check if the file is really a hexfile
