No program response, including config instructions


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,656


    Did you find this post helpful? Yes | No

    Default Re: No program response, including config instructions

    From your version my suspicion is focused on my missing the DEFINE NO_CLRWDT 1
    your suspicion is totally unfounded . i assumed you had a "valid" reason for not using the WDT
    [DEFINE NO_CLRWDT 1 ] simply stops the compiler adding unnecessary CLRWDT commands to the resulting code
    and potentially wasting code space .

    to get the best possible results from the forum you need to post the actual code you are using {in code tags}
    not some hacked up version full of typo's .


    when it comes to programing rubbish in ..... rubbish out , and just 1 bit can do it

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: No program response, including config instructions

    Richard,

    Thanks for your comments. We are not all perfect, but I shall try to do better next time re typos. .

    I copied by cut and paste then compiled your code exactly as you sent it.

    The result was the same. No reaction from the Pic. Nor from five of its mates. So unless I have a bad batch of Pics, as you say I have one bit of rubbish that is preventing the program working. Since the body of the program is so simple this suggests the rubbish is somewhere above that.

    Attached is a sample screen shot from the analyser. The power supply is on channel 7 (Purple) and the expected output on channel 6 (Blue). The trigger is channel 7.

    The output shows a single short output pulse when the power comes on, then a delay of about 2.5 seconds before going High. Then nothing until the power is turned off. Collecting a sample for longer is just the same - the shift Low of the output pin just moves out to when the power is turned off.

    An suggestions please?
    Attached Images Attached Images  

  3. #3
    Join Date
    May 2013
    Location
    australia
    Posts
    2,656


    Did you find this post helpful? Yes | No

    Default Re: No program response, including config instructions

    when I pgm chip with pickit2 I get this.
    the problem is not the code .
    Attached Images Attached Images  
    Warning I'm not a teacher

  4. #4


    Did you find this post helpful? Yes | No

    Default Re: No program response, including config instructions

    Richard,

    Thanks for the prompt reply.

    In some ways it is a relief to know it is not the code. That is a big step forward.

    As per my first post I had tried two different programmers, both from the same origin. I also tried an older version of MPLAB (which I had had programming success) and a download of the latest version. No success with any combination.

    I shall wend my way carefully and methodically through re-installation and settings again, including trying the job on the (retired) 32 bit PC that previously yielded success. All while I wait for delivery of a new programmer I ordered on suspicion.

    I really am getting too old for all this. In retirement things are supposed to go smoothly!

    Thanks again for your help.

Similar Threads

  1. how to read sine wave response from sensor
    By klaus1 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 23rd April 2011, 20:51
  2. Easy HID Command -Response application
    By ptig185 in forum USB
    Replies: 25
    Last Post: - 22nd September 2010, 19:56
  3. DS1994 memory response problem
    By chika in forum Off Topic
    Replies: 7
    Last Post: - 28th March 2007, 22:35
  4. ad pot fastest response!
    By Alaskanphoenix in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 26th July 2006, 22:21
  5. No Modem response
    By jimboho in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 11th November 2004, 05:58

Members who have read this thread : 1

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