Severson-Group / AMDC-Firmware

Embedded system code (C and Verilog) which runs the AMDC Hardware
http://docs.amdc.dev/firmware
BSD 3-Clause "New" or "Revised" License
30 stars 5 forks source link

Debug PL-PS interrupts #364

Closed annikaolson closed 3 months ago

annikaolson commented 4 months ago

Please see issue #350 for the parent issue.

Interrupts are now being generated from the FPGA. However, in the scheduler ISR, this error is occurring [note: not getting stuck at the same task every time]: sched_isr_error

npetersen2 commented 4 months ago

Nice work @annikaolson !!

That error is simply saying that it took too long for the scheduler "task callbacks" to run. I put that in quotes, since it doesn't really care what takes too long, it just flags that something does.

Are you manually stepping through the breakpoints for the timing manager ISRs? If you do not print anything from the timing manager ISRs and do not set breakpoints, I think the scheduler error message should disappear. Is this true?