System wide data dump display update

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.

ETA: Colors!

2 Likes

Paging would be a nice feature, but I think it’s a pretty cool addition.

2 Likes

SLE4442

sle4442 command updated

  • New hex display
  • Common file functions
  • Common action parser

DDR5

New Lock/unlocked blocks display.

New dump command with -s and -b flags

When searching for hidden manufacturing data in DDR5, show it in HEX display form. Much more professional!

Toyed with a feature to highlight the active range in the hex display, but it needs more work. maybe for later.

ddr5 command updated

  • New hex display with navigation flags
  • Common file functions
  • Common action parser
  • Common high level I2C functions
  • New lock bit display
  • New file progress indicator

HEX

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.

A new compile should land shortly.

3 Likes