-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
When trying to read the fuse bits via dp.FUSE.low.read().bits(); (it seems like .read() may be causing the issue) the Arduino Uno halts on that line, never continuing or panicking.
It seems like this also happens when reading other fuse bits.
Is this to be expected or is this a bug? I know that the fuse bits are special however I assumed that if they are accessible in then they should also be readable, or at the very least cause a panic.
Edit: When running in release mode the program does not hang, however I've noticed that the register values aren't consistent, E.g. printing the ext register in hex will make the low registers value 0, whereas printing it as a u8 will cause the low register to be 250.
let _val = dp.FUSE.high.read().bits();
ufmt::uwriteln!(&mut serial, "high! {}", _val).unwrap();
let _val = dp.FUSE.extended.read().bits();
ufmt::uwriteln!(&mut serial, "ext! {}", _val).unwrap();
let _val = dp.FUSE.low.read().bits();
ufmt::uwriteln!(&mut serial, "low! {}", _val).unwrap();Metadata
Metadata
Assignees
Labels
No labels