| ??? 04/21/02 06:06 Read: times |
#21985 - 8051 Testing Assistance |
Good evening all... I'm in need of some assistance testing my 8051 (Philips 8xC51RC2) Programmer. I'm new to microcontroller programming, but have a solid background in VC++ and other high level languages.
I purchased an unassembled 8051 kit from www.rentron.com (who were VERY helpful!). After soldering the parts together based on the schematics, I've been able to download to the chip through WinISP (and Flash Magic), but haven't been able to verify if the small app is functioning. The kit recommends setting the status byte to 00h, but the demo Keil compiler I have builds the hex file to load into 0800h. For my simple app, all I'd like to do, is raise one pin high, and one pin low, unfortunately, all the pins seem to stay around 4.3+ V (except for VCC and Ground of course). Here's all I have for my simple app: #include <REG52.H> void main (void) { while (1) { P2 = 0x00; P1 = 0x01; } } After clearing the chip, setting the status byte to 00h, and programming the chip with the compiled hex from above (which goes into 0800h), I switch it over to the Run position (and have even powered off, and powered back on again, in the Run position), yet the pins (all of the pins) remain at ~4.3+ V Based on that, does anyone have any recommendations on anything I can try to get a response from the chip? I don't know if my status byte is correct based on the fact that the Keil compiler drops the app into 0800h. Should my status byte by something else? Or is there something else I should try? Thanks in advance for your assitance! |
| Topic | Author | Date |
| 8051 Testing Assistance | 01/01/70 00:00 | |
| RE: 8051 Testing Assistance | 01/01/70 00:00 | |
| RE: 8051 Testing Assistance | 01/01/70 00:00 | |
| RE: 8051 Testing Assistance | 01/01/70 00:00 | |
| RE: 8051 Testing Assistance | 01/01/70 00:00 | |
| RE: 8051 Testing Assistance | 01/01/70 00:00 | |
| RE: 8051 Testing Assistance | 01/01/70 00:00 | |
| RE: 8051 Testing Assistance | 01/01/70 00:00 | |
| RE: 8051 Testing Assistance | 01/01/70 00:00 | |
| RE: 8051 Testing Assistance | 01/01/70 00:00 | |
| RE: 8051 Testing Assistance | 01/01/70 00:00 | |
| RE: 8051 Testing Assistance | 01/01/70 00:00 | |
| RE: 8051 Testing Assistance | 01/01/70 00:00 | |
| RE: 8051 Testing Assistance | 01/01/70 00:00 | |
| RE: 8051 Testing Assistance | 01/01/70 00:00 | |
| RE: 8051 Testing Assistance | 01/01/70 00:00 | |
| RE: 8051 Testing Assistance | 01/01/70 00:00 | |
| RE: 8051 Testing Assistance | 01/01/70 00:00 | |
RE: 8051 Testing Assistance | 01/01/70 00:00 |



