blink a single led


Closed Thread
Results 1 to 28 of 28

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Posts
    85


    Did you find this post helpful? Yes | No

    Default Re: blink a single led

    TKS for ur reply,
    no way. power supply and every thing is ok
    the chip was programmed a month ago is ok (on the bread board and on the circuit), just after last month, every thing is corrupted ( even on the sam breadboard connection or the same pcb)
    i reprogram mplab and pbp but no help

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: blink a single led

    What has changed on the PC and programmer? In post#1 you said "programmer is just updated to 5.1 last night". if you mean that you updated the firmware in the programmer, then try reverting to the previous version.

    BTW RMW hardly an issue with 1 sec between writes.
    George

  3. #3
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: blink a single led

    The program writes the entire port anyway

  4. #4
    Join Date
    Apr 2008
    Posts
    85


    Did you find this post helpful? Yes | No

    Default Re: blink a single led

    tks all,
    after several attempts during a month, i tried to update the programmer firmware just a day ago.

  5. #5
    Join Date
    Apr 2008
    Posts
    85


    Did you find this post helpful? Yes | No

    Default Re: blink a single led

    HELLO,
    HOW CAN I VERYFY a progrmmer be good or bad?
    after reading the hex file from the chip,
    the hex file from the compiler seems identical to that of re-reading from the chip.

    in other articles in the forum also mentioned this.
    such as mplab rewrite a new way of writing fuses

    CONFIG FOSC = INTIO67, FCMEN = OFF, IESO = OFF
    instead of
    __CONFIG _CONFIG1H, _FOSC_INTIO67_1H &..
    when the compiler compile the pbp file which 1 is included
    i add the second way to the beginnig of a program:
    __CONFIG _CONFIG1H, _FOSC_INTIO67_1H &..
    is that the reason the program to be shut down?
    any help i do appriciate,
    thks

  6. #6
    Join Date
    May 2013
    Location
    australia
    Posts
    2,680


    Did you find this post helpful? Yes | No

    Default Re: blink a single led

    HOW CAN I VERYFY a progrmmer be good or bad?
    erase "blank" the chip , verify chip is blank
    reprogram chip , verify program against hex file
    Warning I'm not a teacher

  7. #7
    Join Date
    Apr 2008
    Posts
    85


    Did you find this post helpful? Yes | No

    Default Re: blink a single led

    TKS FOR YOUR REPLY,
    I did it maytimes but in vain,

    the chip was programmed before a month a go run well on both breadboard and pcb
    but the chip programmed (the same program) later has not run at all on both breadboard and pcb
    now program is reduce to a signle led to be easy to control but not run at all.
    this happened some years ago but now i forgot how to fix it (nothing to fix as i remember) but now i have to find out the root of a problem

Similar Threads

  1. Single PIC to Blink 5 LEDs Independently?
    By RossWaddell in forum mel PIC BASIC Pro
    Replies: 68
    Last Post: - 18th July 2015, 17:56
  2. need led blink program
    By asifiqbal in forum General
    Replies: 6
    Last Post: - 4th March 2014, 12:26
  3. blink led 12f683
    By mel4853 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 19th January 2010, 23:39
  4. Single digit 7 Seg LED clock - PIC16F88
    By thirsty in forum Code Examples
    Replies: 4
    Last Post: - 17th July 2009, 09:42
  5. 10f206 Blink led
    By Bonxy in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 10th November 2005, 21:01

Members who have read this thread : 0

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

Tags for this Thread

Posting Permissions

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