DSPRelated.com
Forums

Error JTAG emulator

Started by sanjana0706 June 4, 2003
Hi all
I am trying a debug my code using emulator and get the message
saying..Data verification failed at address: 0x0c0000
Expected: 0x000668a0, Found: 0x00000000

i think probably due to my following part of my code...and my ldf..
segment("seg_dmda")float dm val[50]={
#include"make.dat";
};

and the ldf...
seg_rth { TYPE(PM RAM) START(0x00008000) END(0x000080ff) WIDTH(48) }
seg_init { TYPE(PM RAM) START(0x00008100) END(0x000810f)
WIDTH(48) }
seg_pmco { TYPE(PM RAM) START(0x00008110) END(0x00008fff)
WIDTH(48) }
seg_pmda { TYPE(PM RAM) START(0x00009800) END(0x00009fff)
WIDTH(32) }

#ifdef __cplusplus
seg_ctdm { TYPE(DM RAM) START(0x0000C000) END(0x0000C0ff) WIDTH
(32) }
seg_ctdmend { TYPE(DM RAM) START(0x0000C100) END(0x0000C1ff)
WIDTH(32) }
seg_dmda { TYPE(DM RAM) START(0x0000C200) END(0x0000Cfff)
WIDTH(32) }
#else

seg_dmda { TYPE(DM RAM) START(0x000C0000) END(0x000CCfff) WIDTH
(32) }
#endif
seg_heap { TYPE(DM RAM) START(0x000Cd000) END(0x000Cdbff)
WIDTH(32) }
seg_stak { TYPE(DM RAM) START(0x000Cdc00) END(0x000Cdfff)
WIDTH(32) } Im using 21065l
But i could not figure out what the problem could have been....
Thnaks
sanjana




Hi Sanjana,

Does your emulator work correctly while executing code from internal
memory?
I too had a similar problem while working with APEX-ICE ( USB based
emulator for ADSP-21061.Everytime while I used to invoke the
emulator, it used to alert me with a message of the very same time as
what you are experiencing at your end. What confused me more was
that, the scan test for emulator used to get through correctly. So I
never suspected the emulator connectivity. However ultimately, I
thought of analyzing the noise level on the JTAG lines running into
my target board. I did find sufficient amount of ringing and ground
bounce. After referring to an application note ( I think it was EE-
68 ), I introduced a 4.7K pullup on TMS, TCK and TDI lines. That too
did not help much. Later I changed the pullup value to 10K. Also I
pulled down the /TRST line low. Things started working fine after
that. Also earlier I was driving my target board with a SMPS. Later
due to high frequency noise, I adopted a linear power supply.

Do check if any of the above gets applicable in your case.

Regards,
Bhaskar Das --- In , "sanjana0706" <sanjana0706@y...> wrote:
> Hi all
> I am trying a debug my code using emulator and get the message
> saying..Data verification failed at address: 0x0c0000
> Expected: 0x000668a0, Found: 0x00000000
>
> i think probably due to my following part of my code...and my ldf..
> segment("seg_dmda")float dm val[50]={
> #include"make.dat";
> };
>
> and the ldf...
> seg_rth { TYPE(PM RAM) START(0x00008000) END(0x000080ff) WIDTH
(48) }
> seg_init { TYPE(PM RAM) START(0x00008100) END(0x000810f)
> WIDTH(48) }
> seg_pmco { TYPE(PM RAM) START(0x00008110) END(0x00008fff)
> WIDTH(48) }
> seg_pmda { TYPE(PM RAM) START(0x00009800) END(0x00009fff)
> WIDTH(32) }
>
> #ifdef __cplusplus
> seg_ctdm { TYPE(DM RAM) START(0x0000C000) END(0x0000C0ff) WIDTH
> (32) }
> seg_ctdmend { TYPE(DM RAM) START(0x0000C100) END(0x0000C1ff)
> WIDTH(32) }
> seg_dmda { TYPE(DM RAM) START(0x0000C200) END(0x0000Cfff)
> WIDTH(32) }
> #else
>
> seg_dmda { TYPE(DM RAM) START(0x000C0000) END(0x000CCfff) WIDTH
> (32) }
> #endif
> seg_heap { TYPE(DM RAM) START(0x000Cd000) END(0x000Cdbff)
> WIDTH(32) }
> seg_stak { TYPE(DM RAM) START(0x000Cdc00) END(0x000Cdfff)
> WIDTH(32) } > Im using 21065l
> But i could not figure out what the problem could have been....
> Thnaks
> sanjana