DIAB 5.2.0.0 Linker issue
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
DIAB 5.2.0.0 Linker issue

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Embedded System
Author Message
Whaddayawant
Guest





Posted: Wed Dec 08, 2004 9:09 am    Post subject: DIAB 5.2.0.0 Linker issue Reply with quote

Greetings,
When using the DIAB linker for the PPC8250 target I see some anomalies in
the generated o/p srec. I have a bunch of STORE 0xAABBCCDD, 4 directives in
the .dld file to put some sort of a header, however I see the 0XAABBCCDD in
the srec. followed by 12 zero bytes. Anyone encounter this. I guess I should
use ddump to look at the .elf to see whether there is a goof up there or in
the ddump from elf to srec conversion. Any pointers?
Back to top
Mark A. Odell
Guest





Posted: Thu Dec 09, 2004 10:46 pm    Post subject: Re: DIAB 5.2.0.0 Linker issue Reply with quote

"Whaddayawant" <cunkar@sbcglobal.del.net> wrote in
news:48vtd.3491$Dh2.1232@newssvr31.news.prodigy.com:

Quote:
Greetings,
When using the DIAB linker for the PPC8250 target I see some anomalies
in the generated o/p srec. I have a bunch of STORE 0xAABBCCDD, 4
directives in the .dld file to put some sort of a header, however I see
the 0XAABBCCDD in the srec. followed by 12 zero bytes. Anyone encounter
this. I guess I should use ddump to look at the .elf to see whether
there is a goof up there or in the ddump from elf to srec conversion.
Any pointers?

Instead of using store directives in the dld file, how about creating a
section in the dld file at the location you want the header. Then create
an assembler file that contains the header in the same named function. Add
the file to your source list and then check you map file for the correct
location and header contents. What does your binary output file look like?
That is, is this an SREC issue or a linker output issue?

--
- Mark ->
--
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Embedded System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB