The Complete Electronics Lab
  • Analog,Digital,Mixed,RF, Symbolic simulation
  • Spice,HDL and S-parameter models
  • VHDL,Verilog,Verilog-A & AMS, SystemC
  • MCU simulation in mixed circuits
  • Monte-Carlo,Worst Case & Stress Analysis
  • AC & Transient Noise Analysis
  • Interactive simulation and animation
  • Virtual Instruments
  • Remote measurements
  • Distance Teaching & Learning
Tina 10 slideshow
  • Upload your designs to TINACLOUD
  • Run anywhere on any platforms
  • Download projects from TINACloud to PC
TinaCloud slideshow
Mixed HDL Simulation
  • VHDL, Verilog, SystemC
  • VHDL and Verilog Debugger
  • Verilog-A and Verilog-AMS
  • Spice & HDL in same Circuit
Tina VHDL slideshow
  • Use in office and at home
  • Use while you are mobile
  • Educational site licenses
  • Industrial site licenses
Tina student slideshow
  • MCU simulation in digital and mixed circuits
  • Hex, ASM, C, Flowchart programming
  • Hex, ASM, C, Flowchart Debugger
  • PIC, AVR, ARM, XMC, 8051, over 800 MCUs
Tina spice mcu slideshow
  • Fast multi-core analysis
  • Large number of SMPS devices
  • DC, AC and Transient Analysis
  • Startup, Input and load step
Tina SMPS slideshow
Free Trial What's new in TINACloud? What's new in TINACloud? What is TINACloud? What is TINACloud? Buy TINACloud AccessBuy TINACloud Access Buy TINA with FREE TINACloud access!Buy TINA with FREE TINACloud access!

Login TinaCloud

Microcontroller ( MCU ) circuits

TINACloud supports a lot of PIC, AVR, 8051 and ARM microcontrollers; new MCUs are constantly being added. You can see and modify the program running in the processor and, of course, you can create your own code.

There are two ways of providing the program for microcontrollers in TINACloud. You can use the binary code and debug file made by a standard compiler (e.g. MPLAB for PICs) or you can just load your assembly code to run and debug in TINACloud using its built in assembler-debugger.

Running and editing MCU code

Load the PIC Flasher.TSC circuit from the Examples\Microcontrollers\Pic folder. The following schematic using the 16F73 PIC microcontroller will appear with the 16F73 PIC microcontroller.

Click the picture to run this circuit online with TINACloud

This circuit simply counts forward one-by-one. Press the Dig button to see how it works. The display should step forward one-by one

Click the MCU component and then the ... button to see the "ASM code" line. A Property dialog will appear with the editable ASM code in it.

TINACloud has a great feature whereby you can edit and change the source code directly in TINACloud.

Lets make the following change in the code. Change the instruction (selected above) in line 25 (you can see the line number in the right bottom corner of the code editor window)

               addlw 01H


              addlw 02H

Save the changed code to TINACloud by simply pressing OK and close the open MCU window. If you press the Dig button now, the increment will be 2! Note that the changed code will be automatically saved in the TINA .TSC file.