数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN2737 数据表(PDF) 5 Page - STMicroelectronics

部件名 AN2737
功能描述  Basic in-application programming example
PDF  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN2737 数据表(HTML) 5 Page - STMicroelectronics

  AN2737 Datasheet HTML 1Page - STMicroelectronics AN2737 Datasheet HTML 2Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 16 page
background image
AN2737
IAP example with I2C
5/16
1.3.2
Current read command
The current read command allows data from the Flash program memory of the STM8 to be
read, starting from the current address. This address is set to 4000h after a firmware reset.
The packet sequence to achieve a ‘current read’ is summarized in Figure 2.
Figure 2.
Current read packet sequence
The following points explain how to read different bytes using the Aardvark software, starting
from the reset address (4000h):
1.
Select the master tabsheet.
2.
Set the bitrate to 100 kHz or 400 kHz using the ‘bitrate’ field and the ‘set’ button.
3.
Set the slave address to 51h (corresponding to the firmware address A2h) in the slave
address field.
4.
Uncheck the ‘10-bit addressing mode’ option because the firmware uses 7-bit
addressing mode only.
5.
Uncheck the ‘no stop’ option.
6.
Enter the number of bytes to be read in the ‘number of bytes’ field. A value from 1 to
255 can be entered.
7.
Press the ‘master read’ button.
8.
The number of bytes to be read can be changed by pressing the master read button
again.
The read values are displayed in the transaction log window of the Aardvark software.
At the end of this command, the LCD displays the message ‘reading done’.
Figure 3 illustrates points 1 to 8 of a current read command.
START
ADD SLV DEVICE-R
ACK-S
Bytes read from STM8
STOP
ACK-M
ACKF



Html Pages

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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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