LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-19-2006, 09:50 PM   #1
laleh
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Rep: Reputation: 0
load a program to hard


Hello

How load a program in micro that connected to computer to hard,
when computer turns on?

Thanks
 
Old 09-20-2006, 07:32 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
Can you provide additional information.
What type of micro, how does it interface to the computer, What OS does the micro run if any. What OS runs on the computer etc. etc.

Post any links to information on the micro.
 
Old 09-24-2006, 01:57 AM   #3
laleh
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Hello

micro is 8051 and is connected to motherboard.I want to write a program to micro and load it to hard, when computer turns on.

OS is mandrake Linux.

Thanks for considration.
 
Old 09-24-2006, 09:46 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
You still have not provided any detailed information about the microprocessor board. Can you provide any links or other information that describes how this board works. I assume this is some kind of development board for the 8051 which probably has some kind of serial port interface and bootstrap code in ROM so you can transfer programs. What do you use to write, compile/assemble code and transfer to the board? You might be able to use a simple shell script or it might require a more complicated c program.
 
Old 09-30-2006, 05:50 AM   #5
laleh
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Original Poster
Rep: Reputation: 0
A program written into a 89s51 micro(http://www.alldatasheet.com),
and the micro is on the motherboard in the end of the
parallel port and we want that this program load into hard when the computer turns on.

compiler is gcc.

Thanks for your consideration.
 
Old 09-30-2006, 08:47 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
I gather the micro is an ATMEL AT89S51 type microprocessor but still no particulars on its circuit board.
I assume by your statement:
Quote:
we want that this program load into hard when the computer turns on.
That you want to upload a program to the microprocessor when the computer turns on.

Since I do not know anything about how the board with the microprocessor works then it is difficult to provide help. You can write a c program to transfer a file via the parallel port.

http://tldp.org/HOWTO/IO-Port-Programming.html#toc6
 
Old 10-01-2006, 02:46 AM   #7
laleh
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Original Poster
Rep: Reputation: 0
I want to load written program from micro into hard of my computer.
micro link:
http://pdf1.alldatasheet.com/datashe...T89S51-24.html
 
Old 10-01-2006, 08:42 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
It is possible to read back data in programming mode as described in table 7.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to load a program in target board priya001 Linux - Kernel 0 08-28-2006 12:02 AM
Load simulator program? cferron Linux - Software 1 06-14-2006 09:20 AM
Need program to monitor SMTP load korbind Slackware 3 04-11-2005 08:32 AM
How to load program from terminal into X vincebs Linux - Software 7 01-07-2004 04:10 AM
slow program load up popcorn5714 Linux - General 1 09-03-2002 05:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration