From: Nathael Pajani Date: Fri, 18 May 2012 23:44:19 +0000 (+0200) Subject: Parts structure updated X-Git-Tag: v1.0~23 X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=3a90cdb668077bc8664ed479a2ab46ce28cac5ab;p=soft%2Ftools%2Flpctools Parts structure updated --- diff --git a/parts.c b/parts.c index 4df2f4c..93d7941 100644 --- a/parts.c +++ b/parts.c @@ -15,11 +15,11 @@ #include "parts.h" struct part_desc parts[] = { - /* part info | flash | ram */ - /* | nb | buffer */ - /* part_id part name | base addr size sect | base addr size off size */ - { 0x2540102B, "LPC1114FHN33/302", 0x00000000, 0x8000, 8, 0x10000000, 0x2000, 0x800, 0x400 }, - {0, NULL, 0, 0, 0, 0, 0, 0, 0}, + /* part info | flash | reset | ram */ + /* | nb | vector | buffer */ + /* part_id part name | base addr size sect | offset | base addr size off size */ + { 0x2540102B, "LPC1114FHN33/302", 0x00000000, 0x8000, 8, 0x04, 0x10000000, 0x2000, 0x800, 0x400 }, + {0, NULL, 0, 0, 0, 0, 0, 0, 0, 0}, }; diff --git a/parts.h b/parts.h index e92aa31..6357875 100644 --- a/parts.h +++ b/parts.h @@ -22,6 +22,7 @@ struct part_desc { uint32_t flash_base; uint32_t flash_size; uint32_t flash_nb_sectors; + uint32_t reset_vector_offset; /* RAM */ uint32_t ram_base; uint32_t ram_size;