What are the most common pitfalls for a 8052 newbie?
Submitted By: Jan Waclawek FAQ Last Modified: 12/07/06
- problems with atomicity, when accessing the same variable(s) both in "main" and in interrupts
- problems with "randomly" enabled interrupts
- problem with interrupt executed only once after reset
- in assembly, problems with using such combination of instructions and parameters, which are not permitted
- problems with nothing being transmitted over serial from '51 to PC
- problems with garbage being transmitted over serial from '51 to PC
- problems with serial port receiving nothing from PC
- problems with serial port receiving the same byte over and over, even if none was sent from PC
- other problems with serial communication
- problems with RS485
- end an asm program with END
-
Add Information to this FAQ: If you have additional information or alternative solutions to this question, you may add to this FAQ by clicking here.