This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ISD51 has a problem

Hello,
I have a problem using ISD51 to debug my code. AT first, I used the simulator to run my code and it works fine. Then I added ISD51.A51 into my project and also added ISDinit() and ISDcheck() to my code, changed the OPTION menu to enable ISD51 and compiled. The problem is that the code doesn't start running after loading (seems waiting). Can anyone help with it?
Another thing: during compiling, I saw there were a few bytes overlap in code space. Does it matter?

Thanks
Frank
-------------------------------------------
compiling LOG.C...
compiling test.c...
assembling Conf_tny.a51...
assembling STARTUP.A51...
assembling ISD51.A51...
linking...
*** WARNING L5: CODE SPACE MEMORY OVERLAP
FROM: 0023H
TO: 0025H
Program Size: data=68.3 xdata=454 code=16180
creating hex file from ".\output\snake"...
".\output\snake" - 0 Error(s), 1 Warning(s).

Parents
  • Thanks Steve for your reply. I have the following comments.
    1. I don't understand why I need a header file. I'm using PK51-kit and I can define ISD51 as Preprocessor Symbols in IDE option menu.
    2. Calling ISDinit() after ES set seems meanless to me. If you check ISDinit(), ISD is ONLY initialized when ES=0.
    3. As I said before, if I call ISDcheck() after ES=1 set, ISDcheck() will do nothing.

    Can you give more comments on above? Thanks.

    Frank

Reply
  • Thanks Steve for your reply. I have the following comments.
    1. I don't understand why I need a header file. I'm using PK51-kit and I can define ISD51 as Preprocessor Symbols in IDE option menu.
    2. Calling ISDinit() after ES set seems meanless to me. If you check ISDinit(), ISD is ONLY initialized when ES=0.
    3. As I said before, if I call ISDcheck() after ES=1 set, ISDcheck() will do nothing.

    Can you give more comments on above? Thanks.

    Frank

Children