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

X  

AN2475 Datasheet(PDF) 21 Page - STMicroelectronics

Part # AN2475
Description  STR91xFAxxx in-application programming using UART
PDF  37 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2475 Datasheet(HTML) 21 Page - STMicroelectronics

Back Button AN2475 Datasheet HTML 17Page - STMicroelectronics AN2475 Datasheet HTML 18Page - STMicroelectronics AN2475 Datasheet HTML 19Page - STMicroelectronics AN2475 Datasheet HTML 20Page - STMicroelectronics AN2475 Datasheet HTML 21Page - STMicroelectronics AN2475 Datasheet HTML 22Page - STMicroelectronics AN2475 Datasheet HTML 23Page - STMicroelectronics AN2475 Datasheet HTML 24Page - STMicroelectronics AN2475 Datasheet HTML 25Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 37 page
background image
AN2475
IAP using the ST Flash loader
21/37
The host sends the bytes to the STR91xFA as follows:
●
Byte 1: 0x31
●
Byte 2: 0xCE
●
Wait for ACK
●
Byte 3 to byte 6: start address
●
Byte 3: MSB and byte 6: LSB
●
Byte 7: Checksum: XOR (byte 3, byte 4, byte 5, byte 6)
●
Wait for ACK
●
Byte 8: Number of bytes to be received (0 < N
≤255)
●
N +1 data bytes: (max. 256 bytes)
●
Checksum byte: XOR (N, N+1 data bytes)
●
Wait for ACK
3.2.5
Read command
This command allows the host to read the Flash Bank0 locations. When the STR91xFA
receives the Read Memory command, it transmits the ACK byte to the host. After the
transmission of the ACK byte, the STR91xFA waits for an address (4 bytes: byte 1 is the
MSB and byte 4 is LSB of the address) and for a checksum byte. This address is checked: if
the address is valid and checksum is OK, it transmits an ACK byte, otherwise it transmits a
NACK byte and exits from the command. When the address is valid and checksum is
correct, the STR91xFA sends an ACK byte and waits for the information on the number of
bytes to be transmitted (N-1 value) and for its complement (checksum). If the checksum is
correct then it transmits to the user the needed data (N bytes) starting from the received
address, otherwise it sends a NACK before exiting from the command.



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


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