Zerocat Chipflasher  v0.4.3 (board-edition-1)
Flash free firmware to BIOS chips, kick the Manageability Engine.
Functions
Hexdump

Objects that are needed to deal with the Hexdump format. More...

Functions

void HEXDUMP_mkline (struct tag_linedat *linedat, char *linebuf_orig)
 This function transforms a binary payload into a row of ascii chars including line ending characters and stores it in a buffer. More...
 
char HEXDUMP_rxline (struct tag_xcog0 *px, unsigned int *lines)
 Parse a Hexdump line. More...
 

Detailed Description

Function Documentation

◆ HEXDUMP_mkline()

void HEXDUMP_mkline ( struct tag_linedat linedat,
char *  linebuf_orig 
)

The first buffer location holds the byte length of the whole line. Each payload byte is represented by 4 chars. Additional frame data adds 14 chars.

As this function should generate a dump, filtering 0xff bytes should probably be switched off when reading chip content.

Definition at line 1660 of file kick.c.

◆ HEXDUMP_rxline()

char HEXDUMP_rxline ( struct tag_xcog0 px,
unsigned int *  lines 
)
Note
A '#'-character in position zero or after last data byte flags a garbage line.

Definition at line 2543 of file kick.c.