We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 019f392 + 2251b57 commit ff5d61dCopy full SHA for ff5d61d
src/start/exceptions.md
@@ -213,7 +213,7 @@ use cortex_m_semihosting::hio;
213
fn main() -> ! {
214
// read a nonexistent memory location
215
unsafe {
216
- ptr::read_volatile(0x3FFF_FFFE as *const u32);
+ ptr::read_volatile(0x3FFF_0000 as *const u32);
217
}
218
219
loop {}
@@ -236,14 +236,14 @@ you'll see something like this on the OpenOCD console.
236
$ openocd
237
(..)
238
ExceptionFrame {
239
- r0: 0x3ffffffe,
240
- r1: 0x00f00000,
241
- r2: 0x20000000,
+ r0: 0x3fff0000,
+ r1: 0x00000003,
+ r2: 0x080032e8,
242
r3: 0x00000000,
243
r12: 0x00000000,
244
- lr: 0x080008f7,
245
- pc: 0x0800094a,
246
- xpsr: 0x61000000
+ lr: 0x080016df,
+ pc: 0x080016e2,
+ xpsr: 0x61000000,
247
248
```
249
0 commit comments