![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Hey guys,
Got a small problem when trying to write the config word to the PIC. When i try to use 3FB2 (HS) or 3FB1 (XT) it builds with out any errors in MPLab but when it comes to programming the chip this error comes up: ICD0161: Verify failed (MemType = Config, Address = 0x2007, Expected Val = 0x3FB2, Val Read = 0x3FB0) This is what im trying to set up: __config 0x3FB2 ;Configuration bits set as: Oscillator EXTERNAL 20MHz(HS) ; Watchdog Timer OFF ; Power-up Timer ON ; Code Protect OFF ; Brown-out Detect OFF ; Master Clear Enable OFF ; Low Volatge Program OFF ; Data EERead Protect OFF Code Protect OFF Any help would be greatly appreciated |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| need help modifying some pic ASM code | justDIY | Micro Controllers | 17 | 16th July 2007 11:41 AM |
| Using a PIC to emulate a PSX controller | toodles | Micro Controllers | 10 | 30th June 2007 08:17 AM |
| Hardcode a PIC by hand? (or 16F74 + par.port.prog = problem) | smilen | Micro Controllers | 15 | 21st November 2005 09:23 AM |