You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently trying to get a minimal working canbus receiver running on a SAM E51 board, but I've hit this strange problem where without the debugger connected (Jlink) I'm only correctly receiving about every 1 in 8 packets, the rest are triggering a <err> can_mcan: Message RAM access failure error. When I have the debugger connected the error goes away and everything immediately works perfectly.
I've verified the hardware works by making an Arduino sketch using the Adafruit can library (which is mostly taken from ASF), and that works fine with and without the debugger. I've tried enabling and disabling the MPU and cache, but that makes no difference.
How can I find out what changes when the debugger connects?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently trying to get a minimal working canbus receiver running on a SAM E51 board, but I've hit this strange problem where without the debugger connected (Jlink) I'm only correctly receiving about every 1 in 8 packets, the rest are triggering a
<err> can_mcan: Message RAM access failure
error. When I have the debugger connected the error goes away and everything immediately works perfectly.I've verified the hardware works by making an Arduino sketch using the Adafruit can library (which is mostly taken from ASF), and that works fine with and without the debugger. I've tried enabling and disabling the MPU and cache, but that makes no difference.
How can I find out what changes when the debugger connects?
Beta Was this translation helpful? Give feedback.
All reactions