This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Code Load With ULINK Very Slow

When loading code via ULINK USB (not burning the flash) the load takes approx 5 minutes for a 300K file. What does the LOAD command do and why does it take so long when we are not burning the FLASH?

Parents
  • What ULINK does when a debug session is started depends on the settings in the Target Driver Setup dialog (Options for Target - Debug - Settings).

    When Verify Application in ROM is selected, the complete ROM content is read back from the target system and compared against the application in the uVision project. This takes some time but ensures that the application matches the ROM content.

    When Download Application into RAM is selected, the application is downloaded into RAM which again takes time.

    Please check that the 'ULINK Driver for XC16x' (UL2OCDS.dll) is selected and not the old 'OCDS Driver for XC16x' (OCDSXC.dll).

Reply
  • What ULINK does when a debug session is started depends on the settings in the Target Driver Setup dialog (Options for Target - Debug - Settings).

    When Verify Application in ROM is selected, the complete ROM content is read back from the target system and compared against the application in the uVision project. This takes some time but ensures that the application matches the ROM content.

    When Download Application into RAM is selected, the application is downloaded into RAM which again takes time.

    Please check that the 'ULINK Driver for XC16x' (UL2OCDS.dll) is selected and not the old 'OCDS Driver for XC16x' (OCDSXC.dll).

Children