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.
I start uVision3 and clicked 'New uVision Project' from the Project Menu. A 'Create New Project' window appears. I enter the name of the project (LEDTest) and clicked save. Then a "Select device for Target 1' window appeared. I then double-clicked on Atmel and chose the AT89C55WD as the device and I clicked OK. Then a window saying 'Copy Standard 8051 Startup Code to Project Folder and Add File To Project' appeared and I clicked yes. As soon as I did that, the Project Window displayed. On the 'Target 1' folder are 3 red dots which I know means there's something wrong. I haven't even written code yet and I'm having problems. Does anyone knows how to correct this problem?
Andy thank you for that link. So those red dots represent a group of specific options. The color red usually represents a warning. So I assumed that 's what it was. Also I only purchased the A51 kit. So I can't use the 'Hello' project which is written in c language. I still can't see anything wrong with the code I wrote. It's just too simple not to work. I must be lousy at programming since I can't even get an LED to blink. Did you find out what is wrong with the code I wrote?
That's the trouble: don't assume - find out for sure!
Writing software requires that you play precisely by the rules: the tools won't give you any leeway at all. They will do precisely what you say in your source code - they will not attempt to work out what you meant
Therefore the first thing you must do is to study the manuals carefully - so that you know what the rules are!
"It's just too simple not to work"
No that is not true at all, I'm afraid.
Writing a "simple" program requires just as much care, attention, and precision as writing a complex one!
Speaking of care & attention, did you not notice the instructions on how to post source code? They are clearly stated immediately above the window where you types your message...
www.danlhenry.com/.../keil_code.png
" Did you find out what is wrong with the code I wrote?"
The Assembler told you two things that are wrong with it - so fix those first!
Your first step should be to look-up those error messages in the manual: http://www.keil.com/support/man/docs/a51/a51_a8.htm http://www.keil.com/support/man/docs/a51/a51_a46.htm
and be sure to see the linked knowledgebase articles...