??? 03/20/07 07:34 Read: times |
#135353 - Use a second 8051 Responding to: ???'s previous message |
Use a 2nd 8051 (or any other microcontroller) that can receive the program code via its UART interface and program the Flash memory for the "main" 8051.
The Atmel application note "AT89C51 In-Circuit Programming" describes the principle - it demonstrates using a 2nd microcontroller to put the main 89C51 into parallel-programming mode, receive a Hex file, and program it into the main 89C51: http://www.atmel.com/dyn/resou...OC0287.PDF For programming an external Flash memory chip, you will have to add logic to hold the "main" processor in reset and, possibly, isolate it from the Flash chip. Because this uses only a standard UART connection, it will work with a PC COM port, a USB-to-serial adapter, or even via a modem! |