Hallo, I try to start the traffic programm on my 8051 board. i can compile the programm and i can write the hex-file on the board, but port1 dont show any activity. what can i do?
"of course i have a a capacitor, 01uF."
No, there is no "of course" about it!
It's precisely that sort of omission that causes very many problems - especially for beginners!
That's why you need to give a complete, detailed description of what you have, what you've done, what you expected to see, what you actually saw, and what steps you've taken to resolve the two.
What debugging have you done so far?
Have you tried the code in the simulator?
so, once again, i am sure that my board is ok. we have test it a lot of times and evrything was ok.
I can compile the traffic programm and I create a hex-File. Simulation was ok, too. I can see hex-code with GALEPP- Software and it seems to be ok....
If my board and my hex-file are ok, there must be a mistake by writing on the chip.... Or my chip (AT89s52) cannot work with rtx
"If my board and my hex-file are ok, there must be a mistake by writing on the chip"
Not necessarily.
The software might be incompatible with your particular hardware - which might not show up in the simulator.
Are you sure that all your port assignments, pin assignments, etc, are correct?
Are you sure that you have correctly configured RTX51 for your specific target - including memory, clock spedd, etc?
You still haven't mentioned doing any debugging on this - just saying "it doesn't work" is pretty worthless! Have you tried writing simple trace messages to the serial port? or using LEDs to show startup status, etc?
Have you tried just a really simple RTX application?
"Or my chip (AT89s52) cannot work with rtx"
The RTX51 Documentation will tell you what it requires of its target - have you checked?
http://www.keil.com/support/man/docs/tr51/tr51_examples.htm
" i am sure that my board is ok. we have test it a lot of times and evrything was ok."
What, exactly, do you mean by "tested"? "Tried it and it worked" is not much of a test!
You need to think more carefully about what conclusions you can and cannot draw from your statement!
It shows that the parts used by the other software work as expected by that software.
Maybe the RTX Traffic example uses parts of the board that weren't used by your other software?
Maybe the RTX Traffic example uses parts of the board in ways that your other software doesn't?
There could be features on your board that are marginal, and only just work with your other software - and only just don't work with the RTX example.
etc, etc, etc,...
the chip you (claim to) use has only 8k of code memory.
could it be that when you, for whatever reason you may have - I know of none, add a RTOS to a '51, you "run off the edge".
Erik
The tools should warn about that - if they don't, then they are not correctly configured.
The requirements of RTX51 Tiny itself seem quite modest: http://www.keil.com/support/man/docs/tr51/tr51_specs.htm