Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).
Post a new Thread
extended addressing in 5416 : Loading problem in emulator - Ritesh Patel - Jul 15 3:40:00 2005
Hi,
As my code size is getting large, I have to put some program modules on
0x0000-0x7FFF (OVLY bit set) section and others on SARAM 0x28000-0x2FFFF and
0x38000-0x3FFFF.
I am checking with some functions linked to define in different program
sections using #pragma CODE_SECTION. I am attaching file volume.cmd and my main
program. I am building with build options using far calls.
the problem which I am getting is that it goes well in simulator but, cant
load through TDS510 jtag emulator. it says "Data verification failed
at address 0x28000 and also at 0x38000.
I have also checked options->memory map and also gel file.
I wrote another temp project which should write program in
0x18000-0x1FFFF (drom bit OFF) that also has the same problem.
--
Ritesh Patel
______________________________
New Code Sharing Section now Live on DSPRelated.com.
Learn about the Reward
Program for Contributors here. 
(You need to be a member of c54x -- send a blank email to c54x-subscribe@yahoogroups.com )
Re: extended addressing in 5416 : Loading problem in emulator - Jeff Brower - Jul 15 10:24:00 2005
Ritish-
> As my code size is getting large, I have to put some program modules on
> 0x0000-0x7FFF (OVLY bit set) section and others on SARAM 0x28000-0x2FFFF
and
> 0x38000-0x3FFFF.
>
> I am checking with some functions linked to define in different program
sections
> using #pragma CODE_SECTION. I am attaching file volume.cmd and my main
program. I
> am building with build options using far calls.
>
> the problem which I am getting is that it goes well in simulator but, cant
load
> through TDS510 jtag emulator. it says "Data verification failed at
address 0x28000
> and also at 0x38000.
> I have also checked options->memory map and also gel file.
>
> I wrote another temp project which should write program in 0x18000-0x1FFFF
(drom
> bit OFF) that also has the same problem.
If u don't load any code, just start CCS with c5416.gel file, can u see mem
at
0x28000 correctly? Can you change values? If so, then write a tiny program
that
does nothing but boot up, set PMST and other basic regs, and make READA and
WRITEA to
0x28000 and verify that you can see the values change in CCS.
If u get that far, then u know the problem would be in your code or .cmd file.
If
not, then reg initialization, Gel file, emulator, CCS config, etc.
Please let us know what happens.
-Jeff
______________________________
New Code Sharing Section now Live on DSPRelated.com.
Learn about the Reward
Program for Contributors here. 
(You need to be a member of c54x -- send a blank email to c54x-subscribe@yahoogroups.com )