I'm trying my first embedded project with a 18f452. Right now I'm stuck with some weird behavior from my PIC. I'm just trying to get the external osc. to work and having no luck. I hooked up a 20 Mhz crystal and added the 2 decoupling caps and the behavior of the output LEDs on PORTB are erratic. When I switched to a powered osc and changed the configuration to accept a CLK IN, nothing better happens.
So my questions are as following:
1. What am I doing wrong?
2. What is the basic external pin configuration for the PIC to function?
3. What do I need to do to the chip (external connections) to get my blinkanled.asm file to work?
Any help would be greatly appreciated.
n8
So my questions are as following:
1. What am I doing wrong?
2. What is the basic external pin configuration for the PIC to function?
3. What do I need to do to the chip (external connections) to get my blinkanled.asm file to work?
Any help would be greatly appreciated.
n8