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 CFSR looks a lot more readable now. I'm definitely interested in importing data instead of entering stuff manually by reading documentation. I'll dig into SVD a bit. Thanks for the pointer.
@rtwfroody Nice work with the new UI! 👏
@osau Thanks. I've imported the nrf52 SVD you shared with me. Which really just means that I've done some work with SVD now, and I can figure out how to properly add support for them.

@rtwfroody Great – thanks! Btw, I noticed that the register visualization has dark characters for the bits in dark mode. (Also noticed that you have dark mode!)

I don’t know if it’s supported by SVD, but some sort of peripheral grouping of registers would be neat. Maybe you have already planned for that. ☺️

@osau I appreciate your continuing feedback. Is there a dark mode? How do you enable that? (I'd believe the framework added one somewhere.)
There is a grouping by peripheral in SVD. I think this project is officially big enough I need to make a todo list to track all the various things that need to happen.
@rtwfroody Sorry, it feels like I’m just throwing stuff at you, but I think it’s a really useful project!
I don’t know how to enable the dark mode, I guess it just used system preferences?
@osau Dark mode should be fixed. This will probably bit rot over time.