There is a new ui/ui_hex.h library that will be used system side to replace various bespoke data dump displays. It’s currently implemented in eeprom command, and partly implemented in ddr5 command.
eeprom command dump
ddr5 command dump
sle4442 command dump
hex command
flash dump (not currently implemented)
I plan to take it a step further and include the -s start address and -b bytes flag parsing to the library too, to avoid duplication elsewhere.
Maybe add paging?
Colors to highlight non 0x00 and non 0xff values and characters?
On a side note: I fixed the docs so t he terminal examples use monospace fonts and the table line up properly now.
File hex viewer also updated to the new hex library. -s and -b work, but I really want to add a very nice pager. For paging I’d like to repeat the address header row with each page so it’s not just a wall of numbers. Will work on that first thing tomorrow.