Witam! Nie mogę sobie poradzić z zaprogramowaniem PIC10F206 przez ICD2 (nieorginalny).
PIC16F88 programuje się bez problemu, oto log:
/Connecting to MPLAB ICD 2 /...Connected /ICDWarn0030: MPLAB ICD2 is about to download a new operating system. If MPLAB IDE is just /starting, it will appear to "hang" at the splash screen. Please be patient. MPLAB IDE will finish it's /intialization after the OS is downloaded. (Note: You may wish to select to ignore this warning in /the future.) /Downloading Operating System /Connecting to MPLAB ICD 2 /...Connected /Setting Vdd source to MPLAB ICD 2 /Target Device PIC16F88 found, revision = b1 /...Reading ICD Product ID /Running ICD Self Test /...Passed /...Download Operating System Succeeded /Setting Vdd source to MPLAB ICD 2 /Target Device PIC16F88 found, revision = b1 /...Reading ICD Product ID /Running ICD Self Test /...Passed /MPLAB ICD 2 Ready /Programming Target... /...Erasing Part /...Programming Program Memory (0x0 - 0x27) /Verifying... /...Program Memory /...Verify Succeeded /...Programming succeeded /09-Mar-2006, 10:55:06
/MPLAB ICD 2 Ready
Vpp wynosi około 10,5V Natomiast gdy podłączę PIC10F206 - to już jest problem..
/Connecting to MPLAB ICD 2 /...Connected /ICDWarn0030: MPLAB ICD2 is about to download a new operating system. If MPLAB IDE is just /starting, it will appear to "hang" at the splash screen. Please be patient. MPLAB IDE will finish it's /intialization after the OS is downloaded. (Note: You may wish to select to ignore this warning in /the future.) /Downloading Operating System /Connecting to MPLAB ICD 2 /...Connected /Setting Vdd source to MPLAB ICD 2 /...Reading ICD Product ID /Running ICD Self Test /...Passed /...Download Operating System Succeeded /Setting Vdd source to MPLAB ICD 2 /ICDWarn0044: Target has an invalid calibration memory value (0x3FFF). Continue? /...Reading ICD Product ID /Running ICD Self Test /...Passed /MPLAB ICD 2 Ready /Programming Target... /ICDWarn0044: Target has an invalid calibration memory value (0x3FFF). Continue? /...Validating configuration fields /...Erasing Part /...Programming Program Memory (0x0 - 0xA) /Verifying... /...Program Memory /ICD0161: Verify failed (MemType = Program, Address = 0x0, Expected Val = 0x25, Val Read = /0x3FFF) /ICD0275: Programming failed. /MPLAB ICD 2 Ready
I oczywiście procesor się nie programuje. Czy może mi ktoś wyjaśnić co to jest i do czego służy ta wartość kalibracji pamięci? Dodam, że po podłączeniu 10F - Vpp spada do 8V. Może to być spowodowane zbyt niską wydajnością zasilania? Zasilacz ma 2VA, podczas programowania świecą się 3 ledy - zatem zostaje około 100mA dla programatora, ale ledy nie przygasają - więc nie wiem czy to jest powód.
Piny podłączyłem tak jak w PIC10F200, ponieważ w dokumentacji w pinoucie 10F206 nie ma ICSPDAT - zamiast tego jest CIN+...
Zatem moje pytanie: gdzie może tkwić przyczyna, że procesor nie chce się zaprogramować?
Pozdrawiam i dziękuję za wszelkie sugestie Michał