/armstrongRawMemoryConversion

wrapper I wrote for arm memory dump, specific to a set of key variables

Primary LanguagePython

armstrongRawMemoryConversion

wrapper I wrote for arm processor memory dump, specific to a set of key variables
takes into account memory packing, and breaks raw memory into variable blocks
then it converts the values from hex to decimal
used for testing at Marturion Ltd.

** apologies for how gross this code looks
it was written quickly, and written to work. definintely not my best, or most elegant, work.
however I am proud of how well it works, and the complexity of the problem it solved.

instructions:

- print how 150 bytes from address 0x003000 into log file through serial port using technical menu to a log file
- label this log file with a name that captures the state of the Armstrong device, this name will be used throughout
- this log file now contains the raw memory that defines struct UI_t at this current state
- move byteToVariables.py to the same folder as your log, or include the path when asked for log file name.
- launch byteToVariables.py with python 2.7 ("python byteToVariables.py" in terminal)
- decide if you want hex conversion or not
- decide if you want a different logfile generated
- view print out in terminal, and/or in your new logfile