| ??? 05/15/03 13:12 Read: times |
#45495 - can not write to port(s) (89s8252) |
Here's the program:
#include <89S8252.H> int main() { while(1) { for(int x=0;x<0xFF;++x) { for(int i=0;i<0xFFFF;++i) { P3 = x; } } } return(0); } using keil this program complies and the simulator verifies functionality. i use the atmel burner program and cable. i can burn the chip and verify that the contents are correct. schematic: pins 14-17 ------(4.7k)----| vcc | | (LED) | | (ground) i reset the chip after the burn and nothing. I even used a digital o-scope to see some activity on the port and nothing. ??? what am i doing wrong. I thought this would be a no-brainer when I started. I've read and read and read. I've bought 4 chips thinking I toasted the last one(x3), but they all function the same. please help, Eric |



