LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-24-2008, 09:55 PM   #1
skilambi
LQ Newbie
 
Registered: May 2008
Posts: 3

Rep: Reputation: 0
68HC11 Microcontroller programming in linux


Hi All,

I am reasonably new to microcontroller design and linux both. I recently bought a board FOX11 trainer from wytec which has a MC68HC11E1 microcontroller. It does come with an IDE that runs on windows and I can use it to program the chip.

But i really wish to use linux. I have Ubuntu 8. I installed the gnu m68hc1x sources successfully from the following site
http://www.gnu-m68hc11.org/m68hc11_pkg_rpm.php

Its working good.

However, I am completely lost as to how program the chip using linux. there is some documentation here
http://stephane.carrez.free.fr/doc/hc11_2.html#SEC15

but its not enough. I dont seem to have the "loader" installed.

How can I do this. Please be as detailed as possible.

I am sorry if I have posted this on the wrong forum. But I am thinking this is a software issue.

Thanks,
Sai.
 
Old 05-25-2008, 02:19 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Google => ("keyword 1") '68HC11 program loader linux', (no quotes)
and download loader db11 from
http://polyplex.org/electronics/db11.html
Compiles with g++ , stops with missing 'm6811-elf-as'. Don't worry the
loader has been built, when you come to that.
Other keywords for google: 'gnu x tools' 'GNU 68HC11 assembler' 'm6811-elf-as'
http://m68hc11.serveftp.org/wiki/index.php/FAQ:Assemble and
http://www.microcross.com/GNU-X-Tool...uide-v3.40.pdf
(see page 128)
Seems you also can use 'gdb' for loading, see §3 here
http://www.gnu.org/software/m68hc11/m68hc11_gdb.html
also on page 1 with "keyword 1"
Good luck !
 
Old 05-25-2008, 09:57 AM   #3
skilambi
LQ Newbie
 
Registered: May 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks So much for the quick reply.

I will try this out and let you know what happened.

Regards,
 
  


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
Use main CPU as microcontroller DeltaXFX Programming 16 11-04-2007 10:45 AM
Crosscompiling C sources for an OS-less ARM microcontroller - is it possible? winterhunter Programming 2 03-26-2007 11:30 AM
simulation 68hc11 or Intel 8086 in Suse 10.1 marcoguillen Linux - Software 0 12-08-2006 03:47 PM
Need help compiling for microcontroller jorisb Linux - Software 0 01-12-2006 04:16 PM
microcontroller programming pantera Programming 4 03-18-2005 08:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:13 AM.

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