1234567891011121314151617 |
- - haven't had much time, but still some progress
- - after more debugging and with new insights, it seems that stack the inbuilt protection feature corrupts the stack, leading to the issue with a misaligned load
- - without stack protection, the application runs and manages to execute two tasks
- - with stack protection the application dies during creation of the second task
- - currently selected stack size of ~100 words seems fine, after closer inspection
- - big miriv project targeting (DE2-115) tested
- - works beautifully, now preferred testing device
- - does freertos expect the software interrupt loop to be the place where freertos waits for a timer interrupt?
- - that would be quite unexpected...
- - the answer is yes, it does (allow traps during software interrupt)
- - apparently freertos uses software interrupts for blocking!
- - software interrupts are used for blocking
- - keep trap generation enabled even during software interrupts
- - maybe implement some way to toggle layered interrupt trap generation? or as implement generics? => TODO: generics
- - TODO: continue debugging, try to get multiple task dispatching to work!
- - TODO: note quirks of implementation, they will be useful argumentation devices during discussion of implementation
|