Skip to content

Commit 110bdd5

Browse files
Change nRF52833 programming page size to 4 bytes.
As PyOCD and/or DAPLink might use it as the minimum programming size. This value now also matches the nrf51xxx project. As discussed in #68 (comment)
1 parent 29e4fb9 commit 110bdd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/nordic/nrf52833/FlashDev.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ struct FlashDevice const FlashDevice = {
2525
ONCHIP, // Device Type
2626
0x00000000, // Flash start address
2727
0x00080000, // Flash total size (512 KB)
28-
0x1000, // Programming Page Size (4 KB)
28+
4, // Programming Page Size (4 bytes minimum write)
2929
0, // Reserved, must be 0
3030
0xFF, // Initial Content of Erased Memory
3131
100, // Program Page Timeout 100 mSec

0 commit comments

Comments
 (0)