Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 23rd June 2009, 02:20 PM   #1
Default 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?
yohanevindra is offline  
Old 23rd June 2009, 02:30 PM   #2
Default

MPLAB already contains a simulator.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 23rd June 2009, 02:31 PM   #3
Default

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

http://www.blueroomelectronics.com/
blueroomelectronics is offline  
Old 23rd June 2009, 05:30 PM   #4
Default

which means i can simulate stuff like a LCD and seven segment display and other hardware with the software alone?
yohanevindra is offline  
Old 23rd June 2009, 05:42 PM   #5
Default

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

http://www.blueroomelectronics.com/
blueroomelectronics is offline  
Old 23rd June 2009, 06:20 PM   #6
Default

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.
millwood is offline  
Old 24th June 2009, 02:34 AM   #7
Default

As already said, Oshonsoft PIC Simulator is very good, simulating LCDs and even stepper motors.
monkeybiter is offline  
Old 24th June 2009, 03:26 AM   #8
Default

Also Boostc has simulators. I would use C not asm, but depends some on your course.
Russ Hensel is offline  
Old 18th August 2009, 08:38 AM   #9
Default

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?
yohanevindra is offline  
Old 18th August 2009, 08:59 AM   #10
Default

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/
ericgibbs is offline  
Old 18th August 2009, 09:37 AM   #11
Default

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?
yohanevindra is offline  
Old 18th August 2009, 10:52 AM   #12
Default

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/
ericgibbs is offline  
Old 19th August 2009, 09:52 AM   #13
Default

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.
yohanevindra is offline  
Reply

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



All times are GMT. The time now is 04:06 PM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker