Target device <> Selected Device????


Closed Thread
Results 1 to 6 of 6
  1. #1

    Cool Target device <> Selected Device????

    Hi, Forgive me for my question as it may seem stupid.

    I am a database programmer so I know nothing about this software but I am working on something where I need to program a Pic18F242 Microcontroller.

    I purchased the melabs serial programmer with the Zip 28/40 pin adapter.

    I am using Pic Basic Pro to write my program that will be programmed into controller.

    Anyhow, I have my serial programmer hooked up to the AC Adapter, a serial to USB cable (i dont have serial port on computer) and the ZIP adapter plugged into the serial programmer and my microcontroller plugged into the zif adapter in the pin placement that is required per their documentation (pin 1 next to zif adapter lever).

    When I go to get target information or program the controller I get an error that says target device does not match selected device. I have set my selected device in the melabs serial programming software to PIC18F2420. the software says my device id is FFFF and does not match selected device id.

    Does anyone have any suggestions on what i am doing wrong? I am lost as to the next step i need to take to proceed.

    Thanks a lot guys/gals, beers on me!

    deep

  2. #2
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    Hello Deepgfishing,

    Welcome to PBP! I might be wrong here but if memory serves me right you can't use a USB to serial adaptor with MELabs serial programmers. I went thru this last year and was told there's something in the timing that interfers with the proper operation. MELabs does have a fine USB programmer that will work with the adaptors you bought.


    BobK
    Last edited by BobK; - 19th June 2007 at 02:41. Reason: Correction.

  3. #3
    Join Date
    Jul 2005
    Location
    Midwest
    Posts
    81


    Did you find this post helpful? Yes | No

    Default

    you start off saying that you are using a 18F242 but then mention your programming software is set for a 18F2420. Is this just a typo?

    good luck

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    If it's a typo mistake, then just disable the DeviceID check.. it's not useful anyway... well it may have some advantages, but as long as you're sure that the selected device is the same as in the ZIFF...
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5


    Did you find this post helpful? Yes | No

    Smile

    Quote Originally Posted by Steve_88 View Post
    you start off saying that you are using a 18F242 but then mention your programming software is set for a 18F2420. Is this just a typo?

    good luck
    Hey guys thanks for all the replies. First off I guess I will call meLabs and see if the serial to USB adapter will work with this programmer.

    Yes, that was a typo sorry guys. Would it be okay if I shared the very simple (10 lines or so) program I wrote and see if you guys think it will work.

    Thanks,

    deepgfishing

  6. #6
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    deepgfishing, Contact me thru PM.......
    Dave Purola,
    N8NTA

Similar Threads

  1. Watchdog Timers
    By Squibcakes in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th August 2014, 18:03
  2. ICDWarn0020: Invalid target device id
    By pravec065 in forum General
    Replies: 3
    Last Post: - 4th August 2008, 13:43
  3. Replies: 8
    Last Post: - 24th April 2008, 22:19
  4. Target device does not match
    By krohtech in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 2nd February 2008, 04:20
  5. PIC18F4620 not Target Device
    By kiwipiper in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 17th October 2007, 19:42

Members who have read this thread : 1

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