+ Reply to Thread
Results 1 to 5 of 5

Thread: Simulation for 16F877A works fine at 20 Mhz but not on 4MHz

  1. #1

    Default Simulation for 16F877A works fine at 20 Mhz but not on 4MHz

    Hi,
    Can anyone please help?

    Iam using Proton IDE to program and ISIS to simulate.

    Hi, its great to see you visiting our forum. Why not try Proton Compiler for FREE?

    Download the FREE version of Proton Compiler, Its called Amicus18 and its available from HERE

    Already using proton Compiler??? Get rid of these pesky messages... get LICENSED USER STATUS




    The PIC is I propose to use is 16F877A running at 4MHz
    simulation is fine and program works OK on both 4 and 20MHz
    with the exception of:
    HRSOut "Hello World"
    which when on 20MHz send it perfectly to the virtual terminal but when on 4MHz shows rubish on the terminal.
    The fact that it works fine on 20MHz seem to indicate that all configuration settings are ok
    The processor clock frequency in the ISIS simulator is set to 4 or 20 Mhz as appropriate to co-incide with the Xtal setting in the program
    Anyone any idea as to the problem
    Thank you for your interest.


  2. If you're a Licensed user of PROTON DEVELOPMENT SUITE, apply for Licensed User Status to remove these pesky messages
     and get access to additional forum areas, Beta test downloads and more!

  3. #2
    Moderator RGV250's Avatar
    Join Date
    Aug 2005
    Location
    Kent.
    Posts
    1,711


    Default Re: Simulation for 16F877A works fine at 20 Mhz but not on 4MHz

    Hi,
    It sounds like you have a config setting incorrect, probably the OSC so try OSC = HS for 20mhz and OSC = XT for 4.
    ISIS is not so picky for those settings.

    Regards,
    Bob

  4. #3


    Default Re: Simulation for 16F877A works fine at 20 Mhz but not on 4MHz

    Hi RGV250,
    Many thanks for ur reply.
    Pse see comments on Labcentre ISIS forum. I have checked their solution and it works
    Hope this is useful
    Regards

  5. #4


    Default Re: Simulation for 16F877A works fine at 20 Mhz but not on 4MHz

    It would have been more useful if a link had been placed to the relevant Labcentre forum section.
    Regards
    Les

  6. #5
    Administrator-01 Lester's Avatar
    Join Date
    Jan 2002
    Location
    Google Earth - CB6 3PZ
    Posts
    1,437


    Default Re: Simulation for 16F877A works fine at 20 Mhz but not on 4MHz

    Hi User XMAXY123, if you complete the form here, we can update your status on the forum to licensed user.

    Note: only forum users that do not have Licensed user status can see and complete the form.
    Lester Wilson
    ---------------------------------
    Crownhill Associates Limited
    www.crownhill.co.uk
    Tel: +44 1353 749990
    Fax: +44 1353 749991
    lester@crownhill.co.uk
    ----------------------------------

+ Reply to Thread

Similar Threads

  1. Re: 16f886 will not work but a 16F876A is running fine.
    By Eddy vd Boom in forum Proton Plus Compiler v3
    Replies: 1
    Last Post: 23rd September 2011, 11:00
  2. GLCD works on simulation but not with the actual circuit
    By sayzer in forum Proton Plus Compiler v3
    Replies: 2
    Last Post: 21st June 2011, 21:39
  3. my code works in 16F877A but not on 16F887 !
    By sn00zerman in forum Proton Plus Compiler v3
    Replies: 2
    Last Post: 16th February 2011, 07:28
  4. Fine Pitch Pics Soldering
    By fanie in forum The Lounge
    Replies: 4
    Last Post: 5th September 2008, 13:07

Members who have read this thread since 16th May 2012, 17:05 : 0

Actions :  (Set Date)  (Clear Date)

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts