MicroCode Studio and Microchip ICD3 Parameters


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

    Default MicroCode Studio and Microchip ICD3 Parameters

    Hello,

    How do I configure the parameters for a Microchip ICD3 programmer? I installed using the icd3cmd.exe programmer filename. When I click compile & program the program compiles successfully but there is no indication that the programmer is actually running.

    Any help appreciated

  2. #2
    Join Date
    Aug 2011
    Posts
    408


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio and Microchip ICD3 Parameters

    Have you setup the commandline options for icd3cmd? They can be found in the MPLABX folder docs\Readme for RealICECMD_ICD3CMD.htm

    See http://www.picbasic.co.uk/forum/showthread.php?t=23910 for some basic setup info

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio and Microchip ICD3 Parameters

    No I haven't entered any command line options. That is what I'm lookin for. I had previously read the information in the link you provided but it only suggests parameters for the PK3.

    I looked at the readme for the ICD3 in the MPLABX docs but I do not see the options explained.

    I also looked at MPLAB ICD 3 In-Circuit Debugger User's Guide for MPLAB X IDE but still do not see the command line options.

    Clearly I'm missing something...

  4. #4
    Join Date
    Aug 2011
    Posts
    408


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio and Microchip ICD3 Parameters

    Did you look in the file "Readme for RealICECMD_ICD3CMD.htm", sections 8 (command line options) and 11 (examples)?

    They're all pretty similar...

  5. #5


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio and Microchip ICD3 Parameters

    OK, that is what I've been looking for. I'll try some of those and see how it goes. The information is a bit difficult to find so thanks for your help!

  6. #6


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio and Microchip ICD3 Parameters

    Well, no joy here.

    I have the ICD3 connected to the target 12F1612. The target is powered and the power LED on the ICD3 illuminates.

    When I compile and program, the file compiles successfully, a blank black DOS window opens with no text and then closes.

    The device appears to not be programmed.

    I'd really like to make this work.

    Does anyone have any suggestions on how to use MCS with the ICD3?

  7. #7
    Join Date
    Aug 2011
    Posts
    408


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio and Microchip ICD3 Parameters

    For the MCS IDE, if you tack on a "-B" that puts it into batch mode and it should leave the command window open.
    Here's an example command line:
    -P$target-device$ -F$hex-filename$ -W -B

    ICD3CMD doesn't offer a lot of display info, so I like to open a command prompt and run ICD3CMD manually when I first set it up.
    That way you know what to expect (and if it works)

  8. #8


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio and Microchip ICD3 Parameters

    Thank you for the detailed information. I'll try it this AM. What do you mean by starting ICD3 manually? I'm not sure how to do that.

  9. #9
    Join Date
    Aug 2011
    Posts
    408


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio and Microchip ICD3 Parameters

    I meant to open a windows command prompt and run ICD3CMD.exe from the command line so you can play around with the various options and see what the results are.
    As I said, you don't get much output for many of the operations, but at least you'll know what to expect.

  10. #10


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio and Microchip ICD3 Parameters

    Right, I realized what you meant just after I posted my reply. I did that and was happy to see that the communication worked.

    The setup I have working now is compile in MCS and program with MPLABX IPE.

    Thanks for your help.

  11. #11
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,795


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio and Microchip ICD3 Parameters

    I found the ICD3 very unreliable and had to use the IPE to control it, which was not the easiest thing to do.

    Anyway, now I use Pickit3, very much better, good power capabilities and not forced to use the Microchip IPE. Instead the standalone Pickit3 (or Pickit2, is the same) works great, developed by Evan at Pickitplus.co.uk saving me time and effort.

    Ioannis

  12. #12


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio and Microchip ICD3 Parameters

    Thanks for your input. What is working for me is to compile in MCS, open the hex file in MPLABX IPE, and program with the connected ICD3.
    I did find that I must clear the hex file selection and load the new file in MPLABX IPE prior to programming.
    The main drawback is that debugging is unavailable
    Last edited by geoffpeters; - 23rd February 2022 at 16:35.

  13. #13
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,795


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio and Microchip ICD3 Parameters

    Quote Originally Posted by geoffpeters View Post
    The main drawback is that debugging is unavailable
    It is not ICD3 problem rather than PBP.

    Ioannis

Similar Threads

  1. PBP3.1 Gold + MCSX+ + Microchip's ICD3 programmer?
    By eagleman in forum FAQ - Frequently Asked Questions
    Replies: 14
    Last Post: - 2nd April 2018, 08:50
  2. Microcode Studio Plus
    By Archangel in forum PBP Wish List
    Replies: 7
    Last Post: - 31st October 2013, 02:05
  3. Replies: 2
    Last Post: - 10th May 2011, 17:49
  4. Microcode studio
    By Stargazer3141 in forum General
    Replies: 4
    Last Post: - 28th January 2011, 23:49
  5. MicroCode Studio Plus
    By ozarkshermit in forum General
    Replies: 0
    Last Post: - 31st December 2009, 00:27

Members who have read this thread : 3

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