Hey guys first off not only am I new here I'm also new to PIC (coming over from AVR), I hope I've included all info you guys may need to help me but let me know any other info you need.
I have several different uses for 12F617's (digikey is shipping 6171's) and in all the previous boards the chips can be programmed ISP but for this newest project I have only been able to program off the board (not a big issue at all) however also with this new project I'm getting an error trying to verify. I've went back to multiple other projects and have tried this very chip (actually tried several chips) and they all work fine so I think it must be code related however I sent my buddy the code and he assembled it and emailed the hex back and that flashes (in a new project) and it verifies just fine, what the heck!?
I've been searching for a couple days while I remembered my login here and waited on my verification email and the closest thing I have found was this thread at microchip's forum (I'm not aboe to post a thread there, some crazy forum issue that lots of people are having) but its not the same issue and there wasnt much to use, it did lead me to check my config bit's and I made sure code protection was off but now I'm lost. Just to be clear the device is running, its just having a seemingly random issue where it gets stuck I believe to be a memory issue related to this.
MPLAB IDE v8.92
windows vista business x32 (running on a dell laptop from 2008)
picKIT3, making the connection with an SOIC clip with leads from the pickit <6", again programming with the chip free in the air...
PICkit 3 detected
Connecting to PICkit 3...
Firmware Suite Version...... 01.28.90
Firmware type......................Midrange
PICkit 3 Connected.
Device ID Revision = 00000000
Programming...
Programming/Verify complete
Verifying...
The following memory regions failed to verify correctly
Program Memory
Address: 00000000 Expected Value: 00002886 Received Value: 00000000
Verify failed
However when I read the chip after programming THEN verify it comes back correct, also blank check (obviously after an erase) comes back good.
PICkit 3 detected
Connecting to PICkit 3...
Firmware Suite Version...... 01.28.90
Firmware type......................Midrange
PICkit 3 Connected.
Device ID Revision = 00000000
Programming...
Programming/Verify complete
Verifying...
The following memory regions failed to verify correctly
Program Memory
Address: 00000000 Expected Value: 00002886 Received Value: 00000000
Verify failed
Reading...
Read Complete
Verifying...
Verify complete
This is a controller for a 4 channel RGBW LED driver and sometimes (quite often) the light will get stuck in one particular loop or even more specifically at one random output level, the program has memory threw power cycles so it will be stuck there till I erase the chip and reflash (it has wear leveling so I'm thinking it runs fine when it writes to different bit's but when it writes to that one spot it locks up). Other than those random times when that happens the device runs as programmed, thats why I think the issues are one in the same. As I mention I've tried several different chips and all of them run perfectly in other similar devices (but with totally different code), its ONLY this project they do this issue.
I dont know what more info you guys might need, I can post the instructions file I'm using if you need that, just let me know.
thanks in advance.
P.s. after reading some more while typing just thought I should mention, I'm not using MCLR for anything, there is physically n/c when in service, looks like some people have some issues locking the PIC up trying to run MCLR as an I/O but I'm not doing that here.
Message was edited by: me clarificati'n and spellin'