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

bare10_1

parent 9fe310d5
No related branches found
No related tags found
No related merge requests found
Ok 97
Ok 471
Error 83
Error Overrun
Ok 471
Error 84
bare9
goto sleep
woken..
data 97
goto sleep
woken..
data 13
goto sleep
woken..
data 97
goto sleep
data 97
UsartReceiveOverflow
data 13
data 97
UsartReceiveOverflow
data 97
UsartReceiveOverflow
data 97
UsartReceiveOverflow
data 100
RingBufferOverflow
data 115
RingBufferOverflow
data 13
UsartReceiveOverflow
......@@ -83,9 +83,9 @@ const APP: () = {
fn trace_data(byte: u8) {
let stim = &mut resources.ITM.stim[0];
iprintln!(stim, "data {}", byte);
// for _ in 0..10000 {
// asm::nop();
// }
for _ in 0..10000 {
asm::nop();
}
}
#[task(priority = 1, resources = [ITM])]
......@@ -145,15 +145,16 @@ const APP: () = {
//
// Did you loose any data (was the data correctly echoed)?
//
// ** your answer here **
// Yes
//
// Was the data correctly traced over the ITM?
//
// ** your answer here **
// No, it got usartrecieveoverflow
//
// 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)
//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment