Quantcast
Channel: MPLAB Simulator
Viewing all 560 articles
Browse latest View live

MPLABX Simulator - Stimulus problem (Geoff)

$
0
0
MPLAX IDE v5.05PIC16F15313Simple .asm projectmpasmx v5.81 I can set up a breakpoint which is arrived at after a stimulus to RA2 to going low. Thereafter, the stimulus commands do not work. I have to close down the IDE and restart to get the stimulus to wo..

PIC16F15313, Simulator "Invalid attempt to map pin" (Brutus)

$
0
0
Trying to get even the simplest xc8 code to run in the simulator for the PIC16F15313 goes into a loop before it enters main(). Looking at the simulator output window, I get a continuous stream of:W1600-PPS: Invalid attempt to map pin (T1G) to pin (RA4). ..

MPLAB Simulator doesn't refresh SRAM Data Memory Window (r.m)

$
0
0
Hi, Folks.I've been using MPLAB simulator to teach AVR memory architecture and Data Transfer Instructions. However, the simulator do not refresh the SRAM Data Memory Window. We Must to switch between tabs to see the update (in red). More information:Devic..

Simlator behaviour (Davefez)

$
0
0
HiThis may be obvious to seasoned users or anyone who has read the manualWhy does MPLAB X jump to a disassembly listing when I step through my code when using the simulator ? Do I need to RTFM ? Cheers..

dsPIC33CK256MP502 - Simulator doesn't halt on breakpoints (JPortici)

$
0
0
Hi george, and whoever else watches this board..I'm having issues with the simulator.MPLABX 5.25, 64bit executableXC16 v1.41, optimizations offTarget MCU dsPIC33CK256MP502 Besides there being some issues (for example, i can't turn off the WDT, i had to se..

Unit testing on PIC18 using MDB command prompt using unity. Test Executable failed. (Neroone)

$
0
0
I am trying to get a simple unit testing project using Unity ceedling and I am running it using the simulator MDB. The first test runs and then it gets stuck somewhere and fails. I am not able to see what is wrong here. After I run ceedling test:all I get..

Trying to use 2 PWM outputs at different frequency (Ushoran)

$
0
0
Hellos everyone. Im new using PICs and I'm developing a project for my college degree with the 16(L)F18425 PIC. One of the features that I need its to generate 2 PWM output with different frequencies, one at 25 KHz and the other 50 Hz. I used MCC for help..

Simulation of PIC16F18325 (CraigDee)

$
0
0
Are there any issues with the simulator ADC reading the FVR channel? I use version 5.05...

Timer1 using LFINTOSC on PIC16F1704 (leadinglights)

$
0
0
In brief, Timer1 does not seem to run when clocked by LFINTOSC in Simulator. It does run in this configuration in hardware connected to a Pickit4. It also runs in Simulator if the clock source is Fosc or Fosc/4 Additional from Simulator Watch window an..

Simulator Plug-ins (GeorgePauley)

$
0
0
With the release of MPLAB X 3.20 simulator users now have the ability to create simulator specific plug-ins! These plug-ins allow the simulator to be customized in many ways. Users can implement missing peripherals that are critical to their applications,..

Errors in simulator (bnolan)

$
0
0
Hello, I have downloaded MPLAB IDE 8.2 and the C compiler. I am going through the getting started literature and trying to running the second program: #include #pragma config WDT = OFF void main (void) { TRISB = 0; PORTB = 0; PORTB =0X5A; w..

[TO]GeorgePauley, Wrong simulator instruction cycle count (cea)

$
0
0
GeorgePauley, Wrong simulator instruction cycle count On March 9 I opened case 00282543 and Mel has responded to my request it seems he may not have enough experience to help. Please see if there is any thing you could do to help him. Tools: MPLABX v4.0..

Need clarification in Logic Analyser speed (underdogFTW)

$
0
0
This is my simple code to understand how Logic analyzer counts time:// DSPIC33EP32MC202 Configuration Bit Settings

// 'C' source line config statements

// FICD
#pragma config ICS = PGD1 // ICD Communication Channel Select bits (..

Reposted: MPLABX Cannot change variable value (teenix)

$
0
0
Hi, Sorry, I realised the original post was in incorrect Forum. Problem repeated, I have been playing with a project for months and I have always been able to change RAM variable values in the watch window when a simulation is paused. The project is built..

How to "MPLAB Mindi" definition new spice model (mustafackmk1)

$
0
0
Hi everyone,Can I a different spice model be defined in MPLAB Mindi?..

Tune hardware in simulation (v3xX)

$
0
0
Hello everyone, I tested a few old circuits of mine using MINDI (previously used ngspice, Spice) and so far I really like it. I was wondering if it is possible to 'tune' a specific element? Example: Simple transistor switch with a current limiting resisto..

Simulator only functions once per MPLABX instance (GregToombs)

$
0
0
I haveMPLAB X IDE v5.30A project for the PIC16LF15323The first time I use Debug / Debug Main Project, the simulator successfully starts and gets to a simple breakpoint. If I use Finish Debugger Session and then try to debug again, this no longer works. In..

UART Simulator works in MPLAB, but not from MDB Command Line (Nik K)

$
0
0
I am having an issue outputting a string to the UART in the simulator. When I build and run the program using the debug function in MPLAB, the results from the UART2 writes are exported to a file as expected from the settings provided in the project prope..

UART Simulator works in MPLAB, but not from MDB Command Line (Nik K)

$
0
0
I am trying to output text to the simulator's UART. In MPLAB, I load the .hex file from the project (and have even tried it with a different .hex file built outside of MPLAB) and debug it as normal. Both the window and file output methods for UART2 work a..

AD Conversion errors, Tad time and stimulus file???? (CVRIV)

$
0
0
These are the two errors I'm receiving. ADC-W0001: Tad time is less than 1.60usADC-W0008: No stimulus file attached to ADRESL for A/D. I am simulating for a PIC16F883 mcu. Im runnng the mcu at it's default 4MHz internal oscillator speed. I specified Fosc/..
Viewing all 560 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>