| Electronic Components Datasheet Search |
|
P83CE558EBB/YYY Datasheet(PDF) 58 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
P83CE558EBB/YYY Datasheet(HTML) 58 Page - NXP Semiconductors |
|
58 / 72 page ![]() Philips Semiconductors Preliminary specification P83CE558/P80CE558/P89CE558 Single-chip 8-bit microcontroller 1996 Aug 06 58 Figure 54. Serial programming (boot mode) Configuration 32.768 kHz +5 V 1 XTAL3 XTAL4 VDD EW PSEN P3.0/RxD ALE P89CE558 EA P3.1/TxD output of ALE pulses RS232 interface 3K3 0 ALL OTHER PINS ARE DON’T CARE RST SELXTAL1 1) VSS 1) Alternative XTAL1, 2 may be selected (SELXTAL1 = 1) 8.6 Serial Programming of FEEPROM Serial in-circuit programming (boot-mode) is entered if during and after RESET PSEN and EA are pulled down, PSEN via a resistor of 3.3 k Ohm to VSS. The two UBS bits are set to 1 by hardware and program execution starts at 0000H of the boot ROM. P3.0 (RXD) and P3.1 (TXD) form the serial RS232 interface. A baud rate of 4800 or 9600 Baud is possible, if the PLL oscillator is selected. The receive and transmit channel have the same baudrate. The format is: Startbit, 8 data bits (last bit always 0), no parity bit and at least one stopbit. The boot routine inputs the Intel Hex Object Format. The baud rate will be selected automatically after reception of the first character (:) of the object file. No other characters are allowed to preceed the first (:) character. Programming is only started if the first received record has the right type indication (TT). If the security feature is activated (contents of the security byte = 50H) then the programming starts with a Full Erase, otherwise only the addressed page(s) will be erased and the not altered bytes are rewritten. During the erase or write operation the next string of bytes can be received. Xon and Xoff handshake codes are used to control the serial transfer. At the end of the programming a message that indicates a successful or not successful programming, will be returned over the RS232 interface channel. If the programming was successful then the user program can be started up at 0000H in FEEPROM by a reset for user mode (EA = high, PSEN not affected). If the programming was not successful the boot program halts and a retry can be started by a reset for the boot mode. 8.7 Boot Routine The boot routine transmits the next “one ASCII character” messages via the RS232 interface: “ . ” After each record type TT = 00H indication in the HEX file. “ X ” Checksum error of a record in the HEX file detected. “ Y ” Wrong record type received “ Z ” Buffer overflow error (Check Xon/Xoff of terminal) “ R ” Verification error (of last written byte) “ V ” End record received and programming of FEEPROM was successful No messages are transmitted if the baud rate of the first character (:) can not be detected. The boot routine can also be started by the internal or external user program (LJMP FC07H). FMCON must be loaded previously with 40H. Interrupt registers, stack pointer, Timer 0, UART, P3.0 and P3.1 must be in the reset state. EA and PSEN must not be affected. A reset is needed to restart the user program after programming. The following baudrates will be detected automatically within the specified µC clock range in MHz. Baudrate fCLK (min) fCLK (max) 1200 1 1) 3.6 2400 2 1) 7.3 4800 4 14.7 9600 7.9 29.5 1) 19200 15.7 59 1) NOTE: 1. Value outside the specified clock range Note that the boot routines can (re) program any number of bytes from 1 byte to 32 Kbytes, independent in which order or at which location, but if the security feature is activated, a full erase is performed and all not programmed bytes become FFH. |
|
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 |
| 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 |