Using tools like memtool one can read the memory addresses and dump it on screen. But, mapping these bits into their meaning as per SOC's register definition is a tedious and error prone task.
So, i am working on developing a tool that can take the memtool output and then map it to the SOC register bits.
I have SOC register header file and memtool as inputs. The challenging part is parsing through the SOC register header file some way and may be create an intermediate output which helps in mapping the data.
Please suggest what would be best approach to follow here, when it comes to parsing through the SOC register header file.
Open Chat in New Window