USB U2 Not programming ?


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2014
    Location
    CHICAGO
    Posts
    9

    Default USB U2 Not programming ?

    USB U2 Not programming ?


    Any body knows please Help:
    PS: My first languish is German
    typing on a German keyboard


    I have installed :


    PBP #3 Gold
    Micro Code Studio Plus V 5.0.0.5
    Compiler V PBPX 3.0.6.4
    MPLAB IDE V 8.85


    Programmer : USB U2 melabs 4.5. Firmware 5.9
    Chip Target info ID 09A4 (16F877)


    My problem started when I tried toprogram PIC16F88.


    So I went back to BASICs:
    I use the USB U2 melabs with a LAB-X2from meLAB
    Chip is 16F877-20/P .
    Yes power is supplied to the LAB-X2
    My programmer gets power from a poweredUSB Port


    My program is blink3x2 from meLABsample library for the LAB-X2
    When I go [program compile inMicro CodeStudio] it appears every thing is fine however
    the red programming LED on the U2Programmer is not flashing !
    And I don’t get the desired resultson the LAB-X2


    When I program from the meLABProgrammer it appears to program just
    fine [the red led isflashing].unfortunate I don’t get the desired results on the LAB-X2.
    Except now the hex code is changed!

    Code:
     ' Name        : BLINK3X2.pbp
    ' Compiler    : PICBASIC PRO Compiler 2.6
    ' Assembler   : PM or MPASM
    ' Target PIC  : 28/40-pin PIC types compatible with LAB-X2 board
    ' Hardware    : LAB-X2 Experimenter Board
    ' Oscillator  : 4MHz external crystal
    ' Keywords    : FOR NEXT
    ' Description : PICBASIC PRO program to blink 3 LEDS in sequence.
    ' 16F877
    ' Define LOADER_USED to allow use of the boot loader.
    ' This will not affect normal program operation.
    'Define LOADER_USED 1
    
     i Var Byte   ' Define loop variable
    LEDS Var PORTB  ' Alias PORTB to LEDS
       TRISB = %00000000  ' Set PORTB to all output
    mainloop:
       LEDS = 1           ' First LED on
       Pause 500          ' Delay for .5 seconds
       For i = 1 To 2     ' Go through For..Next loop 2 times
         LEDS = LEDS << 1 ' Shift on LED one to left
         Pause 500        ' Delay for .5 seconds
       Next i
       Goto mainloop      ' Go back to mainloop and blink LED forever
       End

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,598


    Did you find this post helpful? Yes | No

    Default Re: USB U2 Not programming ?

    Are the oscillator jumpers set properly on the Lab X2?

    Is the PIC installed properly?

    Robert

  3. #3
    Join Date
    Aug 2014
    Location
    CHICAGO
    Posts
    9


    Did you find this post helpful? Yes | No

    Default Re: USB U2 Not programming ?

    Are the oscillator jumpers set properly on the Lab X2?

    [No Oscillator jumpers 4 MH Crystal only]

    Is the PIC installed properly?
    [Notch in the wright direction]
    [I hope so, I puled it up and pressed it down]
    I hope so, I puled it up and pressed it down
    it reads the chip and erases.
    Only one jumper for 5k Pot

    I hope so, I puled it up and pressed it down
    it reads the chip and erases.

  4. #4
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,598


    Did you find this post helpful? Yes | No

    Default Re: USB U2 Not programming ?

    Maybe voltmeter on Lab X2 transformer jack to make sure it's working?

    Are there other chips installed on Lab X2 that might interfere?

  5. #5
    Join Date
    Aug 2014
    Location
    CHICAGO
    Posts
    9


    Did you find this post helpful? Yes | No

    Default Re: USB U2 Not programming ?

    Maybe voltmeter on Lab X2 transformer jack to make sure it's working?
    My power supply is from a regulated filtered 3A 12v Omron
    LAB_x hase a 7805 regulator
    chip has 5 v power
    Jack is working, led is on !
    Are there other chips installed on Lab X2 that might interfere?
    No no other chips are installed.


    The only reason I switch to the 16F877 was because I have one
    and I installed it in the meLab LAB-x2 board

    I want to make sure everything is from meLab and hopefully works
    together including there program samples.

    U2 programer, cable, LAB-X2 board , recommended PIC chip,
    and there sample software (blink3x2) .

  6. #6
    Join Date
    Aug 2014
    Location
    CHICAGO
    Posts
    9


    Did you find this post helpful? Yes | No

    Default Re: USB U2 Not programming ?

    Are the oscillator jumpers set properly on the Lab X2?

    [No Oscillator jumpers 4 MH Crystal only]

    Is the PIC installed properly?
    [Notch in the wright direction]
    [I hope so, I puled it up and pressed it down]
    I hope so, I puled it up and pressed it down
    it reads the chip and erases.
    Only one jumper for 5k Pot

Similar Threads

  1. USB to USB flash Drive File Copier
    By surya089 in forum USB
    Replies: 2
    Last Post: - 16th December 2012, 01:22
  2. USB to USB flash Drive File Copier
    By emildownloads in forum General
    Replies: 222
    Last Post: - 27th October 2011, 01:23
  3. usb to usb direct data transfer
    By sharath in forum USB
    Replies: 0
    Last Post: - 17th July 2011, 13:23
  4. One USB keyboard to Two USB Ports
    By picnaut in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th June 2009, 00:04
  5. USB PIC without USB Connection
    By Tissy in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 26th December 2005, 17:39

Members who have read this thread : 2

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