Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
flash_blob.c
00001 /* Flash OS Routines (Automagically Generated) 00002 * Copyright (c) 2009-2019 ARM Limited 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 00017 static const uint32_t STM32F746ZG_flash_prog_blob[] = { 00018 0xE00ABE00, 0x062D780D, 0x24084068, 0xD3000040, 0x1E644058, 0x1C49D1FA, 0x2A001E52, 0x4770D1F2, 00019 0x8f4ff3bf, 0x03004770, 0x28400e00, 0x0980d302, 0x47701d00, 0x477008c0, 0x49474848, 0x49486041, 00020 0x21006041, 0x68c16001, 0x431122f0, 0x694060c1, 0xd4060680, 0x49434844, 0x21066001, 0x49436041, 00021 0x20006081, 0x483d4770, 0x05426901, 0x61014311, 0x47702000, 0x4839b510, 0x24046901, 0x61014321, 00022 0x03a26901, 0x61014311, 0x4a374939, 0x6011e000, 0x03db68c3, 0x6901d4fb, 0x610143a1, 0xbd102000, 00023 0xf7ffb530, 0x492dffc0, 0x23f068ca, 0x60ca431a, 0x610c2402, 0x0700690a, 0x43020e40, 0x6908610a, 00024 0x431003e2, 0x482a6108, 0xe0004a27, 0x68cd6010, 0xd4fb03ed, 0x43a06908, 0x68c86108, 0x0f000600, 00025 0x68c8d003, 0x60c84318, 0xbd302001, 0x4c1bb5f0, 0x08891cc9, 0x008968e5, 0x431d23f0, 0x230060e5, 00026 0x27016123, 0x4d1a06ff, 0x6923e021, 0x43334e19, 0x03066123, 0x19f60b36, 0x60336813, 0x8f4ff3bf, 00027 0xe0004e11, 0x68e36035, 0xd4fb03db, 0x085b6923, 0x6123005b, 0x061b68e3, 0xd0050f1b, 0x21f068e0, 00028 0x60e04308, 0xbdf02001, 0x1f091d00, 0x29001d12, 0x2000d1db, 0x0000bdf0, 0x45670123, 0x40023c00, 00029 0xcdef89ab, 0x00005555, 0x40003000, 0x00000fff, 0x0000aaaa, 0x00000201, 0x00000000 00030 }; 00031 00032 /** 00033 * List of start and size for each size of flash sector 00034 * The size will apply to all sectors between the listed address and the next address 00035 * in the list. 00036 * The last pair in the list will have sectors starting at that address and ending 00037 * at address start + size. 00038 */ 00039 static const sector_info_t sectors_info[] = { 00040 {0x08000000, 0x8000}, 00041 }; 00042 00043 static const program_target_t flash = { 00044 0x20000039, // Init 00045 0x20000067, // UnInit 00046 0x20000075, // EraseChip 00047 0x200000a1, // EraseSector 00048 0x200000ed, // ProgramPage 00049 0x0, // Verify 00050 00051 // BKPT : start of blob + 1 00052 // RSB : blob start + header + rw data offset 00053 // RSP : stack pointer 00054 { 00055 0x20000001, 00056 0x20000178, 00057 0x20000800 00058 }, 00059 00060 0x20000000 + 0x00000A00, // mem buffer location 00061 0x20000000, // location to write prog_blob in target RAM 00062 sizeof(STM32F746ZG_flash_prog_blob), // prog_blob size 00063 STM32F746ZG_flash_prog_blob, // address of prog_blob 00064 0x00000400 // ram_to_flash_bytes_to_be_written 00065 };
Generated on Tue Jul 12 2022 15:37:16 by
