![]() |
|
|||||||
| Embedded Systems and Microcontrollers Discussion forum for projects and working with embedded systems and microcontrollers (FPGAs, PICs, AVRs). Get help with hardware issues and embedded programming. |
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi I'm new to the forum. I've been working with various microcontrollers for the past 6 months (mainly atmel 89c51) and have done some basic projects such like LCDs and RTCs etc.
However I have been assigned a project that requires me to have one microcontroller program another by use of the tx rx termimals in port 3. So for example microcontroller 1 will be programmed to put a program (e.g real time clock etc) in the memory of microcontroller 2. So when microcontroller 2 is disconnected from microcontroller 1 and turned on it will run the real time clock program. I realize I may have worded this strangely and my experience is limited but any help given will be much appreciated. Thanks Eric |
|
#2
|
||||
|
||||
|
Welcome to the forums.
This seems like an assignment, but I moved it here as this is a more appropriate forum. In essence, the programming 8051 must do the same thing as the device programmer. If you understand how the programmer works, you can set up the second 8051 to accept the code transfer from the first.
__________________
First comes the hardware, then the software. |
|
#3
|
|||
|
|||
|
Thankyou for the friendly welcome and the quick reply. Basically I use atmel flip to transfer the hex code to the microcontroller. So to get a microcontroller to do this function instead I should try and emulate how flip works?
Sorry for my vagueness but I am lost with this one. Do you know of any resources that could get me on the right track? Thank you |
|
#4
|
||||
|
||||
|
I am not familiar with 8051''s. The data sheet should give information about how to enter program code into internal memory.
And maybe someone who knows all about it will make a more definite suggestion.
__________________
First comes the hardware, then the software. |
|
#5
|
|||
|
|||
|
You are trying to download the codes to the microcontroller. Refers to the datasheet of the specific 8051 under the programming section. There will be some timing diagram specifications to follow.
|
|
#6
|
|||
|
|||
|
i suggest you learn the serial port of the 8051, it's quite easy. be confident, you just can do it!
|
|
| Bookmarks |
| Tags |
| 8051, architecture, programming, question |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Architecture question | Peytonator | Embedded Systems and Microcontrollers | 2 | 10-28-2009 04:24 PM |
| Some Question about the Microcontroller 8051? | baba786 | Embedded Systems and Microcontrollers | 9 | 08-19-2009 11:35 AM |
| Thjis is a programming question for "c" | DanTheMan | Homework Help | 1 | 07-26-2009 10:22 PM |
| Embedded C programming in 8051 and PIC microcontroller | triplehdineshbabu | Embedded Systems and Microcontrollers | 1 | 02-16-2009 09:56 AM |
| Nube Question About Pic/MicoController Programming | kandu01 | Embedded Systems and Microcontrollers | 5 | 11-16-2008 01:06 PM |