Skip to content
Snippets Groups Projects
Commit 4a3c6cae authored by anttib-5's avatar anttib-5
Browse files

bare10_1

parent 9fe310d5
Branches
No related tags found
No related merge requests found
Ok 97 data 97
Ok 471 UsartReceiveOverflow
Error 83 data 13
Error Overrun data 97
Ok 471 UsartReceiveOverflow
Error 84 data 97
bare9 UsartReceiveOverflow
goto sleep data 97
woken.. UsartReceiveOverflow
data 97 data 100
goto sleep RingBufferOverflow
woken.. data 115
data 13 RingBufferOverflow
goto sleep data 13
woken.. UsartReceiveOverflow
data 97
goto sleep
...@@ -83,9 +83,9 @@ const APP: () = { ...@@ -83,9 +83,9 @@ const APP: () = {
fn trace_data(byte: u8) { fn trace_data(byte: u8) {
let stim = &mut resources.ITM.stim[0]; let stim = &mut resources.ITM.stim[0];
iprintln!(stim, "data {}", byte); iprintln!(stim, "data {}", byte);
// for _ in 0..10000 { for _ in 0..10000 {
// asm::nop(); asm::nop();
// } }
} }
#[task(priority = 1, resources = [ITM])] #[task(priority = 1, resources = [ITM])]
...@@ -145,15 +145,16 @@ const APP: () = { ...@@ -145,15 +145,16 @@ const APP: () = {
// //
// Did you loose any data (was the data correctly echoed)? // Did you loose any data (was the data correctly echoed)?
// //
// ** your answer here ** // Yes
// //
// Was the data correctly traced over the ITM? // Was the data correctly traced over the ITM?
// //
// ** your answer here ** // No, it got usartrecieveoverflow
// //
// Why did you loose trace information? // Why did you loose trace information?
// //
// ** your asnwer here ** // It was because of the loop that is implemented in the trace function.
// When the loop has been implemented, the function will be called again when it already is doing some work.
// //
// Commit your answers (bare10_1) // Commit your answers (bare10_1)
// //
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment