The PIC does not start its program.


Results 1 to 37 of 37

Threaded View

  1. #1
    Ted's's Avatar
    Ted's Guest

    Lightbulb The PIC does not start its program.

    I assembled my new pic 16f628a circuitry. The PIC does not start its program.

    My checklist:

    Voltage: +5V Pin 14, Mass Pin 5 OK
    Osc 20Mhz quarz: Pin 15 and Pin 16 OK - I only have a multimeter, so what I found is that values change between 0 and +5V, I assume a sine wave.
    Program: PIC is being programmed well according to software. As usual.

    PIC Program
    Code:
    @ DEVICE MCLR_OFF
    @ DEVICE hs_osc
    @ DEVICE wdt_off
    @ DEVICE lvp_off
    @ DEVICE protect_off
    
    Define OSC 20
    INTCON = 0
    CMCON = 7
    TRISB = %00100100
    TRISA = %11111100
    
    LED_Kalib VAR PORTB.7
    LED_Halb VAR PORTB.4
    LED_Voll VAR PORTB.6
    LED_Besch VAR PORTA.0
    LED_OK VAR PORTB.0
    
    Low LED_Kalib
    Low LED_Halb
    Low LED_Voll
    Low LED_Besch
    Low LED_OK
    High LED_Kalib
    High LED_Halb
    High LED_Voll
    High LED_Besch
    High LED_OK
    Pause 500
    Low LED_Kalib
    Low LED_Halb
    Low LED_Voll
    Low LED_Besch
    Low LED_OK
    Anything missing in the checklist? Any ideas on how to solve the issue?
    Last edited by Ted's; - 26th July 2008 at 20:18.

Similar Threads

  1. Automatic VB6 to pic serial connection
    By arniepj in forum Code Examples
    Replies: 13
    Last Post: - 10th January 2008, 07:57
  2. Replies: 14
    Last Post: - 26th September 2007, 05:41
  3. Pic16f84 and RC5 kode
    By terminator in forum Bluetooth
    Replies: 5
    Last Post: - 18th June 2007, 21:40
  4. Pic Start Plus Help
    By shawn in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 7th March 2007, 03:47
  5. Output PIC module
    By freelancebee in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th September 2005, 20:10

Members who have read this thread : 0

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