Cleaned up some doc and memory layout
The memory layout of the s140 crept into a number of memory files, which can cause confusion.
This commit is contained in:
parent
651eec0242
commit
6e6c3cbebc
@ -32,3 +32,7 @@ cargo objcopy --release --bin b -- -O binary b.bin
|
||||
```
|
||||
cargo flash --release --bin a --chip nRF52840_xxAA
|
||||
```
|
||||
|
||||
You should then see a solid LED. Pressing button 1 will cause the DFU to be loaded by the bootloader. Upon
|
||||
successfully loading, you'll see the LED flash. After 5 seconds, because there is no petting of the watchdog,
|
||||
you'll see the LED go solid again. This indicates that the bootloader has reverted the update.
|
@ -5,7 +5,7 @@ MEMORY
|
||||
BOOTLOADER_STATE : ORIGIN = 0x00006000, LENGTH = 4K
|
||||
ACTIVE : ORIGIN = 0x00007000, LENGTH = 64K
|
||||
DFU : ORIGIN = 0x00017000, LENGTH = 68K
|
||||
RAM (rwx) : ORIGIN = 0x20000008, LENGTH = 32K
|
||||
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 32K
|
||||
}
|
||||
|
||||
__bootloader_state_start = ORIGIN(BOOTLOADER_STATE);
|
||||
|
@ -5,7 +5,7 @@ MEMORY
|
||||
BOOTLOADER_STATE : ORIGIN = 0x00006000, LENGTH = 4K
|
||||
FLASH : ORIGIN = 0x00007000, LENGTH = 64K
|
||||
DFU : ORIGIN = 0x00017000, LENGTH = 68K
|
||||
RAM (rwx) : ORIGIN = 0x20000008, LENGTH = 32K
|
||||
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 32K
|
||||
}
|
||||
|
||||
__bootloader_state_start = ORIGIN(BOOTLOADER_STATE);
|
||||
|
@ -5,7 +5,7 @@ MEMORY
|
||||
BOOTLOADER_STATE : ORIGIN = 0x00006000, LENGTH = 4K
|
||||
ACTIVE : ORIGIN = 0x00007000, LENGTH = 64K
|
||||
DFU : ORIGIN = 0x00017000, LENGTH = 68K
|
||||
RAM (rwx) : ORIGIN = 0x20000008, LENGTH = 32K
|
||||
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 32K
|
||||
}
|
||||
|
||||
__bootloader_state_start = ORIGIN(BOOTLOADER_STATE);
|
||||
|
@ -5,7 +5,7 @@ MEMORY
|
||||
BOOTLOADER_STATE : ORIGIN = 0x00006000, LENGTH = 4K
|
||||
ACTIVE : ORIGIN = 0x00007000, LENGTH = 64K
|
||||
DFU : ORIGIN = 0x00017000, LENGTH = 68K
|
||||
RAM (rwx) : ORIGIN = 0x20000008, LENGTH = 32K
|
||||
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 32K
|
||||
}
|
||||
|
||||
__bootloader_state_start = ORIGIN(BOOTLOADER_STATE);
|
||||
|
Loading…
Reference in New Issue
Block a user