|
1 |
| -/* Flash OS Routines (Automagically Generated) |
2 |
| - * Copyright (c) 2009-2021 Arm Limited |
| 1 | +/* Flash algorithm for MIMXRT106x 8mB QuadSPI NOR Flash |
| 2 | + * |
| 3 | + * DAPLink Interface Firmware |
| 4 | + * Copyright (c) 2009-2021 Arm Limited, All Rights Reserved |
3 | 5 | * SPDX-License-Identifier: Apache-2.0
|
4 | 6 | *
|
5 | 7 | * Licensed under the Apache License, Version 2.0 (the "License");
|
|
15 | 17 | * limitations under the License.
|
16 | 18 | */
|
17 | 19 |
|
| 20 | +// Generated from 'MIMXRT106x_QSPI_4KB_SEC.FLM' (MIMXRT106x 8mB QuadSPI NOR Flash) |
| 21 | +// Originating from 'NXP.MIMXRT1062_DFP.13.1.1.pack' |
| 22 | +// digest = 4b2722f4859e5a519ee072466d51eb02e131fbffbe5d8bdffdf025e5f71923ad, file size = 2847664 |
| 23 | +// algo version = 0x101, algo size = 2880 (0xb40) |
18 | 24 | static const uint32_t MIMXRT106x_QSPI_4KB_SEC_flash_prog_blob[] = {
|
19 |
| - 0xE00ABE00, |
| 25 | + 0xe7fdbe00, |
20 | 26 | 0x4770ba40, 0x4770ba40, 0x4770ba40, 0x4770bac0, 0x4770bac0, 0x4770bac0, 0x4855b51c, 0x48559000,
|
21 | 27 | 0x08498901, 0x81010049, 0x890a4953, 0x00520852, 0x8802810a, 0x07522304, 0xda022a00, 0x439a8802,
|
22 | 28 | 0x88088002, 0xd5020740, 0x43988808, 0x484c8008, 0x6041494a, 0x6081494b, 0x22806801, 0x22204391,
|
@@ -131,20 +137,25 @@ static const program_target_t flash = {
|
131 | 137 | 0x20000125, // EraseChip
|
132 | 138 | 0x20000139, // EraseSector
|
133 | 139 | 0x20000157, // ProgramPage
|
134 |
| - 0x0, // Verify |
| 140 | + 0x00000000, // Verify |
135 | 141 |
|
136 | 142 | // BKPT : start of blob + 1
|
137 | 143 | // RSB : blob start + header + rw data offset
|
138 | 144 | // RSP : stack pointer
|
139 | 145 | {
|
140 | 146 | 0x20000001,
|
141 | 147 | 0x20000934,
|
142 |
| - 0x20008000 |
| 148 | + 0x20001400 |
143 | 149 | },
|
144 | 150 |
|
145 |
| - 0x20000000 + 0x00004000, // mem buffer location |
146 |
| - 0x20000000, // location to write prog_blob in target RAM |
147 |
| - sizeof(MIMXRT106x_QSPI_4KB_SEC_flash_prog_blob), // prog_blob size |
148 |
| - MIMXRT106x_QSPI_4KB_SEC_flash_prog_blob, // address of prog_blob |
149 |
| - 0x00000100 // ram_to_flash_bytes_to_be_written |
| 151 | + // mem buffer location |
| 152 | + 0x20001400, |
| 153 | + // location to write prog_blob in target RAM |
| 154 | + 0x20000000, |
| 155 | + // prog_blob size |
| 156 | + sizeof(MIMXRT106x_QSPI_4KB_SEC_flash_prog_blob), |
| 157 | + // address of prog_blob |
| 158 | + MIMXRT106x_QSPI_4KB_SEC_flash_prog_blob, |
| 159 | + // ram_to_flash_bytes_to_be_written |
| 160 | + 0x00000100 |
150 | 161 | };
|
0 commit comments