The documentation at https://docs.particle.io/guide/getting-started/modes/photon/#red-flash-sos is helpful, thanks much.
My question is, what causes that "Usage Fault" SOS error? I've seen this question posted before but not in a generic sense. Are there classes of programming errors that cause it - for example, div-by-zero, attempt to assign out-of-range value, invalid memory address, etc? Alternatively, is there a link to source and the method call for this SOS error so I could search its references in the repo myself?
EDIT: I found this post from BDub:
Which is also helpful, but what do "unaligned memory access for load/store multiple" and "other unaligned memory accesses" mean?
I'm not sure if there is a link to a method reference for this question, but it would help if somebody knows where the particle/photon firmware detects this STM32 condition and calls the SOS, that would be great.