Context:
In MCU+ SDK and MCAL SDK, often while debugging OSPI & FLASH related failures, we come at a stage where comparing the OSPI Controller Register helps us debug faster. Comparing each register and their respective bit fields takes considerable time.
This FAQ covers an easier way to differentiate between two sets of registers using a script and an XML file.
Current Method: Requires the user to look back and forth at the TRM Register bit field values and compare them, which consumes more time.
Proposed Method: The script will give you the differences, see a sample register(0xFC40000) difference as shown below:





