![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #1 |
|
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 |
|
MPLAB already contains a simulator.
| |
| |
| | #3 |
|
MPLAB and Oshonsoft both have PIC simulators.
| |
| |
| | #4 |
|
which means i can simulate stuff like a LCD and seven segment display and other hardware with the software alone?
| |
| |
| | #5 |
|
With the Oshonsoft simulator yes, it has LCD, LEDs, switches etc...
| |
| |
| | #6 |
|
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 |
|
As already said, Oshonsoft PIC Simulator is very good, simulating LCDs and even stepper motors.
| |
| |
| | #8 |
|
Also Boostc has simulators. I would use C not asm, but depends some on your course.
| |
| |
| | #9 |
|
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 | |
| Quote:
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 |
|
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 | |
| Quote:
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 |
|
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. | |
| |
|
| Tags |
| pic, simulation, software |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| anyone know of Inverter simulation software | JAMES IRVINE | Electronic Projects Design/Ideas/Reviews | 14 | 29th April 2008 03:23 PM |
| best simulation software | capone | Electronic Projects Design/Ideas/Reviews | 7 | 15th November 2007 01:05 AM |
| Simulation Software?? | Carnivore | General Electronics Chat | 7 | 7th January 2007 10:32 PM |
| Circuit Simulation Software | raphaelriv | General Electronics Chat | 4 | 24th August 2006 01:45 AM |
| breadboard simulation software | xjackal | General Electronics Chat | 10 | 21st July 2003 10:20 AM |