ICD line truncate


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2005
    Posts
    11

    Default ICD line truncate

    Hi all

    Does anyone know why my pbp program can no longer run in idc compile mode
    it seems that once my program reached a size of around 6K it wont work and comes up with the following error ICD line truncate

    microcode studio is unable to process one of the debug files due to line truncating .

    thanks tony.

  2. #2
    Join Date
    Feb 2005
    Location
    Saltburn by the Sea
    Posts
    23


    Did you find this post helpful? Yes | No

    Default

    From the online help...

    MicroCode Studio is unable to process one of the debug files due to line truncating.

    When using some operating systems with the PICBasic default assembler, long path and filenames can result in important debugging information being lost. Under these circumstances, the ICD is unable to operate correctly. To correct this problem, ensure that the PICBasic filename and its associated path are no more than sixty characters in length.

    You should not normally see this error if assembling using MPASM.

  3. #3
    Join Date
    Dec 2005
    Posts
    11


    Did you find this post helpful? Yes | No

    Default

    Well Iam using MPASM and the file is located in the same place as it has always been in, the only difference is that it has grown larger is there a limit on the size of the file that can be debuged using the ICD none of the paths to the files have changed nor the length of the file name.

  4. #4
    Join Date
    Feb 2005
    Location
    Saltburn by the Sea
    Posts
    23


    Did you find this post helpful? Yes | No

    Default

    Trying following the suggestion - put your project into a smaller path. For testing, use something like c:\program\<mycode>

    Does it fix the problem?

  5. #5
    Join Date
    Dec 2005
    Posts
    11


    Did you find this post helpful? Yes | No

    Default

    Hi David

    Yes it does work now, as you sugested I droped the project into the C:\folder and it started to work again I dont understand why but it is working thanks for your help David much appreciated.

    Tony.

  6. #6
    Join Date
    Feb 2006
    Posts
    20


    Did you find this post helpful? Yes | No

    Default Hit or miss with ICD line truncate

    Hi, I am having the same problem with ICD line truncate. Sometimes it works and sometimes it doesn't. I have moved my project around and in my opinion the path seems to have little to do with it. I am using an 18F2525 with use MPASM selected. My project is currently in the folder C:\pbp18. It does seem to something to do with the size of my file. It does get a bit frustrating. I was using the ICD succesfully. Changed a few variable names to make them more readable. Recompiled and downloaded and receieved the ICD line truncate error again.

    I also have a dual boot system so MPLAB, windows XP and PBP are all installed on the D: drive. I put my project on C: and it seemed to work better for a while.

    Does anyone have any ideas? What is the name/location of the debug file and what can I look for to determine what I am doing wrong.

    Thanks, Bob

Similar Threads

  1. Replies: 0
    Last Post: - 2nd February 2009, 23:23
  2. Using input from Switch to control a loop
    By MrRoboto in forum mel PIC BASIC
    Replies: 9
    Last Post: - 2nd February 2009, 05:02
  3. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  4. ICD Woes
    By spad13m in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 14th February 2008, 05:56
  5. having problems with Hantronix 20x4 lcd
    By Rhatidbwoy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 22nd December 2005, 12:22

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