Skip to main content
Visitor II
March 22, 2004
Question

system stuck-in crtsx

  • March 22, 2004
  • 5 replies
  • 896 views
Posted on March 22, 2004 at 20:34

system stuck-in crtsx

    This topic has been closed for replies.

    5 replies

    seecureAuthor
    Visitor II
    March 11, 2004
    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
    Visitor II
    March 15, 2004
    Posted on March 15, 2004 at 05:25

    Hi Atz,

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

    Regards

    Nicola
    seecureAuthor
    Visitor II
    March 19, 2004
    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

    Visitor II
    March 22, 2004
    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?

    seecureAuthor
    Visitor II
    March 22, 2004
    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