Using Copter 4.3 I’m experiencing an “ISR Flood” problem - identical to the situation reported in a bug report by @Steven_Young back in 2021 for Plane:
The bug was found by @tridge to be a mis-config - and the bug report closed.
The crux of the matter is that an “ISR Flood” occurs when a GPIO pin is configured by multiple functions - hence a mis-config.
I’m using Aux-5 (pin 54) for hot-shoe input and Aux-6 (pin 55) for camera shutter relay.
My problem is that I can’t identify my mis-config. While unlikely, I wonder if this may possibly be a bug in Copter.
Identical to @Steven_Young , I’m using a Aux-port relay to operate the shutter of a FoxTech Map-02 and Aux-port input for hot-shoe.
The are two differences:
- I’m using Copter, not Plane
- Since I’m using Aux1-4 for Dshot, I’m using different pins than @Steven_Young - I’m using Aux 5 for the hot-shoe input and Aux 6 for the relay shutter trigger.
@Steven_Young made a comment in a related Discuss post that describes how to avoid the mis-config:
By logging when disarmed, I’ve demonstrated this problem on my workbench - and recorded it in this log: Dropbox - GPIO TEST - 1980-01-06 07-48-16.bin - Simplify your life
On this test, I operated the shutter 10 times. On the map - only two camera icons appear. In the log, 4 CAM messages are recorded, and 10 TRIG messages are recorded.
And in the MAVLINK message log the ISR Flood is reported.
I checked that I’ve configured the relay and camera parameters per @Steven_Young comment:
I think this is now redundant, but I’ve also set the Servo GPIO mask.
I’d appreciate any help or advice in tracking down this problem. Many Thanks!