+ Reply to Thread
Results 1 to 13 of 13

Thread: PIC simulation software

  1. #1
    yohanevindra Newbie
    Join Date
    Nov 2008
    Location
    Sydney, Australia & Colombo, Sri Lanka
    Posts
    93

    PIC simulation software

    I have this unit at university next semester where I will be doing programming with PICs. I think its the 18F series. Can anyone recommend a good PIC simulator software that I can use since I plan to familiarise myself with the stuff a bit?


  2. #2
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,370

    MPLAB already contains a simulator.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  3. #3
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,565
    Blog Entries
    5

    MPLAB and Oshonsoft both have PIC simulators.
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

  4. #4
    yohanevindra Newbie
    Join Date
    Nov 2008
    Location
    Sydney, Australia & Colombo, Sri Lanka
    Posts
    93

    which means i can simulate stuff like a LCD and seven segment display and other hardware with the software alone?

  5. #5
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,565
    Blog Entries
    5

    With the Oshonsoft simulator yes, it has LCD, LEDs, switches etc...
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

  6. #6
    Banned millwood Good millwood Good
    Join Date
    Jun 2009
    Posts
    191

    it all depends on what you mean by simulation.

    most of the toolchains out there can be used to step through the execution, and allow you to watch the registers / variables / GPIO, etc.

    very few of them will actually allow you to hook up a LCD (graphics or character) to the MCU, run your program on the MCU and see how the LCD reacts to it.

    the most used "simulator" that includes both mcus and lcd displays is Proteus by LabCenter. it is a mixed signal simulator, and has a few MCU families (pic, 8051, arm, for example), and some lcd models, and of course transistors, led, etc.

    multisim (available from NI) does some of that as well, on a very limited basis.

  7. #7
    monkeybiter Good monkeybiter Good
    Join Date
    Oct 2006
    Location
    doncaster, u.k.
    Posts
    200

    As already said, Oshonsoft PIC Simulator is very good, simulating LCDs and even stepper motors.

  8. #8
    Russ Hensel Okay
    Join Date
    Sep 2007
    Location
    South Dartmouth
    Posts
    113

    Also Boostc has simulators. I would use C not asm, but depends some on your course.

  9. #9
    yohanevindra Newbie
    Join Date
    Nov 2008
    Location
    Sydney, Australia & Colombo, Sri Lanka
    Posts
    93

    i have got oshonsoft and it has its own assembler....

    but how do you run projects written in C in oshonsoft?do i need any other software?or do i need another simulator?

  10. #10
    ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent
    Join Date
    Jan 2007
    Location
    Hampshire. England.
    Posts
    10,454
    Blog Entries
    9

    Quote Originally Posted by yohanevindra View Post
    i have got oshonsoft and it has its own assembler....

    but how do you run projects written in C in oshonsoft?do i need any other software?or do i need another simulator?
    hi,
    If your 'C' compiler produces an 'hex' file of the program, load this into Oshonsoft using File/Load Program.

    Ensure that Oshonsoft is set for the correct PIC, clock rate etc, before loading the program.

    Its also possible to load hex files from OS into MPLAB IDE by using the MPLAB Import.

    OK.
    Eric " Good enough is Perfect "
    I will NOT answer PM's requesting technical help, please use the Forum
    PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/

  11. #11
    yohanevindra Newbie
    Join Date
    Nov 2008
    Location
    Sydney, Australia & Colombo, Sri Lanka
    Posts
    93

    the C compiler i was thinkin of using was either visual studio or context.....

    so basically i writ the program in C in MPLAB then build it and import it into OS?there's such a function in OS?

  12. #12
    ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent
    Join Date
    Jan 2007
    Location
    Hampshire. England.
    Posts
    10,454
    Blog Entries
    9

    Quote Originally Posted by yohanevindra View Post
    the C compiler i was thinkin of using was either visual studio or context.....

    so basically i writ the program in C in MPLAB then build it and import it into OS?there's such a function in OS?
    If the C in MPLAB creates an 'hex' file then use Oshonsoft File/Load Program and run the hex file.

    There are no 'C' functions in OS. Assembler or Basic only.
    Eric " Good enough is Perfect "
    I will NOT answer PM's requesting technical help, please use the Forum
    PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/

  13. #13
    yohanevindra Newbie
    Join Date
    Nov 2008
    Location
    Sydney, Australia & Colombo, Sri Lanka
    Posts
    93

    If i jus select the proper include files and the proper microcontroller, will i be able to still compile and build a code written in assembly or C using MPLAB without it being connected to any boards?

    also, my friend tried typin out a macro in the OS assembler and it didnt work.. it also doesnt accept "RST" and "UDATA" within the code and generates errors when they're present.

+ Reply to Thread

Similar Threads

  1. anyone know of Inverter simulation software
    By JAMES IRVINE in forum Electronic Projects Design/Ideas/Reviews
    Replies: 14
    Latest: 29th April 2008, 03:23 PM
  2. best simulation software
    By capone in forum Electronic Projects Design/Ideas/Reviews
    Replies: 7
    Latest: 15th November 2007, 01:05 AM
  3. Simulation Software??
    By Carnivore in forum General Electronics Chat
    Replies: 7
    Latest: 7th January 2007, 10:32 PM
  4. Circuit Simulation Software
    By raphaelriv in forum General Electronics Chat
    Replies: 4
    Latest: 24th August 2006, 01:45 AM
  5. breadboard simulation software
    By xjackal in forum General Electronics Chat
    Replies: 10
    Latest: 21st July 2003, 10:20 AM

Tags for this Thread