Hi All,
I've been working on some lighting objects recently, and I released a limited batch of 10 for testing last year. All of the units are fine, however 1 has stopped working after 8 months of continuous use. I've got the PCB back in the lab to try to find the fault, and I'm not having much luck unfortunately, so I thought I'd reach out to the forum

So far I have narrowed the issue down to a fault in the microcontroller, but here is a little info on the PCB, and what I have tested so far:
- Atsamd21g18
- potentiometer inputs
- gpio -> mosfet to 24V LED strip
- piezo buzzer
- CUI buck converter module 24 -> 3.3V
Evaluation:
- All the hardware works fine, after swapping the microcontroller all the functionality is there.
- After digging a little with the faulty micro it seems that the program gets held up because of a hardware fault.
- See attached images for the register values at that point in the flash as compared to a reference micro.
- There is a hardfault listed on the IPSR
- I read back the flash from a freshly flashed micro, and the faulty micro, and found that there were a few differences (this feels like a red herring though)
Questions:
- Any idea how to identify what the IPSR = 0x003 is.
- Any ideas what might have happened, I suspect some sort of voltage spike damage.
- is it possible to cause this damage with faulty firmware?
Hope thats enough info to have some initial insights. Happy to upload schematics also if thats helpful.
Cheers, Sean