+ Reply to Thread
Results 1 to 12 of 12

Thread: Inchworm Problem

  1. #1
    Jirka46 Newbie
    Join Date
    Jan 2007
    Posts
    21

    Angry Inchworm Problem

    I just finished building new inchworm+ programmer. When I tried to conect it to my computer I get whole bunch of errors most of which I do not know what they mean. My MPlab is 7.52.

    Here is part of it:
    ICD0133: Firmware does not support command (0x1).
    ICD0082: Failed MPLAB ICD 2 operation
    MPLAB ICD 2 Ready
    Downloading Operating System
    ICDWarn0054: MPLAB IDE has lost communications with the MPLAB ICD 2. Would you like to attempt to reconnect?
    Connecting to MPLAB ICD 2
    ...Connected
    ICD0133: Firmware does not support command (0x1).
    ICD0082: Failed MPLAB ICD 2 operation
    ICD0082: Failed MPLAB ICD 2 operation
    ...Download Operating System Failed
    ICD0029: Connected tool is not an MPLAB ICD 2: Product ID = 0x0 (MPLAB ICD (1))
    ICD0133: Firmware does not support command (0x8).
    ICD0082: Failed MPLAB ICD 2 operation
    ICD0133: Firmware does not support command (0x1).
    ICD0082: Failed MPLAB ICD 2 operation
    ICD0133: Firmware does not support command (0x2C).
    ICD0082: Failed MPLAB ICD 2 operation
    ICD0133: Firmware does not support command (0x7).
    ICD0082: Failed MPLAB ICD 2 operation
    MPLAB ICD 2 Ready

    If anybody can help i will appreciate it very much.
    Thank you Jirka


  2. #2
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,701
    Blog Entries
    5

    Default

    Are you using a USB to RS232 adapter? Did you reboot after turning off the COM port FIFO buffers? Is it set to com 1 or com2? Does the ST232 feel hot?
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

  3. #3
    Jirka46 Newbie
    Join Date
    Jan 2007
    Posts
    21

    Default

    I am using serial port COM1, I did reboot after setting FIFO off and both IC's feel cool. Vdd is 4.87V and Vpp is 12.91.
    Jirka

  4. #4
    eng1 Excellent eng1 Excellent eng1 Excellent eng1 Excellent eng1 Excellent
    Join Date
    Apr 2006
    Location
    Italy
    Posts
    938

    Default

    Seems like the firmware is not working properly. If you have a simple Tait or JDM programmer, you could try and program the PIC again with a good hex file.

  5. #5
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,701
    Blog Entries
    5

    Default

    When I send out an Inchworm I test its PIC in a ZIF inchworm mule, it sounds like its looking for an OS like a brand new ICD2.
    I recall a similar issue (searching these forums for Inchworm may point to a solution)
    The solution was to from MPLAB: configure (select 16f877) then connect. If you don't have automatic OS download enabled (you should, same as autoconnect) then you have to manually select update OS from the programmer menu.
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

  6. #6
    Jirka46 Newbie
    Join Date
    Jan 2007
    Posts
    21

    Question

    I tried to download OS from MPLAB and this is the result:


    Connected
    ICD0133: Firmware does not support command (0x1).
    ICD0082: Failed MPLAB ICD 2 operation
    MPLAB ICD 2 Ready
    Downloading Operating System
    ICD0024: Communications: Failed to write ('{682D0800FF3FFF3FFF3FFF3FFF3FFF3FFF3FFF3FFF3FFF3 F8A150A16002=—Þàõí...' - 10 of 28656 bytes - Windows::GetLastError() = 0x0, 'The operation completed successfully.
    ' - USBCOM = 0x0)
    ...Download Operating System Failed
    ICDWarn0054: MPLAB IDE has lost communications with the MPLAB ICD 2. Would you like to attempt to reconnect?

    If I say yes then it just repeats sequence.

    I do not understend this: "Failed to write 10 of 28656 bytes " 877A has only 8K memory doesn't it?

    And than:'The operation completed successfully+Download Operating System Failed

    Why this "' - USBCOM = 0x0)" when I am using COM1 ?

    Thank you for your help
    Jirka

  7. #7
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,701
    Blog Entries
    5

    Default

    Where are you located? Do you have access to a PIC programmer (aside from the Inchworm?)

    The firmware for the 16F877A is on my site, if you can't get it programmed you could mail the PIC to me and I'll reflash it and mail it back. Of course I'll test it too.

    The 16F877A has 8K
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

  8. #8
    Jirka46 Newbie
    Join Date
    Jan 2007
    Posts
    21

    Default

    Thank you for your reply. I can program 877 but not 877A. I am in B.C. mountains and it took two weeks to get your kit here.If you point me to right file, if it is possible to use 877 in inchworm+, then I'll try to do it myself.
    Thank you Jirka

  9. #9
    futz Excellent futz Excellent futz Excellent futz Excellent futz Excellent futz Excellent futz Excellent
    Join Date
    Sep 2007
    Location
    Vancouver, B.C.
    Posts
    1,980

    Default

    Quote Originally Posted by Jirka46
    Thank you for your reply. I can program 877 but not 877A. I am in B.C. mountains and it took two weeks to get your kit here.If you point me to right file, if it is possible to use 877 in inchworm+, then I'll try to do it myself.
    Thank you Jirka
    877 is fine.
    =========================
    Futz's Microcontrollers & Robotics
    =========================

  10. #10
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,701
    Blog Entries
    5

    Default

    The 877 is the same PIC as the genuine ICD2 uses, the file you need is part of MPLAB
    Search your computer for BL010101.HEX that's the file.
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

  11. #11
    Jirka46 Newbie
    Join Date
    Jan 2007
    Posts
    21

    Default

    I will try that.Thanks to all of you.
    Jirka

  12. #12
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,701
    Blog Entries
    5

    Default

    Good luck, hope you get it working soon. When you do reflash the original 16F877A with the firmware in the download section of my site and try it.
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

+ Reply to Thread

Similar Threads

  1. Keil C problem
    By sarang1_in in forum Micro Controllers
    Replies: 3
    Latest: 27th February 2005, 05:05 AM
  2. Problem; Random pic performance
    By timothyjackson in forum Micro Controllers
    Replies: 7
    Latest: 19th February 2005, 06:20 PM
  3. Big problem!!
    By zezito in forum Electronic Projects Design/Ideas/Reviews
    Replies: 4
    Latest: 29th October 2004, 02:05 AM
  4. 12F675 Problem
    By brodin in forum Micro Controllers
    Replies: 10
    Latest: 29th December 2003, 09:40 PM
  5. strange color camera problem
    By schrodingerscat in forum Electronic Projects Design/Ideas/Reviews
    Replies: 5
    Latest: 4th October 2003, 07:25 PM

Tags for this Thread