Skip to content
Discussion options

You must be logged in to vote

I am closing this thread.

After several trial and error tests, I am throwing the towel, so to speak.

I could not find the cause of the hang. One possibility that occurred to me was the hang has to do with an exception beeing thrown by the memory protection of the Cortex-M0+ core. I suppose interrupts run in privileged mode whereas the regular code, Micropython included run in user mode. I am not sure about it though.

Another possibility (more probable) is the ISR coded with Viper is lacking something that the C version has that is essential for it to work correctly. It is not clear to me, though, looking at the source codes of the SDK and timer.c of the examples what exactly it could be. …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cve2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant