|
22 | 22 | // Flash layout:
|
23 | 23 | //
|
24 | 24 | // [ 0x0000_0000 - 0x0000_FFFF ]: 64 kB - bootloader
|
25 |
| -// [ 0x0001_0000 - 0x0004_FFFF ]: 256 kB - interface |
26 |
| -// [ 0x0005_0000 - 0x0005_0FFF ]: 4 kB - persistent config (cfgrom) |
| 25 | +// [ 0x0001_0000 - 0x0003_FBFF ]: 191 kB - interface |
| 26 | +// [ 0x0003_FC00 - 0x0003_FFFF ]: 1 kB - persistent config (cfgrom) |
27 | 27 | //
|
28 | 28 | // Notes:
|
29 | 29 | // 1. The interface does not extend to the end of flash because that makes the binary
|
|
34 | 34 | /* Device sizes */
|
35 | 35 |
|
36 | 36 | #define DAPLINK_ROM_START 0x00000000 // NS alias
|
37 |
| -#define DAPLINK_ROM_SIZE 0x00051000 // 64 kB BL + 256 kB IF + 4 kB config |
| 37 | +#define DAPLINK_ROM_SIZE 0x00040000 // 64 kB BL + 191 kB IF + 1 kB config |
38 | 38 |
|
39 | 39 | #define DAPLINK_RAM_START 0x20000000 // NS alias
|
40 |
| -#define DAPLINK_RAM_SIZE 0x00040000 // SRAM 0-3 |
| 40 | +#define DAPLINK_RAM_SIZE 0x00018000 // SRAM 0-1 |
41 | 41 |
|
42 | 42 | /* ROM sizes */
|
43 | 43 |
|
44 | 44 | #define DAPLINK_ROM_BL_START 0x00000000
|
45 | 45 | #define DAPLINK_ROM_BL_SIZE 0x00010000 // 64 kB bootloader
|
46 | 46 |
|
47 |
| -#define DAPLINK_ROM_CONFIG_ADMIN_START 0x00010000 |
48 |
| -#define DAPLINK_ROM_CONFIG_ADMIN_SIZE 0x00000000 |
49 |
| - |
50 | 47 | #define DAPLINK_ROM_IF_START 0x00010000
|
51 |
| -#define DAPLINK_ROM_IF_SIZE 0x00040000 |
| 48 | +#define DAPLINK_ROM_IF_SIZE 0x0002FC00 // 191 kB interface |
52 | 49 |
|
53 |
| -#define DAPLINK_ROM_CONFIG_USER_START 0x00050000 |
54 |
| -#define DAPLINK_ROM_CONFIG_USER_SIZE 0x00001000 |
| 50 | +#define DAPLINK_ROM_CONFIG_USER_START 0x0003FC00 |
| 51 | +#define DAPLINK_ROM_CONFIG_USER_SIZE 0x00000400 // 1 kB config |
55 | 52 |
|
56 | 53 | /* RAM sizes */
|
57 | 54 |
|
58 | 55 | #define DAPLINK_RAM_APP_START 0x20000000
|
59 |
| -#define DAPLINK_RAM_APP_SIZE 0x0003FF00 |
| 56 | +#define DAPLINK_RAM_APP_SIZE 0x00017F00 |
60 | 57 |
|
61 |
| -#define DAPLINK_RAM_SHARED_START 0x2003FF00 |
| 58 | +#define DAPLINK_RAM_SHARED_START 0x20017F00 |
62 | 59 | #define DAPLINK_RAM_SHARED_SIZE 0x00000100
|
63 | 60 |
|
64 | 61 | /* Flash Programming Info */
|
|
0 commit comments