Great that you're making progress on the debugging. Unfortunately the code is much too complicated for me to make good suggestions, but one thing I tried was to use the repo just before the "sysfriendly" change and just change the interrupt from COPPER to VERTB and it still worked FWIW.
If I were you I'd try to comment out as many parts of the code as you can and see when it stops crashing starting with anything that's run in interrupt context.
|