mikedunn:
Thanks for your suggestion!
I use the ofd6x to analysis .out file. It displays all the section
information and symble table,some like the information gived by .map file. But I
can't find a obviously mistake.
I compare the two analysis results of ASM and C project. I think the
results are similar and right, or maybe I don't know which is wrong.
luckeybird
Michael Dunn д
luckeybird,
On Dec 10, 2007 9:12 AM, luck wrote:
> hi all:
> I meet a strange problem on 510usb emulator.
> Environment: (1)DSP C6727B, (2)CCS v3.3 , (3)emulator: 510usb emulator.(4)
program are all located in internal RAM
> I write a test project in ASM. After the compiling and linking, the output
file can be downloaded to DSP(C6727B), and it runs well.
> But when I write a test project in C, after the compiling and linking, the
output file can't be downloaded to DSP completely, and it can't run!
Typically, only the first 4-bytes can be downloaded to DSP by JTAG, and the
other code are missing!! They are not downloaded to the corresponding address in
DSP.
> I can't understand it. I checked the project in C carefully, especiall
all the build options, and I think I don't make a mistake.
> I am doubt that whether the driver of 510 emulator is not correct?
The XDS510 has no idea about how the '.out' file was generated.
Your
probably have a problem with your C project linker command file. If
you do notsee the problem, you can run 'ofd6x yourOutFileName' from
a
DOS prompt in the directory that contains the out file. [you will need
a path to 'C:\\C6000\cgtools\bin']. This will
analyze your '.out' file.
mikedunn > or there are some mistakes I make which I don't
know?
> Are there someone meet the same problem? Or someone can give me some
suggestion to solve it? THANKS!
>
> luckeybird
--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
Reply by luck●December 12, 20072007-12-12
Michael Dunn:
Thanks for your help!
Problems have been solved. There is a bug in CCS3.3 . The emulator
provider helps me to replace some files and then all works well now.
Thanks!
luckeybird
Michael Dunn д
luckeybird,
On 12/10/07, luck wrote: mikedunn:
Thanks for your suggestion!
I use the ofd6x to analysis .out file. It displays all the section information
and symble table,some like the information gived by .map file. But I can't
find a obviously mistake.
I compare the two analysis results of ASM and C project. I think the results are
similar and right, or maybe I don't know which is wrong.
Have you verified that all addresses are fir internal memory??
0x10000000 - 0x1003FFFF.
mikedunn
luckeybird
Michael Dunn д
luckeybird,
On Dec 10, 2007 9:12 AM, luck wrote:
> hi all:
> I meet a strange problem on 510usb emulator.
> Environment: (1)DSP C6727B, (2)CCS v3.3 , (3)emulator: 510usb emulator.(4)
program are all located in internal RAM
> I write a test project in ASM. After the compiling and linking, the output
file can be downloaded to DSP(C6727B), and it runs well.
> But when I write a test project in C, after the compiling and linking, the
output file can't be downloaded to DSP completely, and it can't run!
Typically, only the first 4-bytes can be downloaded to DSP by JTAG, and the
other code are missing!! They are not downloaded to the corresponding address in
DSP.
> I can't understand it. I checked the project in C carefully, especiall
all the build options, and I think I don't make a mistake.
> I am doubt that whether the driver of 510 emulator is not correct?
The XDS510 has no idea about how the '.out' file was generated.
Your
probably have a problem with your C project linker command file. If
you do notsee the problem, you can run 'ofd6x yourOutFileName' from a
DOS prompt in the directory that contains the out file. [you will need
a path to 'C:\\C6000\cgtools\bin']. This will
analyze your '.out' file.
mikedunn > or there are some mistakes I make which I don't
know?
> Are there someone meet the same problem? Or someone can give me some
suggestion to solve it? THANKS!
>
> luckeybird
--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
Reply by Michael Dunn●December 11, 20072007-12-11
luckeybird,
On 12/10/07, luck wrote:
>
> mikedunn:
> Thanks for your suggestion!
> I use the ofd6x to analysis .out file. It displays all the section
> information and symble table,some like the information gived by .map file.
> But I can't find a obviously mistake.
> I compare the two analysis results of ASM and C project. I think the
> results are similar and right, or maybe I don't know which is wrong.
>
> Have you verified that all addresses are fir internal memory??
0x10000000 - 0x1003FFFF.
mikedunn
luckeybird >
> Michael Dunn > д
> luckeybird,
>
> On Dec 10, 2007 9:12 AM, luck
>
> wrote:
>
> > hi all:
> > I meet a strange problem on 510usb emulator.
> > Environment: (1)DSP C6727B, (2)CCS v3.3 , (3)emulator: 510usb
> emulator.(4) program are all located in internal RAM
> > I write a test project in ASM. After the compiling and linking, the
> output file can be downloaded to DSP(C6727B), and it runs well.
> > But when I write a test project in C, after the compiling and linking,
> the output file can't be downloaded to DSP completely, and it can't
run!
> Typically, only the first 4-bytes can be downloaded to DSP by JTAG, and the
> other code are missing!! They are not downloaded to the corresponding
> address in DSP.
> > I can't understand it. I checked the project in C carefully,
especiall
> all the build options, and I think I don't make a mistake.
> > I am doubt that whether the driver of 510 emulator is not correct?
>
> The XDS510 has no idea about how the '.out' file was generated.
Your
> probably have a problem with your C project linker command file. If
> you do notsee the problem, you can run 'ofd6x yourOutFileName' from
a
> DOS prompt in the directory that contains the out file. [you will need
> a path to 'C:\\C6000\cgtools\bin']. This
will
> analyze your '.out' file.
>
> mikedunn
> > or there are some mistakes I make which I don't know?
> > Are there someone meet the same problem? Or someone can give me some
> suggestion to solve it? THANKS!
> >
> > luckeybird
>
> --
> www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
>
>
> --
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
hi all:
I meet a strange problem on 510usb emulator.
Environment: (1)DSP C6727B, (2)CCS v3.3 , (3)emulator: 510usb
emulator.(4) program are all located in internal RAM
I write a test project in ASM. After the compiling and linking, the
output file can be downloaded to DSP(C6727B), and it runs well.
But when I write a test project in C, after the compiling and linking,
the output file can't be downloaded to DSP completely, and it can't
run! Typically, only the first 4-bytes can be downloaded to DSP by JTAG, and the
other code are missing!! They are not downloaded to the corresponding address in
DSP.
I can't understand it. I checked the project in C carefully,
especiall all the build options, and I think I don't make a mistake.
I am doubt that whether the driver of 510 emulator is not correct? or
there are some mistakes I make which I don't know?
Are there someone meet the same problem? Or someone can give me some
suggestion to solve it? THANKS!