Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

AN2737 Datasheet(PDF) 7 Page - STMicroelectronics

Part # AN2737
Description  Basic in-application programming example
PDF  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2737 Datasheet(HTML) 7 Page - STMicroelectronics

Back Button AN2737 Datasheet HTML 3Page - STMicroelectronics AN2737 Datasheet HTML 4Page - STMicroelectronics AN2737 Datasheet HTML 5Page - STMicroelectronics AN2737 Datasheet HTML 6Page - STMicroelectronics AN2737 Datasheet HTML 7Page - STMicroelectronics AN2737 Datasheet HTML 8Page - STMicroelectronics AN2737 Datasheet HTML 9Page - STMicroelectronics AN2737 Datasheet HTML 10Page - STMicroelectronics AN2737 Datasheet HTML 11Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 16 page
background image
AN2737
IAP example with I2C
7/16
1.3.3
Random read command
The random read command allows data from the Flash program memory or data EEPROM
of the STM8 to be read, starting from any address in the range 8000h—027FFFh or
4000h—47FFh respectively.
The packet sequence to achieve a ‘random read’ with the Aardvark software and the STM8
I2C is summarized in Figure 5.
Figure 5.
Random read packet sequence
Two steps are required to perform a random read with the Aardvark host adapter software.
Step1 sends the first address to be read from the firmware. This is done as follows:
1.
Select the master tabsheet, set the slave address and the bitrate, and uncheck the 10-
bit addressing mode option as per Section 1.3.2: Current read command on page 5.
2.
Enter the ‘start address’ in the ‘message window’ text box. It corresponds to the first
address to be read from the Flash program memory. For example, enter ‘00 A0 00’ if
you want to read from address A000h.
3.
Check the ‘no stop’ option.
4.
Press the ‘master write’ button to send the start address to the firmware.
At the end of this command, the firmware has initialized its internal pointer address to the
address sent above.
START
ADD SLV DEVICE-W
ACK-S
Start program address
ACK-S
Current read



Html Pages

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


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