Comments (1)
@BikiniBottomsVeryOwn - if you have the same hardware as the book, in 2.2 hardware, there's a note:
NOTE If GDB blocks the terminal instead of hitting the breakpoint after you issue the continue command above, you might want to double check that the memory region information in the memory.x file is correctly set up for your device (both the starts and lengths).
In which case, make sure your LENGTH
for RAM is 40k
(RAM : ORIGIN = 0x20000000, LENGTH = 40K
) and not 64k
which is the default when you clone/generate from the template.
E.g.
$ cat memory.x
/* Linker script for the STM32F303VCT6 */
MEMORY
{
/* NOTE 1 K = 1 KiBi = 1024 bytes */
FLASH : ORIGIN = 0x08000000, LENGTH = 256K
RAM : ORIGIN = 0x20000000, LENGTH = 40K
}
from book.
Related Issues (20)
- Segmentation fault HOT 1
- zsh: no such file or directory: gdb
- Apple Silicon can't install gdb, lldb instructions needed? HOT 3
- I think this repository can support more languages HOT 21
- How would one cite this book in an academic resource? HOT 5
- Where can I find the definition of the set_timer_1hz function?
- Doens't Work Verification OPENOCD
- Concurrency / Atomic access section contains factual errors HOT 6
- Discuss the usage of the `log` crate HOT 2
- Mention the critical-section crate?
- Memory-mapped Registers: does `W` give read access to the register?
- Interoperability: On the availability of `std::ffi` and `std::os::raw` in `core` HOT 1
- linking failed when using own svd2rust library
- Is there a procedure required to translate the repository into another language? HOT 11
- Links to other resources HOT 2
- Tooling page is significantly outdated HOT 4
- Very bad advice - off putting - in 10.2: A little Rust with your C HOT 3
- Bad example to show indices begin at 0
- After tool setup, Openocd quits before connecting HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from book.