• AVR Freaks

Hot!Loadable Projects and Files -> (944) data conflict at address 0h

Author
ivan.steimer
New Member
  • Total Posts : 7
  • Reward points : 0
  • Joined: 2017/09/28 00:03:21
  • Location: Geneva, Switzerland
  • Status: offline
2019/08/26 12:50:08 (permalink)
0

Loadable Projects and Files -> (944) data conflict at address 0h

Hello,
 
I have bootloader & application program working fine when used one by one.

I have done the "manual" way by reading the uploaded program directly on the device, it works fine but I'm looking for the smarter solution (in order to be more efficient in future).
 
I found out the "Loadable Projects" and that is the solution I would need in order to deploy the first version(s) of the app on the device. 
 
Unfortunately I'm not able to combine both together with the loadable function (neither with hex file nor project).
The reason is that the linker file of the app generate a "goto 0x802" in adress 0x00 while the bootloader generate the  "goto 0x100". The result is (944) data conflict at address 0h between...
 
How shall I write the .gld file in order to be able to combine both program into one hexfile? (see attached).
 
My bootloader is using up to address 0x6CC, so I have set the application code to start at 0x802.
 
Shall I modify the .reset section? How?
 
I could not find much of documentation about the loadable function so any hint would be greatly appreciated!
 
Many thanks in advance for your help
 
 

Attachment(s)

Attachments are not available: Download requirements not met
#1

3 Replies Related Threads

    Jim Nickerson
    User 452
    • Total Posts : 6371
    • Reward points : 0
    • Joined: 2003/11/07 12:35:10
    • Location: San Diego, CA
    • Status: offline
    Re: Loadable Projects and Files -> (944) data conflict at address 0h 2019/08/26 12:56:55 (permalink)
    +1 (1)
    Are you using a PIC ?
    #2
    ivan.steimer
    New Member
    • Total Posts : 7
    • Reward points : 0
    • Joined: 2017/09/28 00:03:21
    • Location: Geneva, Switzerland
    • Status: offline
    Re: Loadable Projects and Files -> (944) data conflict at address 0h 2019/08/26 13:53:50 (permalink)
    +1 (1)
    dsPIC30F5011
     
    xc16 PRO v1.35 (I tried v1.40 too)
    #3
    ivan.steimer
    New Member
    • Total Posts : 7
    • Reward points : 0
    • Joined: 2017/09/28 00:03:21
    • Location: Geneva, Switzerland
    • Status: offline
    Re: Loadable Projects and Files -> (944) data conflict at address 0h 2019/09/02 23:19:55 (permalink)
    0
    Any hint about how to configure bootloader or application .gld in order to use the "loadable" solution?
     
    Thanks in advance for any help...
    #4
    Jump to:
    © 2019 APG vNext Commercial Version 4.5