cancel
Showing results for 
Search instead for 
Did you mean: 

system stuck-in crtsx

seecure
Associate II
Posted on March 22, 2004 at 20:34

system stuck-in crtsx

5 REPLIES 5
seecure
Associate II
Posted on March 11, 2004 at 14:26

hello forum!

platform: ST72F5R9T , cosmic, indart-STX

does any one can explain me why software as already work properly

sudenlly stuck-in:

rsp

.........

...........

ld a,(__idesc__+4,x) ; store

ld c_y+1,a ; vector

dbcl:

ld a,[c_x.w] ; transfer

ld [c_y.w],a ; byte

inc c_y+1 ; increment

nulljrne dok ; destination

inc c_y ; address

dok:

inc c_x+1 ; increment

jrne sok ; source

inc c_x ; address

sok:

and it can't recover anymore

any idia

when I program it via DataBlze it runs!!!

atz
nciot
Associate II
Posted on March 15, 2004 at 05:25

Hi Atz,

when you build your code, does it give any error?

Regards

Nicola
seecure
Associate II
Posted on March 19, 2004 at 07:21

Hi Nicola,

No there is no error! and I usally save the last project that

allready works good.Also the last project which has been worked properly,stuck in that point.

Anyway, the day after it recovered. today it hapands again.

I work with the datablaze programmer and waiting to sunday may be it will recoverd again.

it is very strange thing!

atz

jatin
Associate II
Posted on March 22, 2004 at 02:06

Could you monitor your resewt pin to check whether there is an unwanted reset after you start running your code?

seecure
Associate II
Posted on March 22, 2004 at 20:34

Hi Jatin

The software is interrupt event driven, so the way I could debug the

software is to put a TRAP in my code and then use breakpoint.

sometime it dosen't break and the BP. then I reset the system, in that

point the crtsx.s is stuck!.

I found out that 'remove all breakpoint' then reset recover the debugger and enable me continue work in debug mode.

do you have any explanation ?

atz