Built https://regviz.com/ to help you visualize and decode register bitfields.
What registers should I add?
#buildinpublic #embedded
@rtwfroody Cool! I would love to see the hard fault registers for ARM. (HFSR, CFSR)
@osau I've added HFSR and CFSR for you. Now to improve the visualization so regs like CFSR don't require a crazy wide screen.
@rtwfroody Thanks! Out of curiosity, could you add these using an SVD file? Either by user uploads (locally) or if you do it backend upon requests? (If it’s open source I could maybe take a crack at it)
@osau Is there some public SVD file that seems good to experiment with? Googling finds no end of discussion of what the file contains, but I haven't seen an easy archive of SVD files for XYZ CPU core.

@rtwfroody My usage has only been providing it to the VS Code extension to get registers while debugging, so I can’t give much details. The latest I used was for Nordic nRF52, which seems to be complete.

https://github.com/nrfconnect/sdk-hal_nordic/blob/main/nrfx/mdk/nrf52.svd

sdk-hal_nordic/nrfx/mdk/nrf52.svd at main · nrfconnect/sdk-hal_nordic

NCS downstream of https://github.com/zephyrproject-rtos/hal_nordic - nrfconnect/sdk-hal_nordic

GitHub
@osau Cool. I'll take a look over the next few days. Good to have a specific useful application in mind.