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
  • Your code is simple enough. The only GUESS I would make right now is that you are having serial communications problems such as noisy line, bad DSR/DTR connection, or a baud mismatch. The two different error messages would support that, tending to indicate different data being observed across different attempts.

    But you say you can communicate with your processor via HyperTerminal, so that is odd. Did you say that you have seen the microprocesssor successfully send data to the PC via the UART? (When you send an 0xA5 to the application, it sends back 6 bytes which appear in HyperTerminal?)

Reply
  • Your code is simple enough. The only GUESS I would make right now is that you are having serial communications problems such as noisy line, bad DSR/DTR connection, or a baud mismatch. The two different error messages would support that, tending to indicate different data being observed across different attempts.

    But you say you can communicate with your processor via HyperTerminal, so that is odd. Did you say that you have seen the microprocesssor successfully send data to the PC via the UART? (When you send an 0xA5 to the application, it sends back 6 bytes which appear in HyperTerminal?)

Children