The worst programmer ever to grace this forum - ME!


Results 1 to 40 of 50

Threaded View

  1. #9
    Join Date
    Mar 2009
    Posts
    653


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Joe S. View Post
    <br> Now as for no signs of life from your LEDs, in the PICkit2 programmer software there is a check box that must be selected to power your demo board, unless you rig a separate power line to it.
    VDD *is* present (ie I double checked, by testing the VDD test point with my Voltmeter ....when I added the Pickit 2 to PICBASIC, I quickly established that -T needed to be added to the parameter field to keep VDD on the board when the programming sequence exited.

    My LEDS are doing anying!

    Could you please outline what bit of code would need to follow your 'chaser' to raise all RCx ports high? ...

    @MyConfig = _INTRC_OSC_NOCLKOUT & _WDT_OFF & _PWRTE_ON
    @MyConfig = MyConfig & _MCLRE_ON & _BOR_OFF
    @ __config MyConfig

    DEFINE OSC 4
    PortA = 0
    PortB = 0
    PortC = 0
    TRISA = 0
    TRISB = 0
    TRISC = 0
    i var byte


    ....I'll settle for *any* illuminated LED at this stage! (flashing or not).

    The PICkit 2 board has an LED connected to pins RC0-RC3. (btw: I can handle references like PORTC.0 PORTC.1 ...but at this stage, I'm just not locking in to referencing the Port C pins on the PIC in other ways!)



    PS As a sanity check, I've just programmed up the PIC with the Microchip "rotate" hex code....all LEDs light up & chase just fine.
    Last edited by HankMcSpank; - 14th March 2009 at 21:25.

Similar Threads

  1. Melabs U2 Programmer Command Line Options
    By Robert Wells in forum General
    Replies: 5
    Last Post: - 3rd July 2009, 03:11
  2. problems with USB programmer
    By malc-c in forum General
    Replies: 7
    Last Post: - 10th May 2007, 21:14
  3. USB programmer problems
    By uiucee2003 in forum USB
    Replies: 2
    Last Post: - 16th August 2006, 00:47
  4. General Programmer Questions
    By mslaney in forum General
    Replies: 1
    Last Post: - 17th December 2004, 19:16

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