Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN1796 Datasheet(PDF) 2 Page - STMicroelectronics

Part # AN1796
Description  FIELD UPDATES FOR FLASH BASED ST7 APPLICATIONS USING A PC COMM PORT
PDF  17 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1796 Datasheet(HTML) 2 Page - STMicroelectronics

  AN1796 Datasheet HTML 1Page - STMicroelectronics AN1796 Datasheet HTML 2Page - STMicroelectronics AN1796 Datasheet HTML 3Page - STMicroelectronics AN1796 Datasheet HTML 4Page - STMicroelectronics AN1796 Datasheet HTML 5Page - STMicroelectronics AN1796 Datasheet HTML 6Page - STMicroelectronics AN1796 Datasheet HTML 7Page - STMicroelectronics AN1796 Datasheet HTML 8Page - STMicroelectronics AN1796 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 2 / 17 page
background image
2/17
FIELD UPDATES FOR FLASH BASED ST7 APPLICATIONS USING A PC COMM PORT
1 FLASH MEMORY SECTORS
We will divide flash memory within the ST7 into two sectors by selection within the option byte
when the chip is programmed using a standard programmer. These sectors are referred to as
sector0 and sector1. The selection at program time is to decide what will be the size of
sector0, with the balance of the available memory going to sector1. The boot loader program
is less than 500 bytes in size so when programming the part select the smallest size for
sector0, which is 0.5K or 512 bytes. The only real distinction between sector0 and sector1 is
that sector0 is always write protected as it pertains to in application programming (under direct
ST7 program control). Sector0 can always be programmed by a dedicated programmer but it
cannot be written to by the MCU itself. Sector1 can be programmed either by a dedicated pro-
grammer or by software executing on the MCU itself. Sector0 is always the uppermost part of
memory so that it includes the reset and interrupt vectors (data that one always wants to be
write protected in order to make a self updateable system “bulletproof” in the face of catastro-
phes such as power failures in the middle of an update). Since the entire boot loader code and
the vectors reside in the write protected sector0 it is always possible to recover from a problem
during an update transfer by simply resetting the ST7, which will get us back to the boot
loader. The example program was written for the ST72264 which has 8K of flash so sector1
occupies from $E000 to $FDFF and sector0 from $FE00 to $FFFF.
2



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com