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?
You can start by being more specific: what you did exactly, and what goes wrong - again exactly.
Start debugging!
put the kettle on
i am from germany so my english is not so good, sorry!
one more time, i have a traffic example programm from keil and i made a small board with LEDs for this programm, i can debug the programm but i can not start this programm on my board.... hardware is ok, i know it. there must be some options in keil software that i dont found to start the programm.
have anyone try to start this programm with hardware?
a wild guess you are using the eval and a chip with less than 2k code memory
a few questions 1) eval or full? 2) which derivative 3) how are t6he LED's connected? 4) how do you load the code? 5) what is on the reset pin?
Erik
It sounds like you are new to this, why on earth do you use a RTOS?
How do you know it?
"How do you know it?"
RTX51 = The RTOS
Whooooooooops
wrong question
Sorry
So, how do you know that he hardware is OK?
I have test my board with other programms, and all of them are running, just RTX51 programms not...
to erik: a and b) I have a full version of keil3 c)LEDs are running with other programms so i dont think that they are diskonnected d) I load the programm on my chip with ATMELISP e)reset is with 10k locked on GND
derivative means the full name of your chip.
e)reset is with 10k locked on GND no capacitor, no supervisor??
of course i have a a capacitor, 01uF. and my i have at89s52 chip..
have you try to put this programm or another rtx programm on the hardware?
"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