Hi all,
Background: I'm developing an embedded application in C using Metaware (Eclipse based) on an ARC processor. Debug is done via a JTAG interface.
Problem: The application has a global structure in memory holding the entire system state. During testing and debugging I wish to get the current state and review it (on a win machine) to know "everything is still OK" (getting the memory dump is easily done). To do so, I need to parse and dispaly the memory according to the state's structure (which includes pointers, arrays ans arrays of other structures). Note: The application does not include debug info nor is the debugger connected/activated.
My initial thought: Write a memory parser that will use the structure definition (source files) and a file containing the plain/raw memory dump to create a human readable visualization.
Question: How to develope such tool? What programming language to use? C/VB/Python/Perl/XML? Anyone know of free/open-source such/similar tools?
Thanks for any insight, DavidG