Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
chipinfo.h
1
/*
2
* LPC 2000 Loader, http://www.pjrc.com/arm/lpc2k_pgm
3
* Copyright (c) 2004, PJRC.COM, LLC, <paul@pjrc.com>
4
*
5
* This program is free software; you can redistribute it and/or modify it
6
* under the terms of the GNU General Public License as published by the
7
* Free Software Foundation; version 2 of the License.
8
*
9
* This program is distributed in the hope that it will be useful, but
10
* WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
12
* Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License along
15
* with this program; if not, write to the Free Software Foundation, Inc.,
16
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
*/
18
19
extern
char
*lpc_return_strings[];
20
24
struct
sector_info_struct
{
/* an array of */
25
int
address
;
26
int
size
;
27
};
28
32
struct
chip_info_struct
{
33
char
*
part_number
;
34
char
*
id_string
;
35
unsigned
int
ram_addr
;
36
int
chunk_size
;
37
int
num_sector
;
38
struct
sector_info_struct
*
layout
;
39
const
unsigned
int
*
bootprog
;
41
};
42
43
extern
struct
chip_info_struct
chip_info[];
chip_info_struct::layout
struct sector_info_struct * layout
layout of sectors
Definition:
chipinfo.h:38
sector_info_struct::address
int address
where each sector is located
Definition:
chipinfo.h:25
chip_info_struct::bootprog
const unsigned int * bootprog
code that boots into user program (NULL = DTR/RTS only)
Definition:
chipinfo.h:39
chip_info_struct::num_sector
int num_sector
number of flash sectors
Definition:
chipinfo.h:37
sector_info_struct
struct defining sector information
Definition:
chipinfo.h:24
sector_info_struct::size
int size
and how big it is
Definition:
chipinfo.h:26
chip_info_struct::ram_addr
unsigned int ram_addr
where to download into RAM
Definition:
chipinfo.h:35
chip_info_struct::id_string
char * id_string
id string sent by "J" command
Definition:
chipinfo.h:34
chip_info_struct
alksd
Definition:
chipinfo.h:32
chip_info_struct::part_number
char * part_number
human readable part number
Definition:
chipinfo.h:33
chip_info_struct::chunk_size
int chunk_size
download to ram chunk size
Definition:
chipinfo.h:36
Generated on Tue Nov 24 2020 19:46:49 by
1.8.17