поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AN4035 датащи(PDF) 36 Page - STMicroelectronics

номер детали AN4035
подробное описание детали  Flash programming through
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4035 датащи(HTML) 36 Page - STMicroelectronics

Back Button AN4035 Datasheet HTML 32Page - STMicroelectronics AN4035 Datasheet HTML 33Page - STMicroelectronics AN4035 Datasheet HTML 34Page - STMicroelectronics AN4035 Datasheet HTML 35Page - STMicroelectronics AN4035 Datasheet HTML 36Page - STMicroelectronics AN4035 Datasheet HTML 37Page - STMicroelectronics AN4035 Datasheet HTML 38Page - STMicroelectronics AN4035 Datasheet HTML 39Page - STMicroelectronics AN4035 Datasheet HTML 40Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 36 / 42 page
background image
Creating the Flash programming tool
AN4035
36/41
Doc ID 022669 Rev 2
6
Creating the Flash programming tool
This section covers the Flash drivers provided by STMicroelectronic®, the tool
requirements, and also suggests a functional division of the tool.
6.1
Flash programming drivers
STMicroelectronics provides a set of Flash drivers called Standard Software Driver for
C90FL Flash (SSD). These drivers are easy to use and well documented. The drivers come
in a c-array format, s-record format, and library format. For external tools, the s-record
format is the easiest to use. Instructions on how to use the s-record format set of drivers is
discussed in the next section. There are also examples of using the three driver formats
provided with the installation of the SSD.
6.2
Tool requirements
The Flash programming tool must perform several required tasks to program the Flash on
the SPC56x devices.
6.2.1
Debug and driver initialization
The first requirement is to enter debug mode followed by the appropriate initialization.
These steps must be performed every time a reset occurs or a new SPC56x device is
connected to the Flash programming tool. The steps to do this are listed below.
1.
Ensure that the JTAGC currently has control of the TAP by going through the PAUSE-
DR state. See Section 2.4.2: Test mode for details.
2.
Enable the OnCE TAP controller by the method outlined in Section 3.1: Enabling the
OnCE TAP controller.
3.
Enter debug mode during reset and enable recognition of software breakpoints as
mentioned in Section 3.5: Entering debug mode during reset.
4.
Enable external debug mode and clear the debug status bits as mention in Section 3.6:
Enabling external debug mode and other initialization.
5.
Setup the MMU as described in Section 5.2: Setting up the memory management unit.
If it is necessary depending on the device used.
6.
Initialize the internal SRAM as mentioned in Section 5.1: Internal SRAM initialization.
The next step is to load the s-record format Flash driver set. The required drivers to load are
FlashInit, SetLock, FlashProgram, and FlashErase. The other drivers are not required but
could be loaded if features other than erasing and programming are desired. The s-record
drivers all specify the start address to be 0x0 however the drivers are position independent.
The tool should load each driver into internal SRAM at a desired location. The tool is
responsible for knowing where these drivers are located in memory. Space should also be
reserved in the internal SRAM for variables needed for the driver set. For example, the
SSD_CONFIG structure is used for all drivers.
Space must be allocated for this structure. Space should also be allocated in internal SRAM
for the stack and a buffer for the data to be programmed to Flash. The drivers and variables
can be written by the method described Section 3.12: OnCE memory access or the
methods described in Section 4: Nexus Read/Write access block.



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 31 32 33 34 35 36 37 38 39 40 41 42


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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