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

X  

AN1577 Datasheet(PDF) 13 Page - STMicroelectronics

Part # AN1577
Description  This application note presents the implementation
PDF  30 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1577 Datasheet(HTML) 13 Page - STMicroelectronics

Back Button AN1577 Datasheet HTML 9Page - STMicroelectronics AN1577 Datasheet HTML 10Page - STMicroelectronics AN1577 Datasheet HTML 11Page - STMicroelectronics AN1577 Datasheet HTML 12Page - STMicroelectronics AN1577 Datasheet HTML 13Page - STMicroelectronics AN1577 Datasheet HTML 14Page - STMicroelectronics AN1577 Datasheet HTML 15Page - STMicroelectronics AN1577 Datasheet HTML 16Page - STMicroelectronics AN1577 Datasheet HTML 17Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 30 page
background image
13/30
DEVICE FIRMWARE UPGRADE (DFU) IMPLEMENTATION IN ST7 USB DEVICES
3.4.3 OVERLAP AREA
The Overlap area is not used by the Library of the FS project. So no precautions are neces-
sary for this project.
But the Library of the LS project is strongly impacted. A lot of Library functions have parame-
ters. When more than 2 bytes are used, the parameter passing is done through the Overlap
area. An overlapping problem can occur when a firmware is upgraded. See the example
below:
Initial state: the linker has placed a variable used by the application at address 50h and a var-
iable used by a Library function at address 51h. The Library and Application firmware are
written in Sectors 0, 1, 2 using an EPB programming board:
Figure 3. Initial State of Overlap area prior to DFU
The problem appears when a new application firmware is written in the Flash and the overlap
area is modified. Suppose now that the application function uses a second variable. The linker
will locate this second variable at address 51h and the Library function variable at address
52h. But in DFU programming, the Library in Sector 0 is not changed and still uses the ad-
dress 51h:
Library
(sector0)
Application 1
(sectors 1 & 2)
FLASH memory
RAM memory (Overlap area)
50h
51h



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30


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