??? 06/20/05 06:13 Read: times |
#95315 - two different bootloaders Responding to: ???'s previous message |
hi,
Walter Scott said:
i want to program T89C51CC02 CAN bootloader using flop via RS-232 tell me the pin connection entering can bootloader mode and its connection with PC and what IC should i use as an iterface with PC either MAX232 or PCA82c250?
T89C51CC02 are produced with two different types of bootloader: CAN and UART. 1) CAN bootloader uses RxDC and TxDC pins for connecting to Controller Area Network via appropriate transceiver, for example, PCA82c250 mentioned by you. As Andrew said, to upload program from PC to CC02 via CAN you need with CAN interface - CAN card or other device which can drive CAN. 2) UART bootloader uses RxD and TxD pins for connecting to RS-232 line generally. In fact, it may be RS422/485 or any other serial channel; in practice PC is connected to UART bootloader via COM-port and MAX232-like IC. Any T89C51CC02 has either CAN or UART bootloader factory built-in. As result you should select appropriate device when buying them. As alternative I may suggest to use parallel programmer. Because T89C51CC02 has bootloader placed into extra 2K Flash memory so this is not hard to change bootloader from CAN to UART one with parallel programmer. I did it many times with CC01 devices. Now the links: Datasheets, Errata, Flip, related links UART bootloader source codes (Keil) and ready-for use *.hex file for parallel programmer the same as above for CAN bootloader Regards, Oleg |
Topic | Author | Date |
T89C51CC02 CANbootloader | 01/01/70 00:00 | |
Use a CAN interface | 01/01/70 00:00 | |
two different bootloaders![]() | 01/01/70 00:00 |