Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
e7020e_2019
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
August Svensson
e7020e_2019
Commits
d1f77301
Commit
d1f77301
authored
6 years ago
by
August Svensson
Browse files
Options
Downloads
Patches
Plain Diff
..
parent
5cacbce4
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/bare7.rs
+4
-2
4 additions, 2 deletions
examples/bare7.rs
openocd.gdb
+1
-1
1 addition, 1 deletion
openocd.gdb
with
5 additions
and
3 deletions
examples/bare7.rs
+
4
−
2
View file @
d1f77301
...
...
@@ -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)
//
...
...
This diff is collapsed.
Click to expand it.
openocd.gdb
+
1
−
1
View file @
d1f77301
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment