Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN2792 Datasheet(PDF) 6 Page - STMicroelectronics

Part # AN2792
Description  STM8A easy programmer
PDF  12 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2792 Datasheet(HTML) 6 Page - STMicroelectronics

Back Button AN2792 Datasheet HTML 2Page - STMicroelectronics AN2792 Datasheet HTML 3Page - STMicroelectronics AN2792 Datasheet HTML 4Page - STMicroelectronics AN2792 Datasheet HTML 5Page - STMicroelectronics AN2792 Datasheet HTML 6Page - STMicroelectronics AN2792 Datasheet HTML 7Page - STMicroelectronics AN2792 Datasheet HTML 8Page - STMicroelectronics AN2792 Datasheet HTML 9Page - STMicroelectronics AN2792 Datasheet HTML 10Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 6 / 12 page
background image
Bootloader description
AN2792
6/12
2.2
Peripheral settings
This section describes the hardware setting of the STM8A USART communication
peripheral.
Note:
LINUART, SPI and CAN peripherals may also be used during bootloading, however, only
one peripheral is enabled at a time; all others are disabled.
The USART settings are:
●
Data frame: 1 start bit, 8 data bit, 1 parity bit even, 1 stop bit
●
Baud rate: The baud rate is autodetected by the bootloader. When the user sends
synchronization byte, 7Fh, the bootloader automatically detects the baud rate and sets
the USART to the same baud rate. Maximum baud rate = 1 Mbps; minimum baud rate
= 4800 bps.
Mandatory: To perform the automatic speed detection, the RX line (PA4) has to be stable in
the application board.
Note:
The USART peripheral is accessible via pins PA4 (RX) and PA5 (TX).
Table 1.
Initial checking(1)
1.
After interface initialization, a write protection test is performed to avoid non-authorised reading of the
Flash program memory/data EEPROM,
Checks
Program memory
location 8000h
Bootloader
check
opt_byte 487Eh
Bootloader
check
opt_byteN
487Fh
Actual Flash program
memory status
-> Flash action
1st
XXh! = (82h or ACh)
XXh
XXh
Flash program memory
virgin
-> jump to bootloader
2nd
XXh = (82h or ACh)
55h
AAh
Flash program memory
already written
-> jump to bootloader
3rd
XXh = (82h or ACh)
XXh! = 55h
XXh! = AAh
Flash program memory
already written
-> jump to Flash program
memory reset
Table 2.
Serial interfaces associated with STM8A devices
Device
Serial interface
128 Kbyte, 96 Kbyte, 64 Kbyte, 48 Kbyte
USART, LINUART, CAN
32 Kbyte, 16 Kbyte
LINUART, SPI



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12


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