We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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).
Sorry, I copied wrong one. Below shows that I have a overlap problem. * * * * * * * C O D E M E M O R Y * * * * * * * CODE 0000H 0003H ABSOLUTE 0003H 0008H *** GAP *** CODE 000BH 0003H ABSOLUTE 000EH 0015H *** GAP *** CODE 0023H 0003H ABSOLUTE * OVERLAP * CODE 0023H 0003H ABSOLUTE 0026H 00DAH *** GAP *** CODE 0100H 061FH UNIT ?C?LIB_CODE
hi, sorry I did wrong post too (= I meant:
void timer0 (void) interrupt 4
Actually I have a line "void serial( void ) interrupt 4" to define my serial port. Maybe I should remove this function?
oh no, it is last day of work week... Finally, I meant (help me type right now :)
void serial (void) interrupt 4
yes, you should delete because ISD51 utilizes UART for debug purposes. Regards, Oleg
Thank you very much for your help.
Sorry, I still have a problem with ISD51. I disabled the serial interrupt 4. Also I changed the RAMTOP FROM 0xFF TO 0xF8 in ISD51.A51, RAMSIZE from FF to F8 and CMP_END from 0xFFFF to 0x7FFF, IE to IEN0 as I'm using RTX51 Tiny with C515C processor. After clicking "debug" button, an error message said "please check contents...." But I have to say the contents in ROM is the same as in my PC, I don't know the Keil software keeps asking... Frank
Hello Frank, I have the same question, did you find any answers? With best wishes, S.
Unfortunately no. Frank