• AVR Freaks

Hot!ICD 4 -- It is slow and also noisy!!

Page: 12 > Showing page 1 of 2
Author
user2x
Super Member
  • Total Posts : 429
  • Reward points : 0
  • Joined: 2011/02/10 20:43:36
  • Location: 0
  • Status: offline
2020/09/29 14:51:32 (permalink)
5 (1)

ICD 4 -- It is slow and also noisy!!

Hello
 
I just bought 5 ICD4s for our team.
Expectations were high so now we are not sure what is happening.
 
I tried loading code and debugging via MPLAB X 5.10 and 5.30 on PIC24FJ64GA702.
 
Loading code takes a really long time. In the order of a minute as opposed to 10-15sec with the ICD3.
That is every time, not just the first time.
 
 
And now, we noticed that the ICD 4 makes an audible high pitched switch mode noise while sitting on the bench. It is not loud but it is  annoying the programmers.
 
 
 
Has anyone else experienced similar problems?
 
 
#1

38 Replies Related Threads

    dan1138
    Super Member
    • Total Posts : 3917
    • Reward points : 0
    • Joined: 2007/02/21 23:04:16
    • Location: 0
    • Status: offline
    Re: ICD 4 -- It is slow and also noisy!! 2020/09/29 17:31:08 (permalink)
    0
    You have something really wrong with you MPLABX setup and PICkit4.
     
    This is what I see in my PIC24FJ256GA702 programming with the MPLABX v5.40 IPE tool:
    /*
     
    *****************************************************
    Connecting to MPLAB PICkit 4...

    Currently loaded versions:
    Application version............00.06.23
    Boot version...................01.00.00
    Script version.................00.03.84
    Script build number............85fddb6280
    Tool pack version .............1.2.821
    Target voltage detected
    Target device PIC24FJ256GA702 found.
    Device Revision Id  = 0x3

    2020-09-29 17:23:11 -0700 - Programming...
    *****************************************************
    Calculating memory ranges for operation...

    Erasing...

    The following memory area(s) will be programmed:
    program memory: start address = 0x0, end address = 0x7ff
    configuration memory
    Programming/Verify complete
    2020-09-29 17:23:15 -0700 - Programming complete
    */

    In my case it takes less than six and typically less than four seconds for the IPE to program my controller.
     
    I do not hear my PICkit4 making any high pitch noise, but I'm old so what can I hear anyway.
    post edited by dan1138 - 2020/09/29 17:35:00
    #2
    user2x
    Super Member
    • Total Posts : 429
    • Reward points : 0
    • Joined: 2011/02/10 20:43:36
    • Location: 0
    • Status: offline
    Re: ICD 4 -- It is slow and also noisy!! 2020/09/29 17:34:21 (permalink)
    0
    @Dan
     
    I have ICD 4s.  NOT PICkit4.
     
    I use MPLAB X IDE not IPE.
     
     
     
    post edited by user2x - 2020/09/29 17:38:53
    #3
    NorthGuy
    Super Member
    • Total Posts : 6350
    • Reward points : 0
    • Joined: 2014/02/23 14:23:23
    • Location: Northern Canada
    • Status: online
    Re: ICD 4 -- It is slow and also noisy!! 2020/09/29 17:39:07 (permalink)
    0
    dan1138
    In my case it takes less than six and typically less than four seconds for the IPE to program my controller.



    I depends on how big you program is. In your listing, you only program 3 KBytes (0x0 to 0x7ff) - roughly 1%.
    #4
    dan1138
    Super Member
    • Total Posts : 3917
    • Reward points : 0
    • Joined: 2007/02/21 23:04:16
    • Location: 0
    • Status: offline
    Re: ICD 4 -- It is slow and also noisy!! 2020/09/29 17:55:43 (permalink)
    0
    user2x
    I have ICD 4s.  NOT PICkit4.

    Sorry, This is what I see with my ICD4:
    /*
    *****************************************************
    Connecting to MPLAB ICD 4...

    Currently loaded versions:
    Application version............01.07.02
    Boot version...................01.00.00
    FPGA version...................01.00.11
    Script version.................00.03.81
    Script build number............1818c7769f
    Tool pack version .............1.2.804
    Target voltage detected
    Target device PIC24FJ256GA702 found.
    Device Revision Id  = 0x3

    2020-09-29 17:58:04 -0700 - Programming...
    *****************************************************
    Calculating memory ranges for operation...

    Erasing...

    The following memory area(s) will be programmed:
    program memory: start address = 0x0, end address = 0x7ff
    configuration memory
    Programming/Verify complete
    2020-09-29 17:58:09 -0700 - Programming complete
    */

    and still no high pitch noise I can hear.
    post edited by dan1138 - 2020/09/29 17:59:23
    #5
    user2x
    Super Member
    • Total Posts : 429
    • Reward points : 0
    • Joined: 2011/02/10 20:43:36
    • Location: 0
    • Status: offline
    Re: ICD 4 -- It is slow and also noisy!! 2020/09/29 18:01:28 (permalink)
    0
    I can't get that timestamp in the output window. How do you get that?
     

    /* Currently loaded versions:
    Application version............01.05.12
    Boot version...................01.00.00
    FPGA version...................01.00.00
    Script version.................00.02.65
    Script build number............69cc1f643c
    Target voltage detected
    Target device PIC24FJ64GA702 found.
    Device Revision Id  = 0x3

    Erasing...

    The following memory area(s) will be programmed:
    program memory: start address = 0x0, end address = 0x69ff
    program memory: start address = 0x9800, end address = 0xaeff
    configuration memory
    User OTP memory

     

    Programming/Verify complete

    */

     


    post edited by user2x - 2020/09/29 18:04:20
    #6
    dan1138
    Super Member
    • Total Posts : 3917
    • Reward points : 0
    • Joined: 2007/02/21 23:04:16
    • Location: 0
    • Status: offline
    Re: ICD 4 -- It is slow and also noisy!! 2020/09/29 18:02:38 (permalink)
    0
    NorthGuy
    dan1138
    In my case it takes less than six and typically less than four seconds for the IPE to program my controller.

    I depends on how big you program is. In your listing, you only program 3 KBytes (0x0 to 0x7ff) - roughly 1%.

    Yes, my sample code file is very small.
    I will make a larger image and report back.
     
    <EDIT>
    I made a maximum size code file and it takes the IPE using the ICD4 about 13 seconds to program it:
    /*
    *****************************************************
    Connecting to MPLAB ICD 4...

    Currently loaded versions:
    Application version............01.07.02
    Boot version...................01.00.00
    FPGA version...................01.00.11
    Script version.................00.03.81
    Script build number............1818c7769f
    Tool pack version .............1.2.804
    Target voltage detected
    Target device PIC24FJ256GA702 found.
    Device Revision Id  = 0x3

    2020-09-29 18:33:06 -0700 - Programming...
    *****************************************************
    Calculating memory ranges for operation...

    Erasing...

    The following memory area(s) will be programmed:
    program memory: start address = 0x0, end address = 0x2aeff
    configuration memory
    Programming/Verify complete
    2020-09-29 18:33:19 -0700 - Programming complete
    */

    I do notice the ICD4 to be noticeably warm to the touch, but I do not hear any noise.
    post edited by dan1138 - 2020/09/29 18:58:34
    #7
    dan1138
    Super Member
    • Total Posts : 3917
    • Reward points : 0
    • Joined: 2007/02/21 23:04:16
    • Location: 0
    • Status: offline
    Re: ICD 4 -- It is slow and also noisy!! 2020/09/29 18:45:01 (permalink)
    0
    user2x
    I can't get that timestamp in the output window. How do you get that?

    The MPLABX Integrated-Development-Environment(IDE) does not output time stamps for device programming.
     
    The MPLABX Integrated-Programming-Environment(IPE) does output time stamps for device programming.
    #8
    user2x
    Super Member
    • Total Posts : 429
    • Reward points : 0
    • Joined: 2011/02/10 20:43:36
    • Location: 0
    • Status: offline
    Re: ICD 4 -- It is slow and also noisy!! 2020/09/29 19:08:05 (permalink)
    0
    Ok, but that does not really help me then since I use the IDE, as mentioned.
     
    #9
    NKurzman
    A Guy on the Net
    • Total Posts : 18975
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: offline
    Re: ICD 4 -- It is slow and also noisy!! 2020/09/29 19:12:02 (permalink)
    0
    Try it with IPE and see what you see.
    #10
    NorthGuy
    Super Member
    • Total Posts : 6350
    • Reward points : 0
    • Joined: 2014/02/23 14:23:23
    • Location: Northern Canada
    • Status: online
    Re: ICD 4 -- It is slow and also noisy!! 2020/09/29 19:28:27 (permalink)
    0
    dan1138
    I made a maximum size code file and it takes the IPE using the ICD4 about 13 seconds to program it:



    I think that this is actually a little bit faster than ICD3, and only 2.3 times slower than mine (5.5 sec).
     
    The audible switching noise may be dependent on the PSU feeding ICD4. Perhaps if you try to connect it to a different PC, the noise may disappear.
     
     
    #11
    dan1138
    Super Member
    • Total Posts : 3917
    • Reward points : 0
    • Joined: 2007/02/21 23:04:16
    • Location: 0
    • Status: offline
    Re: ICD 4 -- It is slow and also noisy!! 2020/09/29 20:12:31 (permalink)
    0
    NorthGuy
    dan1138
    I made a maximum size code file and it takes the IPE using the ICD4 about 13 seconds to program it:

    I think that this is actually a little bit faster than ICD3, and only 2.3 times slower than mine (5.5 sec).
     
    The audible switching noise may be dependent on the PSU feeding ICD4. Perhaps if you try to connect it to a different PC, the noise may disappear.

    For a complete set of measurements for the PICkit4, ICD4, ICD3 and PICkit3.
    Here's the ICD4 (13 sec):
    /*
    *****************************************************
    Connecting to MPLAB ICD 4...

    Currently loaded versions:
    Application version............01.07.02
    Boot version...................01.00.00
    FPGA version...................01.00.11
    Script version.................00.03.81
    Script build number............1818c7769f
    Tool pack version .............1.2.804
    Target voltage detected
    Target device PIC24FJ256GA702 found.
    Device Revision Id  = 0x3

    2020-09-29 18:33:06 -0700 - Programming...
    *****************************************************
    Calculating memory ranges for operation...

    Erasing...

    The following memory area(s) will be programmed:
    program memory: start address = 0x0, end address = 0x2aeff
    configuration memory
    Programming/Verify complete
    2020-09-29 18:33:19 -0700 - Programming complete
    */

     
    Here's the ICD3 (19 sec):
    /*
    *****************************************************
    Connecting to MPLAB ICD 3...

    Currently loaded firmware on ICD 3
    Firmware Suite Version.....01.56.07
    Firmware type..............Midrange
    Now Downloading new Firmware for target device: PIC24FJ256GA702
    Downloading AP...
    AP download complete
    Programming download...


    Currently loaded firmware on ICD 3
    Firmware Suite Version.....01.56.07
    Firmware type..............dsPIC33F/24F/24H
    Target voltage detected
    Target device PIC24FJ256GA702 found.
    Device Revision ID = 3

    2020-09-29 20:06:20 -0700 - Programming...

    Device Erased...

    Programming...

    The following memory area(s) will be programmed:
    program memory: start address = 0x0, end address = 0x2aeff
    Programming/Verify complete
    2020-09-29 20:06:39 -0700 - Programming complete
    */

     
    Here's an updated one for the PICkit4 (12 sec):
    /*
    *****************************************************
    Connecting to MPLAB PICkit 4...

    Currently loaded versions:
    Application version............00.06.23
    Boot version...................01.00.00
    Script version.................00.03.84
    Script build number............85fddb6280
    Tool pack version .............1.2.821
    Target voltage detected
    Target device PIC24FJ256GA702 found.
    Device Revision Id  = 0x3

    2020-09-29 20:15:16 -0700 - Programming...
    *****************************************************
    Calculating memory ranges for operation...

    Erasing...

    The following memory area(s) will be programmed:
    program memory: start address = 0x0, end address = 0x2aeff
    configuration memory
    Programming/Verify complete
    2020-09-29 20:15:28 -0700 - Programming complete
    */

     
    And finally Here's the PICkit3 (37 sec):
    /*
    *****************************************************
    Connecting to MPLAB PICkit 3...

    Currently loaded firmware on PICkit 3
    Firmware Suite Version.....01.56.07
    Firmware type..............dsPIC33F/24F/24H
    Target voltage detected
    Target device PIC24FJ256GA702 found.
    Device Revision ID = 3
    DEVSN0 = 00000000
    DEVSN1 = 00000000

    2020-09-29 20:18:45 -0700 - Programming...

    Device Erased...

    Programming...

    The following memory area(s) will be programmed:
    program memory: start address = 0x0, end address = 0x2aeff
    Programming/Verify complete
    2020-09-29 20:19:22 -0700 - Programming complete
    */

    post edited by dan1138 - 2020/09/29 20:32:50
    #12
    user2x
    Super Member
    • Total Posts : 429
    • Reward points : 0
    • Joined: 2011/02/10 20:43:36
    • Location: 0
    • Status: offline
    Re: ICD 4 -- It is slow and also noisy!! 2020/09/30 13:49:53 (permalink)
    0
    Far out, so now I need to figure out why ours are so slow.
     
    BTW: The noise is on all 5 of them but to be fair, we did power them all via USB from the same model USB3 hubs - which we have here. 
     
    The ICD 3 makes no such noise, on the same hubs though.
    #13
    NKurzman
    A Guy on the Net
    • Total Posts : 18975
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: offline
    Re: ICD 4 -- It is slow and also noisy!! 2020/09/30 14:24:31 (permalink)
    0
    Mine is Quite, But it is an original one Rev 4.  The New ones may be different.
    Mine is in a USB 3 Docking Station.
    Try Direct without the Hub.
     
    #14
    user2x
    Super Member
    • Total Posts : 429
    • Reward points : 0
    • Joined: 2011/02/10 20:43:36
    • Location: 0
    • Status: offline
    Re: ICD 4 -- It is slow and also noisy!! 2020/09/30 16:37:44 (permalink)
    0
    Ok, confirmed, it does not matter where it is connected (via USB power), they make the noise.
     
     
    #15
    Murton Pike Systems
    Senior Member
    • Total Posts : 48
    • Reward points : 0
    • Joined: 2020/09/10 02:13:01
    • Location: 0
    • Status: offline
    Re: ICD 4 -- It is slow and also noisy!! 2020/09/30 16:54:10 (permalink)
    0
    I have PICKIT3 and a Snap programmer.
    For self powered circuits the Snap is really fast.
     
    #16
    user2x
    Super Member
    • Total Posts : 429
    • Reward points : 0
    • Joined: 2011/02/10 20:43:36
    • Location: 0
    • Status: offline
    Re: ICD 4 -- It is slow and also noisy!! 2020/09/30 20:33:10 (permalink)
    5 (1)
    Look here, I found this in the latest MPLAB X 5.40   ICD4 release notes....
     

    8       Powering the Debugger and Target Board

    Note: When the MPLAB ICD 4 debugger is connected to power, you may hear a high-frequency hum. This is as expected.
     
     
    It may be as expected from their (Microchip) side but it is NOT as expected by everyone here trying to use it all day long and getting headaches.  
    Anyone who hates noise, should not be buying an ICD4. It sucks.
    post edited by user2x - 2020/09/30 20:37:32
    #17
    ric
    Super Member
    • Total Posts : 28660
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: ICD 4 -- It is slow and also noisy!! 2020/09/30 21:02:54 (permalink)
    3.67 (3)
    Just some speculation.
    Maybe the hum is up near 20kHz, and older engineers (like me), simply can't hear it....

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #18
    user2x
    Super Member
    • Total Posts : 429
    • Reward points : 0
    • Joined: 2011/02/10 20:43:36
    • Location: 0
    • Status: offline
    Re: ICD 4 -- It is slow and also noisy!! 2020/09/30 22:07:46 (permalink)
    0
    Hmm, not sure how old you mean, but we are "older" here too.
    #19
    dan1138
    Super Member
    • Total Posts : 3917
    • Reward points : 0
    • Joined: 2007/02/21 23:04:16
    • Location: 0
    • Status: offline
    Re: ICD 4 -- It is slow and also noisy!! 2020/10/01 00:07:27 (permalink)
    5 (1)
    user2x
    Hmm, not sure how old you mean, but we are "older" here too.

    Engineers of a certain age in North America have hearing loss centered around 15.750KHz that protected their sanity.
    #20
    Page: 12 > Showing page 1 of 2
    Jump to:
    © 2020 APG vNext Commercial Version 4.5