PIC10F206 Problem z programowaniem ICD2

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ł

Reply to
Michał Augustyniak
Loading thread data ...
Reply to
Mariusz.K.(R2D2

To akurat nie ma związku, to że dostajesz komunikat jest wynikiem braku łączności z procesorem.

Pomijając dlaczego tak się dzieje to 8V podane na MCLR nie wprowadzi procesora w tryb programowania.

Procesor na pewno tyle nie ciągnie jeśli nie jest uszkodzony.

Coś masz zwalone z podłączeniem albo procek jest ubity, a komunikaty dostajesz dlatego, że procesor nie odpowiada i jest to odczytywane jako stan wysoki na linii (0x3fff).

Pozdrawiam, sword

Reply to
Adam Jurkiewicz

napięcie Vpp ma być chyba w granicach 12-13V lub cos w podobie. Poprostu jest za małe i to wszystko. Mam klona ICD2 i nie ma żadnych problemów z programowaniem. Upewnij się że wszystkie sygnały idą do procka i że ma on zasilanie albo z ICD2 albo własne. Napięcie programujące jest tako samo chyba dla wszystkich procków Microchipa.

Reply to
szlovak
Reply to
invalid unparseable

Dziekuje za pomoc. To faktycznie chodzilo o zbyt mala moc zasilacza.. Wczesniej nie mialem z tym problemów. W zasilaczu jest 7812 po nim, w programatorze jest 7805 i to spowodowalo, ze zabraklo mocy. Jako ciekawostke dodam, ze po zmianie w bitach konfiguracyjnych - programuje sie bez problemów...

Reply to
Michal Augustyniak

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.