Today 20:09
Forum: Proton Plus Compiler v3
Starter: Dave-S
Views: 0
Replies: 0
Today 18:52
Forum: Website / Forum Issues
Starter: pe1pme
Views: 0
Replies: 77
Go to last post By: johngb
Today 14:57
Forum: The Lounge
Starter: Mellbreak
Views: 0
Replies: 33
Today 13:24
Forum: The Lounge
Starter: craig
Views: 0
Replies: 4
Today 12:54
Forum: The Lounge
Starter: Henk57
Views: 0
Replies: 117
Today 12:46
Forum: The Lounge
Starter: basparky
Views: 0
Replies: 7
Today 10:42
Forum: Absolute Beginners Section
Starter: amod
Views: 0
Replies: 20
+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: ASM ERROR : Linker Error949 days old

  1. #11
    Prolific Poster hadv215's Avatar
    Join Date
    Sep 2009
    Posts
    1,068
    Thumbs Up
    Received: 98
    Given: 23
    Total Downloaded
    1.35 GB

    0 Not allowed!

    Default Re: ASM ERROR : Linker Error

    The latest P24 version I have is 1.0.3.0

  2. #12
    Junior Member Jimbird's Avatar
    Join Date
    Feb 2012
    Posts
    18
    Thumbs Up
    Received: 0
    Given: 0
    Total Downloaded
    702.22 MB

    0 Not allowed!

    Default Re: ASM ERROR : Linker Error

    Hello Guys'n'Gals,

    I'm tearing my hair out over a Linker error:
    nonLinking.JPG

    Is there any way to drill down into precisely where the error comes from? (in saying that, it may not mean much to me!)

    Given the above linker posts I checked off the config register parameters with the PPI file , but this code has been compiling ok for months and I've not changed Compiler version since September.

    I'm using P24 compiler version 1.0.4.7 and the device is 24FJ64GA306. Flash and RAM use are both around 65%.

    I've been working at this code on and off for months and have hit up against this issue now for the second time in the past couple of weeks and have wasted quite a few hours trying to understand what it comes from, but with no real understanding yet. I have more functionality to add and I simply cannot afford this uncertainty to continue.

    I've attached two zipped folders, one that links and one that doesn't.
    (Cutting the code down to demonstrate the problem doesn't help as the problem disappears, and I have to ADD more code, not remove it.)

    While the non-linking version has a few added lines in several places simply related to a bit flag and a counter, I don't believe they are the actual problem.
    (Even small additions in the main function can lead to the same linker problem.) I believe it must be something much more fundamental.


    It would be very greatly appreciated if any of you much more experienced folk have a little time to try compiling the two folders to see what happens for you.

    I need to know how to address the problem and prevent it cropping up again

    (Forgive me - my coding skills are not up to that of many of you. If there's anything in there that anyone wants to use - as if! - you are welcome. Some of Les' code has been of use to me, so it's only fair.)

    Many thanks.
    Ian
    Attached Files Attached Files

  3. #13
    Junior Member Jimbird's Avatar
    Join Date
    Feb 2012
    Posts
    18
    Thumbs Up
    Received: 0
    Given: 0
    Total Downloaded
    702.22 MB

    0 Not allowed!

    Default Re: ASM ERROR : Linker Error

    is ANYBODY seeing this post??
    It hasn't appeared in the What's New list so maybe not... perhaps I'll have to repost in a new thread.

    Thanks 8-)

  4. #14
    Member tumbleweed's Avatar
    Join Date
    May 2011
    Posts
    357
    Thumbs Up
    Received: 64
    Given: 0
    Total Downloaded
    95.95 MB

    0 Not allowed!

    Default Re: ASM ERROR : Linker Error

    That error means your program is too big to fit into that device.
    Change to a 24FJ128GA306 and it compiles (once you get rid of the "DEC0" format specifiers)

  5. #15
    Junior Member Jimbird's Avatar
    Join Date
    Feb 2012
    Posts
    18
    Thumbs Up
    Received: 0
    Given: 0
    Total Downloaded
    702.22 MB

    0 Not allowed!

    Default Re: ASM ERROR : Linker Error

    Thanks Tumbleweed, that's the solution.
    After my wasted hours on Thursday, the very same thought only struck me earlier this evening and I tried compiling with the FJ128 version which compiled fine.
    There when I checked the forum just now that's exactly what you said. You're a man of experience clearly.

    I was relying on the % bars the the IDE updates after a compile and it was only reporting 64% flash use for the FJ64
    That's a lesson for me.

    Down side is now that I'll have to change the processor on the 20no boards I've built and are already in service!

    you have me intrigued about the "DEC0" comment.... not sure where that is.

    Thanks again for the pointer.

    regards,
    Ian

  6. #16
    Member tumbleweed's Avatar
    Join Date
    May 2011
    Posts
    357
    Thumbs Up
    Received: 64
    Given: 0
    Total Downloaded
    95.95 MB

    0 Not allowed!

    Default Re: ASM ERROR : Linker Error

    I would have sworn yesterday it complained about these lines from the nonlinkingversion...
    Code:
    dSCU_debug_v2.bas
    499:    HRSOut1 13, "Unix: ", Dec0 UnixTime
    
    dscu_TestManage_v1.Inc
    185:    HRSOut1 13, "Restart Step: ", Dec pStep,"-Dwell: ",Dec0 dTestUnix_Remaining, " -EndTime: ", Dec0 dTestUnix_ActionEnd,13
    199:    HRSOut1 13, "Step: ", Dec pStep, "-Dwell: ",Dec pDwell, " -EndTime: ", Dec0 dTestUnix_ActionEnd,13
    Today it doesn't. Go figure.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. ASM error
    By Rolf. in forum The Lounge
    Replies: 0
    Last Post: 21st March 2012, 07:14
  2. Hundreds of ASM error of the same errors. Error [126]
    By wirecut in forum Proton Plus Compiler v3
    Replies: 2
    Last Post: 28th January 2012, 08:10
  3. Asm error:error[118]
    By Citius in forum Proton Plus Compiler v3
    Replies: 23
    Last Post: 24th April 2011, 09:34
  4. pdf linker, error 53, file not found
    By ken_vk7krj in forum SWright's Feedback Forum
    Replies: 0
    Last Post: 30th May 2008, 03:43

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts