radio_tool 0.2.1
Loading...
Searching...
No Matches
Classes | Typedefs | Variables
radio_tool::flash Namespace Reference

Classes

class  FlashSector
 
class  FlashUtil
 

Typedefs

typedef std::vector< FlashSectorFlashMap
 

Variables

const FlashMap STM32F40X
 
const FlashMap W25Q128JV = FlashUtil::MakeSimpleLayout(0x00, 0x10000, 0x100)
 
const FlashMap M25P16 = FlashUtil::MakeSimpleLayout(0x00, 0x10000, 0x20)
 

Detailed Description

This file is part of radio_tool. Copyright (c) 2020 v0l radio.nosp@m._too.nosp@m.l@v0l.nosp@m..io

radio_tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

radio_tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with radio_tool. If not, see https://www.gnu.org/licenses/.

Typedef Documentation

◆ FlashMap

typedef std::vector<FlashSector> radio_tool::flash::FlashMap

Definition at line 83 of file flash.hpp.

Variable Documentation

◆ M25P16

const FlashMap radio_tool::flash::M25P16 = FlashUtil::MakeSimpleLayout(0x00, 0x10000, 0x20)

Micron M25P16 SPI Flash (2MB) 65k Sector size (512Kbit) 32 Sectors

32 * 64k

Definition at line 176 of file flash.hpp.

◆ STM32F40X

const FlashMap radio_tool::flash::STM32F40X
Initial value:
= {
{0, 0x08000000, 0x4000},
{1, 0x08004000, 0x4000},
{2, 0x08008000, 0x4000},
{3, 0x0800c000, 0x4000},
{4, 0x08010000, 0x10000},
{5, 0x08020000, 0x20000},
{6, 0x08040000, 0x20000},
{7, 0x08060000, 0x20000},
{8, 0x08080000, 0x20000},
{9, 0x080a0000, 0x20000},
{10, 0x080c0000, 0x20000},
{11, 0x080e0000, 0x20000}
}

STM32F40X & STM32F41X Memory organization

Definition at line 143 of file flash.hpp.

◆ W25Q128JV

const FlashMap radio_tool::flash::W25Q128JV = FlashUtil::MakeSimpleLayout(0x00, 0x10000, 0x100)

Winbond W25Q128JV SPI Flash (16MB) 256 Blocks 4k Sector size 16 Sectors

(16 * 4k) * 256 Used in: DM1701, (Others?)

Definition at line 167 of file flash.hpp.