Skip to content
Snippets Groups Projects
Commit d1f77301 authored by August Svensson's avatar August Svensson
Browse files

..

parent 5cacbce4
No related branches found
No related tags found
No related merge requests found
......@@ -215,11 +215,13 @@ fn main() -> ! {
//
// What did you receive, and what was the output of the ITM trace.
//
// ** your answer here **
// ** Serial: abcd
// ITM: Ok 97 Ok 98 Ok 99 Ok 100 **
//
// Explain why the buffer overflows.
//
// ** your answer here **
// ** There was no buffer overflow. I wrote 496 bytes, it failed after 336 ITM outputs.
// It failed to echo after 425 characters. **
//
// commit your answers (bare7_4)
//
......
......@@ -16,7 +16,7 @@ monitor arm semihosting enable
# send captured ITM to the file (fifo) /tmp/itm.log
# (the microcontroller SWO pin must be connected to the programmer SWO pin)
# 16000000 must match the core clock frequency
monitor tpiu config internal /tmp/itm.log uart off 16000000 # 64000000
monitor tpiu config internal /tmp/itm.log uart off 84000000 # 16000000 # 64000000
# OR: make the microcontroller SWO pin output compatible with UART (8N1)
# 8000000 must match the core clock frequency
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment