I have one program with RTXtiny on AT89C51. I compiled it successfully. Message was: Program Size: data=94.3 xdata=0 code=3903 creating hex file from "ds1302"... "ds1302" - 0 Error(s), 0 Warning(s). It occupied 94.3 data ram and 3903 bytes code rom in small mode.But when I use simulator to run this program. I got some error messages:
*** error 65: access violation at I:0xFE : no 'write' permission
When I changed target to AT89C52, I can run this program normally... I know that AT89C51 has 128 bytes RAM and 4096 bytes flash ROM. But why I can not run this proram on AT89C51?
Brs Tomy Lee
Sorry....
RAMTOP setting into file conf_tny.a51 ....
Best regards
Thanks for you help. And thank you Eduard, I think you are right. I will do it tonight and tell you results.
Best regards Tomy
OK.
Best Regards.
Eduard
For such a small project, why are you using an RTOS anyway...?!
When asked questions the OP see no reason to answer.
Erik
As Eduard said, when I modified RAMTOP parameter from 0ffh to 7fh, and FREE_STACK parameter from 40 to 15, then my program run successfully. If I don't modify FREE_STACK from 40 to 15 or 10, this code also can not run.
Thanks Eduard again!