Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 19 additions & 18 deletions pyocd/target/builtin/target_nRF54LM20A.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,35 +21,36 @@

# Flash algorithm as a hex string
'instructions': [
0xe7fdbe00,
0x68134a02, 0xd1fc2b01, 0x46c04770, 0x5004e400, 0x47702000, 0x47702000, 0x2501b570, 0x60254c05,
0xffeef7ff, 0x601d4b04, 0xffeaf7ff, 0x60202000, 0x46c0bd70, 0x5004e500, 0x5004e540, 0xb5702301,
0x00044d06, 0xf7ff602b, 0x2301ffdb, 0x6023425b, 0xffd6f7ff, 0x60282000, 0x46c0bd70, 0x5004e500,
0x2301b5f8, 0x000f0014, 0x00064d0a, 0xf7ff602b, 0x0022ffc7, 0x00bf08bf, 0x1b3619e7, 0x42ba1993,
0xf7ffd104, 0x2000ffbd, 0xbdf86028, 0x6019ca02, 0x46c0e7f4, 0x5004e500, 0x00000000, 0x00000000
0xe7fdbe00,
0xf8d24a02, 0x07db3400, 0x4770d5fb, 0x5004e000, 0xf7ffb508, 0x2000fff5, 0x2000bd08, 0x00004770,
0x49072001, 0xf8c1b508, 0xf7ff0500, 0xf8c1ffe9, 0x20000540, 0xffe4f7ff, 0x0500f8c1, 0xbf00bd08,
0x5004e000, 0xf242b508, 0x49080301, 0x3500f8c1, 0xffd6f7ff, 0x33fff04f, 0x23016003, 0x608b2000,
0xffcef7ff, 0x0500f8c1, 0xbf00bd08, 0x5004e000, 0xf242b538, 0x46140301, 0xf0214d0c, 0xf8c50103,
0xf7ff3500, 0x4622ffbd, 0x1b004421, 0xeb02428a, 0xd1070300, 0x20002301, 0xf7ff60ab, 0xf8c5ffb1,
0xbd380500, 0x4b04f852, 0xe7ef601c, 0x5004e000,
],

# Relative function addresses
'pc_init': 0x20000015,
'pc_unInit': 0x20000019,
'pc_program_page': 0x20000065,
'pc_erase_sector': 0x20000041,
'pc_eraseAll': 0x2000001d,
'pc_unInit': 0x2000001f,
'pc_program_page': 0x20000075,
'pc_erase_sector': 0x20000049,
'pc_eraseAll': 0x20000025,

'static_base' : 0x20000000 + 0x00000004 + 0x000000a0,
'begin_stack' : 0x20000300,
'page_size' : 0x4,
'static_base' : 0x200000B8,
'begin_stack' : 0x20003000,
'page_size' : 0x1000,
'analyzer_supported' : False,
'analyzer_address' : 0x00000000,
'page_buffers' : [0x200000b0,0x200000b4], # Enable double buffering
'page_buffers' : [0x20000100,0x20001100], # 4 KiB double buffers, 128-bit line aligned
'min_program_length' : 0x4,

# Relative region addresses and sizes
'ro_start': 0x4,
'ro_size': 0xa0,
'rw_start': 0xa4,
'ro_start': 0xb4,
'ro_size': 0x0,
'rw_start': 0xb4,
'rw_size': 0x0,
'zi_start': 0xa4,
'zi_start': 0xb4,
'zi_size': 0x0,

# Flash information
Expand Down