![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #16 | |
| Quote:
__________________ bananasiong | ||
| |
| | #17 |
|
I am using PIC starter programmer when I programmed it this error shows up Code: PICSTART Program\Verify Report 19-Oct-2008, 08:28:21 Device Type: PIC16F84A Address Range 0-17 Program Memory Errors Address Good Bad 0000: 1683 FFFF 0001: 3000 FFFF 0002: 0085 FFFF 0003: 1283 FFFF 0004: 3002 FFFF 0005: 0085 FFFF 0006: 200B FFFF 0007: 3000 FFFF 0008: 0085 FFFF 0009: 200B FFFF 000A: 2804 FFFF 000B: 3011 FFFF 000C: 008C FFFF 000D: 305D FFFF 000E: 008D FFFF 000F: 3005 FFFF 0010: 008E FFFF 0011: 0B8C FFFF 0012: 2814 FFFF 0013: 0B8D FFFF 0014: 2816 FFFF 0015: 0B8E FFFF 0016: 2811 FFFF 0017: 0008 FFFF Configuration Memory Errors Field : Oscillator Expected: XT Received: RC Field : Power Up Timer Expected: On Received: Off Code: list p=16F84A ; list directive to define processor
#include <p16F84a.inc> ; processor specific variable definitions
__CONFIG _CP_OFF & _WDT_ON & _PWRTE_ON & _XT_OSC
cblock 0x0c
d1
d2
d3
endc
bsf STATUS,5
movlw 00h
movwf TRISA
bcf STATUS,5
START movlw 02h
movwf PORTA
call Delay2sec
movlw 00h
movwf PORTA
call Delay2sec
goto START
Delay2sec
;1999996 cycles
movlw 0x11
movwf d1
movlw 0x5D
movwf d2
movlw 0x05
movwf d3
Delay2sec_0
decfsz d1, f
goto $+2
decfsz d2, f
goto $+2
decfsz d3, f
goto Delay2sec_0
;4 cycles (including call)
return
END
__________________ Hesham Ismail Mohammed Sharif Thank me if you want | |
| |
| | #18 |
|
Are you using a Microchip PICStart+ programmer or something called a PIC Starter?
| |
| |
| | #19 |
|
Don't worry problem solved I was buring the PIC 16F84a codes into PIC 16F818. Btw. I was using PIC start+. Thanks for replying
__________________ Hesham Ismail Mohammed Sharif Thank me if you want | |
| |
|
| Tags |
| 16f84, calling, delay |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Atmel, assembly:displaying on lcd | Haidy | Micro Controllers | 13 | 11th February 2008 09:13 PM |
| Motor Controllers and serial comm? | RedCore | Micro Controllers | 18 | 3rd July 2007 02:27 AM |
| Randomness of 16F84 program - sometimes works somtimes doesn | FusionITR | Micro Controllers | 10 | 28th February 2006 10:06 AM |
| Delay routine not working | gregmcc | Micro Controllers | 6 | 18th September 2005 06:23 PM |
| Effects | stephenpic | Micro Controllers | 6 | 19th January 2004 12:57 PM |