PaulStoffregen
Well-known member
I'm going to take a break, until at least late tonight. Now's the perfect time to pull the latest from github and jump in if you'd like to make changes.
Features still on my wish list...
1: Much more user friendly message printed for the common cases like memory access violation. For example, rather than merely "Data Access Violation", kindly but firmly explain to the user their program almost certainly has a bug which accessed an address which isn't supposed to be used by any program. Ideally we'd look at the target address and print different messages to help people understand what's wrong.
2: Show friendly message first, followed by cryptic register info
3: Add temperature to arm_fault_info_struct and have CrashReport show the chip's temperature at the time of the problem. Maybe we should also log the RTC and show time/date?
4: Test over-temperature panic. Is 8 seconds long enough? Maybe the fault handler should poll temperature and keep waiting until it's safe? (assuming the same code will again reheat the chip up to a temperature panic after rebooting)