Sunday, February 13, 2011

devmem2.c

http://www.lartmaker.nl/lartware/port/devmem2.c

devmem2.c, access device registers from userspace Linux

Builds in target machine (or can be cross-compiled)

Run it without params for usage information.

Addresses are Physical.

Prefix with 0x for hex addresses.

This can be wrapped in a script to give multiple register values read out.

No comments: