Page 1 of 1

Interrupt component fails on PIC32MZ

Posted: Fri Nov 20, 2020 4:16 pm
by Brendan
Hi team.

Attached is an extract from a project which exemplifies an issue with the interrupt component when deployed with the challenging PIC32MZ2048EFG144.

Exactly the same macro is called in the loop as by interrupt. Clock settings therefore appear AOK and the loop approach works fine, but all interrupt timers I've tried are no-go. The attached allows either loop or interrupt to be enabled for test.
PIC32MZ_Interrupt_Debug.fcfx
(19.17 KiB) Downloaded 196 times
It's probably unfair to expect Flowcode to be able to handle all such complex devices, so if not a conventional bug as-such, then is there a workaround I can employ?

Many thanks,
Brendan

Re: Interrupt component fails on PIC32MZ

Posted: Fri Nov 20, 2020 5:10 pm
by stefan.erni
Hi Brendan

Just go to the:
Build/Project Options/
Then to the:
BOOTISA and change form
Bootcode and Exeption code is micromips
to
Bootcode and Exeption code is mips


regards

Stefan
2020-11-20_17-03-30.png
2020-11-20_17-03-30.png (45.81 KiB) Viewed 5762 times

Re: Interrupt component fails on PIC32MZ

Posted: Fri Nov 20, 2020 5:50 pm
by Brendan
Hi Stefan.

Good spot!
Happy to confirm the interrupt is now functional.

Thank you for your help :D

Best regards,
Brendan