c programming, MC68HC11 micro controller board simulator

This is a discussion on c programming, MC68HC11 micro controller board simulator within the C Programming forums, part of the General Programming Boards category; hi, i have to do a piece of work using the MC68HC11 micro controller board i dont suppose there is ...

  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    147

    c programming, MC68HC11 micro controller board simulator

    hi,
    i have to do a piece of work using the MC68HC11 micro controller board i dont suppose there is a simulator or something i because i dont want to spend ages in college in a hot room i wanna chill at home but i dont have the equipment. I need to make a c program and use the boards and i/o box with lights on to make them do stuff ect.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    You didn't try googling for that, then, did you? The first page of the 16000+ "finds" that google found seems to be good hits all of them, which one is best probably depends on what exactly you want.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    Mar 2008
    Posts
    147
    well im using the MC68HC11 along with a i/o box with led's on i need to make a program that interacts with the board and lights . its a burglar alarm program setting the lights to on,of flashing ect ect i just want some sort of simulator so i can test my code to see if im right i use cram to compile it then upload it to the board via hyper terminal.
    thankyou

  4. #4
    Registered User
    Join Date
    Sep 2008
    Location
    Toronto, Canada
    Posts
    1,831
    After a quickie Google seqarch I came up with this:
    http://signal.ece.utexas.edu/~arifler/wetics/#hc11

    ... but I have not tried it.

  5. #5
    Registered User
    Join Date
    Mar 2008
    Posts
    147
    thats for assembler im using c to do my program in

  6. #6
    Registered User
    Join Date
    Sep 2008
    Location
    Toronto, Canada
    Posts
    1,831
    Oh, you need a C cross-compiler which generates 68HC11 code; then a 68HC11 machine simulator.

  7. #7
    Registered User
    Join Date
    Mar 2008
    Posts
    147
    Quote Originally Posted by nonoob View Post
    Oh, you need a C cross-compiler which generates 68HC11 code; then a 68HC11 machine simulator.
    any ideas where i can get hold of these?
    i use .bat cram i think thats the compiler

  8. #8
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    the .bat is probably just a script to call on the compiler to compile the code.

    You should be able to use the compiler you have at school to do that - of course, your compiler at school may not be anywhere near "free" to take home. Many commercial compilers use licenses such that you can't just copy the code across and get a working copy - you need a license key to unlock the compiler on a particular machine.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  9. #9
    Registered User
    Join Date
    Mar 2008
    Posts
    147
    hmmm well i make the c program which turns the lights on and off blah blah blah
    i open cmd and type cram MYPROG.c it then outputs a txt file called outs19(this file is juts loads of letters and numbers im guessing its hex) i then upload the txt file to the 68hc11 using hyper terminal and the lf command then i use "send text file" once the text file has been sent i then input go 1000 and my program runs
    Last edited by fortune2k; 03-09-2009 at 06:09 PM.

  10. #10
    Registered User
    Join Date
    Sep 2008
    Location
    Toronto, Canada
    Posts
    1,831
    I guess you're not chilling at home then after all.

  11. #11
    Registered User
    Join Date
    Mar 2008
    Posts
    147
    nope!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need a second opinion - code error and i cant see it
    By bigfootneedhelp in forum C Programming
    Replies: 19
    Last Post: 10-25-2007, 06:02 AM
  2. Constructor problem
    By rebel in forum C++ Programming
    Replies: 22
    Last Post: 01-11-2006, 05:45 AM
  3. function trouble
    By rebel in forum C++ Programming
    Replies: 4
    Last Post: 12-21-2005, 04:23 AM
  4. Pick a number....
    By Salem in forum A Brief History of Cprogramming.com
    Replies: 39
    Last Post: 01-19-2003, 06:27 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21