Simulation

Coding and general discussion relating to the compiler

Moderators: David Barker, Jerry Messina

Post Reply
lubo
Posts: 8
Joined: Fri Nov 03, 2006 8:00 am

Simulation

Post by lubo » Fri Feb 09, 2007 8:46 am

Hello

I downloaded Swordfish 1.3.0.0 SE compiler but when i try to simulate Blink-1 example in Proteus it doesn't work.

Blink-1.bas was compiled successfully and the compilation results are -> 99 program bytes , 25 variable bytes used.

When i run Proteus simulation with Blink-1.hex, there are no error messages but no simulation at all. PORTD.0 doesn't change its state.

What's wrong?

Regards

TimB
Posts: 262
Joined: Wed Oct 04, 2006 7:25 am
Location: London UK

Post by TimB » Fri Feb 09, 2007 9:03 am

Are you sure the Pic is running? Did you put a pull up on the MCLR pin.

I just ran the test in ISIS and it worked fine.

lubo
Posts: 8
Joined: Fri Nov 03, 2006 8:00 am

Post by lubo » Fri Feb 09, 2007 9:09 am

:D Many Thanks TimB

Yes it's o.k now. :D

Post Reply