![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| I posted a message a couple days ago about programming a pic16f84a. I tried what was suggested but to no avail. To simplify my circuit a bit (until I get this thing figured out) I am now using a 16f627 which has the same locations for registers and memory, but also has an internal rc. In other words it's simple. Know I programmed it with the same code as the f84a, and with the internal rc w/ clockout enabled. I connected a led to the clockout pin and I get a signal that turns the LED on. My program still will not work. When I use MPASM to assemble the code I get the following message: Message[302] Register in operand not in bank 0. Ensure that bank bits are correct. It looks like the chip will not switch to bank 1 Do these things ever work right? Sorry for the long post but this is frustrating me. Geek
__________________ \"Genius is 1% inspiration and 99% perspiration.\" Thomas Alva Edison | |
| |
| | (permalink) | |
| Quote:
ERRORLEVEL -302 to the top of your code to hide these messages. | ||
| |
| | (permalink) |
| Thanks, that is just what I need to know, I was thinking that I had the good code but MPLAB still gif a 302 message. Cya | |
| |