Forums

error: Can't Single Step Target Program

Started by rahu...@spectross.com August 27, 2008
Hi All,
I am new to ASM Coding, I am using ccs V3.3 for C55x platform,
I have written a c function which call ASM code,
ASM code is also having multiple CALL statements for ASM functions in the same file, while debugging first CALL at the time of RET following error is flashed,

error: Can't Single Step Target Program: Check the linker command file / map file for any part of the program going into reserved area and correct the problem when Program Counter is 0x0 NOTE: Reset the target, reload the corrected program and continue execution

I have generated ASM profile to get MAP file but how should i check for any part of the program going into reserved area ??
Thanks in Advance,
Rahul.
check your stack for 16, 24 and 32 bit push and pops and number of push and
pops .
may be the return address which was stored onto the stack is corrupted.

On Wed, Aug 27, 2008 at 10:29 AM, wrote:

> Hi All,
> I am new to ASM Coding, I am using ccs V3.3 for C55x platform,
> I have written a c function which call ASM code,
> ASM code is also having multiple CALL statements for ASM functions in the
> same file, while debugging first CALL at the time of RET following error is
> flashed,
>
> error: Can't Single Step Target Program: Check the linker command file /
> map file for any part of the program going into reserved area and correct
> the problem when Program Counter is 0x0 NOTE: Reset the target, reload the
> corrected program and continue execution
>
> I have generated ASM profile to get MAP file but how should i check for any
> part of the program going into reserved area ??
> Thanks in Advance,
> Rahul.
>
>