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

Basic RTX51 code

Hi!!

I have a basic code under RTX51, read/write serial port.
Without RTX51 control it work ok. But if i use RTX and download my project to the target it dont work.

I have saw the example code TRAFFIC, and i include all different files:
RTXCONF, RTXsetup, STARTUP. I modificated anyfiles to put xdata, and to select my micro but i dont know why dont work.
Im looking similar examples but i cant find the solution...

My micro is AT89C51ED2.
Any idea??

Thanks

Parents
  • Does the traffic example work on your target?

    Then either base your application on the traffic code, or spend more time comparing the differences. Have you tried with a smaller application? First a main() that doesn't start any new tasks. Then add one task. Then a second. Programming is all about splitting a problem into pieces small enough for you to be able to handle.

Reply
  • Does the traffic example work on your target?

    Then either base your application on the traffic code, or spend more time comparing the differences. Have you tried with a smaller application? First a main() that doesn't start any new tasks. Then add one task. Then a second. Programming is all about splitting a problem into pieces small enough for you to be able to handle.

Children
No data