Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Microcip PIC simulator that can do this?

Status
Not open for further replies.

glenjoy

Banned
Joined
Jan 1, 2004
Messages
962
Helped
72
Reputation
146
Reaction score
20
Trophy points
1,298
Location
Philippines
Activity points
0
real pic simulator serial

Is there a simulator that you will run on your PC but when you control the UART of the microcontroller, it gives an exact output of data at the RS232 of the PC and also can receive a data at the RS232 of PC?
 

microcip

Hi,

If you are using the MPLAB from Microchip then go to thier web site and read about: SCL Generator. You can also use the help of the MPLAB.
It will not give you full access to the port ( only to a file ) but you can write another code that will write to that file from the external port....

Good luck.
 

proteus pic simulator

Proteus VSM COM Port Model

The COM port model allows a VSM simulation access to the one of the real,
physical COM ports (e.g. COM1, COM2, etc.) of the PC it is running on so
allowing the simulation to interact with real hardware. Incoming serial data is
buffered and presented to the circuit as a digital signal, whilst serial digital data
generated by a CPU or UART model appears at the PC's physical COM port. The
COM port model can perform baud rate translation and as well as hardware or
software handshaking on both the physical and virtual sides of the device.

More on official web page:

h**p://www.labcenter.co.uk/
 

oshonsoft coff

kima said:
Proteus VSM COM Port Model

The COM port model allows a VSM simulation access to the one of the real,
physical COM ports (e.g. COM1, COM2, etc.) of the PC it is running on so
allowing the simulation to interact with real hardware. Incoming serial data is
buffered and presented to the circuit as a digital signal, whilst serial digital data
generated by a CPU or UART model appears at the PC's physical COM port. The
COM port model can perform baud rate translation and as well as hardware or
software handshaking on both the physical and virtual sides of the device.

More on official web page:

h**p://www.labcenter.co.uk/

Really? Have you tried it? Can eleaborate more on how to do it?

Added after 1 hours 21 minutes:

hassan1980 said:
This is the pic simulator

www.oshonsoft.com

What can your PIC Simulator contribute to my query?
 

pic hex simulator

All project, based around pic microcontroller, i am working in Proteus VSM

using COMPIM for connection with external hardware.

The last one was SMS control device.

For watching data transmit and recive trought COM port you could use

proteus peripheral model virtual terminal or some program for

monitoring serial port like serial monitor.


h**p://www.hhdsoftware.com/sermon.html
 

pic simulator proteus

kima said:
All project, based around pic microcontroller, i am working in Proteus VSM

using COMPIM for connection with external hardware.

The last one was SMS control device.

For watching data transmit and recive trought COM port you could use

proteus peripheral model virtual terminal or some program for

monitoring serial port like serial monitor.


h**p://www.hhdsoftware.com/sermon.html

I am asking you about the steps, not on the PORT monitoring by a third party software. I said simulator that while simulating you can access the "PHYSICAL SERIAL PORT".
 

pic simulator serial

OK - the COMPIM model essentially bridges the gap between the physical COM Port on the PC and the VSM simulation.

Basic Setup would be as follows :

- Draw the schematic to be simulated.
- Write the program for the MCU, compile and attach in the normal way (presumably using fred.cof for example as the program property if you are compiling with MPLAB).
- Place the COMPIM part and wire as appropriate into your schematic (bear in mind that the COMPIM model represents a DCE on the schematic).
- Edit the COMPIM schematic part and configure properties including Physical COM port to be mapped to, physical and virtual baud rates (the data is buffered so these can be different), etc..
- From this dialogue you can click the help button for assistance on property configuration/ modes of operation, etc...
- Connect appropriate hardware to the correct COM Port and configure as required.
- Press play to simulate.

Iain.
 

    glenjoy

    Points: 2
    Helpful Answer Positive Rating
variables pic simulation

Thank you.

Why should the COFF file must be used instead of the HEX file?
 

compim+proteus

The HEX file will do if what you want is free run simulation.

The COF file however, contains additional symbolic debug information (such as C source code, variables & variable scopes and adress information for source ). This allows us to marry all the information and provide source level stepping at either C or ASM level, breakpoints, variables display and the other usual debugging tools.

Basically, we need more information that the HEX file produces in order to provide a more advanced debugging environment. Any number of such formats exist (UBROF, COF, COD, OMF51, ELF/DWARF etc...) but COF can be produced by MPLAB and is fully supported.

Iain.
 

real pic simulator serial code

Thanks Iain

I never do that yet.
 

pic simulators which can be worked in pc

Another solution is "Real Pic Simulator" available from
https://digitalelectrosoft.com
It has a serial port component that can be bridged with the PC serial port.
You can user com0com(.sourceforge.net) free to create 2 virtual serial ports.
Cheers
 

Re: pic simulators which can be worked in pc

kcsoft said:
Another solution is "Real Pic Simulator" available from
https://digitalelectrosoft.com
It has a serial port component that can be bridged with the PC serial port.
You can user com0com(.sourceforge.net) free to create 2 virtual serial ports.
Cheers

Anyone have the version 1.3 of "Real Pic Simulator"?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top