All About Circuits Forum  

Go Back   All About Circuits Forum > Software, Microcomputing, and Communications Forums > Embedded Systems and Microcontrollers

Notices

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.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 03-11-2010, 12:10 PM
Eric90 Eric90 is offline
New Member
 
Join Date: Mar 2010
Posts: 2
Default 8051 architecture programming question

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
Reply With Quote
  #2  
Old 03-11-2010, 12:29 PM
beenthere's Avatar
beenthere beenthere is offline
Super Moderator
 
Join Date: Apr 2004
Location: Missouri, USA (GMT -6)
Posts: 12,954
Blog Entries: 10
Default

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.
Reply With Quote
  #3  
Old 03-11-2010, 04:24 PM
Eric90 Eric90 is offline
New Member
 
Join Date: Mar 2010
Posts: 2
Default

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
Reply With Quote
  #4  
Old 03-11-2010, 05:30 PM
beenthere's Avatar
beenthere beenthere is offline
Super Moderator
 
Join Date: Apr 2004
Location: Missouri, USA (GMT -6)
Posts: 12,954
Blog Entries: 10
Default

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.
Reply With Quote
  #5  
Old 03-18-2010, 06:45 AM
Arm_n_Legs Arm_n_Legs is offline
Senior Member
 
Join Date: Mar 2007
Posts: 112
Default

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.
Reply With Quote
  #6  
Old 03-18-2010, 07:44 AM
466576266 466576266 is offline
New Member
 
Join Date: Mar 2010
Posts: 9
Default

i suggest you learn the serial port of the 8051, it's quite easy. be confident, you just can do it!
Reply With Quote
Reply   Post New Thread

Bookmarks

Tags
, , ,

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 10:21 PM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License. Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.