Your handler needs the keyword interrupt to save the registers so when the
vector occurs whatever was running isn't corrupted
Besides interrupt vector table don't forget exceptions they need a vector as
well as in bus error or address error
Here's a brief reference you should look for interrupt
Update!
I've solved my own problem and thought I'd share for any lost soul in the
future who seeks these answers.
If you look at the technical reference manual for the am355x section 26-3
it shows an interrupt vector table which exists wildly far away from your
application entrypoint. Upon
Here's the good news.
https://community.qnx.com/sf/discussion/do/listPosts/projects.core_os/discussion.newcode.topc27326;jsessionid=drOUYZlZpfW2JNuAFA5SuhG-.tf
The Bad news is you will have to change the addresses by reading the AMx35x TRM
to find the correct address you need for your gpio.