Prices
| Support | Download
PIC10F
Simulator IDE is powerful application that supplies PIC10F developers with
user-friendly graphical development environment for Windows with integrated
simulator (emulator), Basic compiler, assembler, disassembler and debugger.
PIC10F Simulator IDE currently supports the following microcontrollers
from the Microchip PICmicro 10F, 12F and 16F product lines: 10F200, 10F202,
10F204, 10F206, 10F220, 10F222, 12F508, 12F509, 12F510, 16F505, 16F506.
Additional PIC models sharing the same architecture will be supported in
the new releases.
You
are welcome to download the fully functional evaluation copy of the software
on the downloads page.
PIC10F Simulator IDE requires a license to operate after the evaluation
period.
There
are four types of licenses available:
Personal
license for individuals grants right to one single user to use the
program on one home personal computer for non-commercial purposes.
Commercial/educational
license for business companies, educational institutions and individuals
using the software for commercial purposes grants right to the owner to
use the program on one single computer. Multiple licenses are required
for multiple computers with program installations.
Site
license grants right to the institution to use the program on all computers
located on one institution site (the most suitable choice for computer
labs).
Institution
license grants right to the institution to use the program on all computers
on all sites that belong to the institution.
Once
purchased license will be valid for all future versions of the corresponding
application.
Your
personal license is a permanent license that will enable you to use the
software on your personal computer even when you get the new machine in
the future. It is by no means linked to your present computer, but only
to your name.
PIC10F
Simulator IDE main features:
-
Main simulation interface showing internal microcontroller architecture,
-
FLASH program memory viewer, hardware stack viewer,
-
Microcontroller pinout interface for simulation of digital I/O and analog
inputs,
-
Variable simulation rate, simulation statistics,
-
Breakpoints manager for code debugging with breakpoints support,
-
PIC10F assembler, interactive assembler editor for beginners, PIC10F disassembler,
-
Powerful PIC10F Basic compiler with smart Basic source editor,
-
PIC10F Basic compiler features: three basic data types (1-bit, 1-byte,
2-byte), all standard PIC Basic language elements, high level language
support for using internal A/D converter module, software UART implementation,
I2C communication with external I2C devices, Serial Peripheral Interface
(SPI) communication, R/C servos ...
-
Configuration bits editor,
-
PC's serial port terminal for communication with real devices connected
to serial port,
-
Software UART simulation interface for software implemented UART routines,
-
Oscilloscope and signal generator simulation tools,
-
Support for external simulation modules,
-
Extensive program options, color themes, ...
PIC10F
Simulator IDE Getting Started
This
presentation will help you to test the included DEMO.BAS example and in
that way get acquainted with the most frequently used features of PIC10F
Simulator IDE.
EXAMPLE
1
- Examine
demo.bas file from the application folder. This program reads analog value
on AN0 analog input and sends formatted output to an external device using
software implemented serial communication. File demo.asm was generated
using integrated Basic compiler. File demo.hex was generated using integrated
assembler.
Define
CONF_WORD = 0x00a
Define
CLOCK_FREQUENCY = 4
Define
OSCCAL_VALUE = 0xfe
Define
SEROUT_REG = GPIO
Define
SEROUT_BIT = 1
Define
SEROUT_BAUD = 9600
Dim an0
As Byte
Dim i
As Byte
ADCON0.ANS1
= 0 'setup GP1 pin for digital purposes
loop:
Adcin 0, an0
Serout "Analog value AN0 = "
i = an0 / 100 'get number of 100s in AN0
an0 = an0 Mod 100
i = i + 48 'to get an ascii value of I
Serout i
i = an0 / 10
i = i + 48
Serout i
i = an0 Mod 10
i = i + 48
Serout i, CrLf
WaitMs 1
Goto loop
- Start
PIC10F Simulator IDE.
-
Click on Options\Select Microcontroller.
-
Select 'PIC10F222' and click on Select button.
-
Click on Tools\BASIC Compiler
-
Click on File\Open
-
Select demo.bas file and click on Open. The basic source program will be
displayed in the editor.
-
Click on Tools\Compile & Assemble & Load. The compiler will generate
demo.asm file with assembler source. The integrated assembler will assemble
that file and make demo.lst and demo.hex files. Demo.hex file will be loaded
into the simulator program memory.
-
Select the option Compact Microcontroller View from the Options menu.
-
Click on Tools\Microcontroller View. That will open the Microcontroller
View window.
-
Click on Tools\Software UART Simulation Interface.
-
On the opened window click on TX Line label and select GPIO.1 pin.
-
With similar procedure select GPIO.2 pin for the RX Line and 9600 for the
baud rate.
-
Click on Tools\Oscilloscope. That will open the four channel digital oscilloscope
window.
-
Select Fast mode from the Mode menu.
-
Click on Settings\Turn On/Off Oscilloscope Channel 1.
-
Select GPIO.1 and then click on Select.
-
Reposition the windows on the screen to get better view. If needed use
Always On Top option on the windows.
-
Select the Rate\Extremely Fast simulation rate.
-
Click on Simulation\Start. The simulation will start immediately.
-
Click on A button associated with GP0/AN0 pin.
-
Using the slider change the analog value on this pin and click on Accept
button.
-
Watch how formatted output is being displayed on the Software UART Simulation
Interface window.
-
The last three steps can be repeated.
-
The simulation can be stopped any time by clicking on Simulation\Stop.
-
Try to run the simulation in Step By Step mode while the Basic Compiler
window is opened and demo.bas file loaded in the editor. Then use Run To
Next Basic Statement command.
Software
Download:
PIC10F
Simulator IDE External Modules
PIC10F
Basic Compiler Reference Manual
Downloads
Comments
About
the Author
Support:
If
you need additional support on the above product, and you can't find the
information you need in the documentation, then please contact support
at the address below:
This
product is from: OshonSoft
http://www.oshonsoft.com
oshon AT oshonsoft.com
Back
To Top