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 STM32F072RB_flash_prog_blob[] = { 00018 0xE00ABE00, 0x062D780D, 0x24084068, 0xD3000040, 0x1E644058, 0x1C49D1FA, 0x2A001E52, 0x4770D1F2, 00019 0x49454846, 0x49466041, 0x21006041, 0x68c16001, 0x43112214, 0x69c060c1, 0xd4060740, 0x49414842, 00020 0x21066001, 0x49416041, 0x20006081, 0x483b4770, 0x22806901, 0x61014311, 0x47702000, 0x4837b530, 00021 0x241468c1, 0x60c14321, 0x25046901, 0x61014329, 0x22406901, 0x61014311, 0x4a334935, 0x6011e000, 00022 0x07db68c3, 0x6901d1fb, 0x610143a9, 0x422168c1, 0x68c1d004, 0x60c14321, 0xbd302001, 0xbd302000, 00023 0x4926b530, 0x231468ca, 0x60ca431a, 0x2402690a, 0x610a4322, 0x69086148, 0x43102240, 0x48246108, 00024 0xe0004a21, 0x68cd6010, 0xd1fb07ed, 0x43a06908, 0x68c86108, 0xd0034018, 0x431868c8, 0x200160c8, 00025 0xb5f0bd30, 0x1c494d15, 0x68eb0849, 0x24040049, 0x60eb4323, 0x4c162714, 0x692be01a, 0x43332601, 00026 0x8813612b, 0x4b108003, 0x601ce000, 0x07f668ee, 0x692bd1fb, 0x005b085b, 0x68eb612b, 0xd004423b, 00027 0x433868e8, 0x200160e8, 0x1c80bdf0, 0x1e891c92, 0xd1e22900, 0xbdf02000, 0x45670123, 0x40022000, 00028 0xcdef89ab, 0x00005555, 0x40003000, 0x00000fff, 0x0000aaaa, 0x00000000 00029 }; 00030 00031 /** 00032 * List of start and size for each size of flash sector 00033 * The size will apply to all sectors between the listed address and the next address 00034 * in the list. 00035 * The last pair in the list will have sectors starting at that address and ending 00036 * at address start + size. 00037 */ 00038 static const sector_info_t sectors_info[] = { 00039 {0x08000000, 0x400}, 00040 }; 00041 00042 static const program_target_t flash = { 00043 0x20000021, // Init 00044 0x2000004f, // UnInit 00045 0x2000005d, // EraseChip 00046 0x200000a1, // EraseSector 00047 0x200000e3, // ProgramPage 00048 0x0, // Verify 00049 00050 // BKPT : start of blob + 1 00051 // RSB : blob start + header + rw data offset 00052 // RSP : stack pointer 00053 { 00054 0x20000001, 00055 0x20000154, 00056 0x20000800 00057 }, 00058 00059 0x20000000 + 0x00000A00, // mem buffer location 00060 0x20000000, // location to write prog_blob in target RAM 00061 sizeof(STM32F072RB_flash_prog_blob), // prog_blob size 00062 STM32F072RB_flash_prog_blob, // address of prog_blob 00063 0x00000400 // ram_to_flash_bytes_to_be_written 00064 };
Generated on Tue Jul 12 2022 15:37:16 by
1.7.2