Weird issue with Lab X1


Closed Thread
Results 1 to 29 of 29

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,159


    Did you find this post helpful? Yes | No

    Default

    Can't see anything wrong with it. I emailed MeLabs support, hopefully they can figure this out.

    I paid over $200 for this puppy, I finally get around to using it and it's acting funky.

    At least the USB programmer was a nice step up from the serial programmer, but darn, this hobby doesn't come cheap.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Wink

    Hi, Robert

    Could you verify which is your Osc setting ON THE CHIP by re-reading it ...

    I suppose for some reason there's no CONFIG Writing and you run your default RC osc ...
    ( option to tick somewhere for programmer ??? - MPLAB Has ! )

    For your Missing link to Antoon gadgets ...

    just try this one : http://www.sentex.ca/~mec1995/index.htm ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3
    Join Date
    Sep 2007
    Posts
    32


    Did you find this post helpful? Yes | No

    Default

    Robert, do you have an oscilloscope or frequency probe to check the actual clock frequency that's being supplied to the chip? I would start there before pursuing config settings and include files. I wouldn't be surprised, though, if the frequency corrects the instant you touch the pin with a probe.

    My gut feeling is that there is an open connection somewhere in the clock multiplier circuity. This could be as simple as a pin on the surface mount chip that was deprived of solder. This has happened occasionally (though not recently, to my knowledge) and all of the X1 boards are visually inspected for this. But... there is always the possibility that one slipped through.

    A careful visual inspection with a magnifier might yield a clue. (Picture Sherlock Holmes.)

    I received your email, but I wanted to address the issue of included header files publicly. This may help others understand PBP's compilation process.

    PBP handles the inclusion of header files automatically. This is why you have to specify the target device when you compile. If you manually include files like 16F877.BAS, 16F877.INC, M16F87X.INC, or P16F877.INC, it will cause errors.

    16F877.BAS is a PBP file that specifies memory map info, library files, etc.. It is also used to set up aliases for special compatibility, like PORTL/PORTH for BASIC Stamp. This file is created by melabs and it is always included.

    16F877.INC is an Assembly file that holds default configuration fuse settings and specifies the header file for the assembler. If the device is supported by the PM Assembler, the file holds settings for PM and MPASM. Otherwise it holds only settings for MPASM. This file is created by melabs and it is always included.

    Assembler header files hold the names and addresses of internal registers, configuration fuse information (including those mysterious labels that are used in config directives), and other stuff like bit names. Some of the MPASM header files are quite large.

    M16F87X.INC is the header file for the PM Assembler. It is included automatically if the PM Assembler is used. melabs creates these files.

    P16F877.INC is the header file for the MPASM Assembler. It is included automatically if MPASM is used. Microchip creates these files.
    Charles Leo
    microEngineering Labs, Inc.
    http://melabs.com

  4. #4
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,159


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Charles_Leo View Post
    Robert, do you have an oscilloscope or frequency probe to check the actual clock frequency that's being supplied to the chip? I would start there before pursuing config settings and include files. I wouldn't be surprised, though, if the frequency corrects the instant you touch the pin with a probe.

    My gut feeling is that there is an open connection somewhere in the clock multiplier circuity. This could be as simple as a pin on the surface mount chip that was deprived of solder. This has happened occasionally (though not recently, to my knowledge) and all of the X1 boards are visually inspected for this. But... there is always the possibility that one slipped through.

    ...

    My oscilloscope is not on hand at the moment, and I suspect the same thing will happen.

    I have a powerful magnifier somewhere, I'll have to dig it up and inspect the clock circuitry and report back.

    Thanks for description of includes, that was pretty much what I had deducted as I fumbled along yesterday.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  5. #5
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    It does sound like a bad connection/component in the osc circuit.

    How does it act it you insert a long delay at power-up?

    Say PAUSE 5000 (or longer) before turning any LEDs on?
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  6. #6
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,159


    Did you find this post helpful? Yes | No

    Default

    I had tried with 3000, 5000 didn't make a difference either.

    So I flipped the X1 over (now looking at solder side, LCD at the top end):

    - touched the oscillator lead tip on the right, no difference.
    - touched the oscillator lead tip on the left, blinking returned to normal pace.
    Last edited by Demon; - 12th March 2010 at 19:07.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  7. #7
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Now you know where to use the soldering iron.
    Dave
    Always wear safety glasses while programming.

  8. #8
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Are you using your U2 USB programmer to power the Lab-X1?
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  9. #9
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,159


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Bruce View Post
    Are you using your U2 USB programmer to power the Lab-X1?

    Nope, not possible that I know of. I'm using a 15V 1A wall adapter.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

Similar Threads

  1. Making the Lab X1 communicate with the Lab X2
    By MatthewM in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 19th June 2008, 22:26
  2. Newbie with LAB X1 timming problem
    By schlaray in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 7th November 2006, 00:30
  3. Weird compile issue 7 segment LED display
    By George in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st June 2006, 02:12
  4. 18F1320 ... Strange Memory
    By Acetronics2 in forum mel PIC BASIC Pro
    Replies: 43
    Last Post: - 9th April 2006, 09:55
  5. code conversion
    By saturnX in forum mel PIC BASIC
    Replies: 19
    Last Post: - 3rd October 2005, 17:17

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