Problems with PIC16F18877

Discussion on both general simulation and Proteus VSM microcontroller simulation.
Locked
Microwitsch
Professional User
Posts: 4
Joined: Fri 2024-01-26 21:24

Problems with PIC16F18877

Post by Microwitsch »

Hello everyone,

I purchased Proteus 8.17/VSM for PIC16 ...the PIC16F18877 cannot be simulated with any code. Does anyone here have a simple example with working code? I think there are general problems with the config bits!?
chimimic
Expert User
Posts: 508
Joined: Tue 2006-04-11 13:31
Location: France
Contact:

Re: Problems with PIC16F18877

Post by chimimic »

Hi,
Microwitsch wrote: Fri 2024-01-26 21:52 the PIC16F18877 cannot be simulated with any code
Works here with a simple test :
Proteus_PIC16F18877_test_001a.gif
Proteus_PIC16F18877_test_001a.gif (19.35 KiB) Viewed 452 times

Code: Select all

  CPU_Init;
  LATC := $00;  Delay_ms(10);
  LATC := $FF;  Delay_ms(10);
  LATC := $00;  Delay_ms(30);
  while 1=1 do
  begin
    LATC := $AA;    Delay_ms(25);
    LATC := $55;    Delay_ms(25);
  end;
Remy
Ettore
Labcenter Staff
Posts: 2931
Joined: Fri 2006-03-03 11:56
Location: Milan
Contact:

Re: Problems with PIC16F18877

Post by Ettore »

Microwitsch wrote: Fri 2024-01-26 21:52 Hello everyone,

I purchased Proteus 8.17/VSM for PIC16 ...the PIC16F18877 cannot be simulated with any code. Does anyone here have a simple example with working code? I think there are general problems with the config bits!?
Please post your Proteus project (the .pdsprj file not the screen shot) and your code and we will have it a look.
Kind regards,
Ettore Arena - Labcenter Electronics.
Locked