Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN1796 Datasheet(PDF) 7 Page - STMicroelectronics

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

AN1796 Datasheet(HTML) 7 Page - STMicroelectronics

Back Button 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 AN1796 Datasheet HTML 10Page - STMicroelectronics AN1796 Datasheet HTML 11Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 17 page
background image
7/17
FIELD UPDATES FOR FLASH BASED ST7 APPLICATIONS USING A PC COMM PORT
4 DECISION POINT
At the label “bootupwait” the program enters a five second loop where it continually polls to
see if a UART character has been received. If a character is detected then execution jumps to
the label “doupdate” where the flash memory is unlocked and the program waits patiently to
receive the S-Records update file. If the five second period expires without detection of a
UART character then execution escapes to the entry point for sector1 code (the “jp $FDFC” in-
struction). While this is a good method to use for an example program because it will run prop-
erly “out of the box” on any ST7 based system that has a RS232 port it may not be the best
choice in all situations. It may be undesirable, for example, that the system will always delay
for five seconds after power up before starting to execute the normal program or it may be dif-
ficult to arrange for the triggering character to be send to the board within five seconds after
power up reset.
One alternative method would be to dedicate a general purpose port pin to control the func-
tion. In the hardware, we could include a pull-up resistor to Vcc at the pin and provide a jumper
that would ground the pin if installed. The jumper would normally be installed and we would
only remove it if an update was desired. The code at “bootupwait” can be changed so that the
port pin is examined. If the input is logic low, execute the jump to $FDFC without delay to start
normal operation. If the pin is high then the program can wait until the jumper is re-installed
and then jump to “doupdate” to receive a new program. Normally, the jumper would always be
installed. To do an update we would remove the jumper, power up (reset) the ST7, replace the
jumper and then transmit the file. After the file has been received a cold reset will follow and,
because the jumper is installed, normal execution will commence.
If an application is tight on I/O and cannot afford to dedicate a pin to this function another ap-
proach is to insert a jumper between the output of the RS232 line receiver and the Rx input of
the ST7 and then provide a 10k pull down resistor to ground at the pin of the ST7. Normally,
the jumper would be installed. Since the normal marking state of the Rx signal is logic high, the
code at the decision point can examine the pin (as just a general I/O pin) and, if it is high, exit
normally to sector1. If the pin is low (jumper has been removed) then the program would wait
until the pin goes high, then jump to doupdate and wait to receive a new file. To perform an up-
date one would then remove the jumper and power up (reset) the ST7, install the jumper, and
then transmit the file. After the file has been received a cold reset will follow and, because the
jumper is installed, normal execution will commence.


Similar Part No. - AN1796

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
AN1790 STMICROELECTRONICS-AN1790 Datasheet
90Kb / 8P
   How to Connect ST Reset Circuits to a Microprocessor
AN1794 STMICROELECTRONICS-AN1794 Datasheet
411Kb / 34P
   PractiSPIN evaluation system configuration and set up guide
AN1797 STMICROELECTRONICS-AN1797 Datasheet
85Kb / 9P
   STR71x UART COMMUNICATION WITH A PC USING RS232
AN1798 STMICROELECTRONICS-AN1798 Datasheet
182Kb / 16P
   This application note describes
AN1799 STMICROELECTRONICS-AN1799 Datasheet
110Kb / 7P
   STR71x GPIO SCANNING A 4x4 MATRIX KEYPAD
More results

Similar Description - AN1796

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
PM0018 STMICROELECTRONICS-PM0018 Datasheet
158Kb / 10P
   ST7 Flash programming
AN1712 STMICROELECTRONICS-AN1712 Datasheet
113Kb / 14P
   GENERATING A HIGH RESOLUTION SINEWAVE USING ST7 PWMART
logo
List of Unclassifed Man...
CP321 ETC2-CP321 Datasheet
835Kb / 144P
   Power PC-based CPU Board for CompactPCI Applications
logo
STMicroelectronics
AN1445 STMICROELECTRONICS-AN1445 Datasheet
71Kb / 7P
   USING THE ST7 SPI TO EMULATE A 16-BIT SLAVE
AN969 STMICROELECTRONICS-AN969 Datasheet
64Kb / 10P
   SCI COMMUNICATION BETWEEN ST7 AND PC
AN1754 STMICROELECTRONICS-AN1754 Datasheet
135Kb / 19P
   DATA LOGGING PROGRAM FOR TESTING ST7 APPLICATIONS VIA ICC
logo
NEC
AS6133 NEC-AS6133 Datasheet
509Kb / 15P
   For PC-9800 (MS-DOS-TM Based), For IBM PC/ATTM (PC DOS-TM Based)
logo
List of Unclassifed Man...
ATJ2085 ETC1-ATJ2085 Datasheet
609Kb / 35P
   ATJ2085 is a single-chip for flash-based digital music player
logo
STMicroelectronics
AN1530 STMICROELECTRONICS-AN1530 Datasheet
75Kb / 12P
   ACCURATE TIMEBASE FOR LOW-COST ST7 APPLICATIONS WITH INTERNAL RC OSCILLATOR
logo
PhaseLink Corporation
PLL702-01 PLL-PLL702-01 Datasheet
271Kb / 8P
   Clock Generator for PowerPC Based Applications
More results


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




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   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