Problem med JDM-programmerare (nu ger jag upp)

PIC, AVR, Arduino, Raspberry Pi, Basic Stamp, PLC mm.
99nvbjed
Inlägg: 70
Blev medlem: 27 maj 2004, 15:40:47

Problem med JDM-programmerare (nu ger jag upp)

Inlägg av 99nvbjed »

Har lite problem med min hembyggda programmerare. Ritning.

För nån vecka sen programmerade jag min första PIC, ett litet LED-blink program (såklart! :lol:). Men så idag när jag skulle använda den igen funkar det inte. Jag har testat både "IC-prog" och "Win PIC Programmer". I "Win PIC" står det att programmeraren är initierad och funkar, men när jag programmerar misslyckas verifieringen och det står "programming failed".

Eftersom programmeraren varit orörd i nån vecka tror jag inte att det är ett hårdvarufel (fast det ska väl inte uteslutas). Är det nån som kan ge ett litet tips på vad man kan testa och eventuellt få den att funka?
Senast redigerad av 99nvbjed 26 augusti 2004, 20:08:20, redigerad totalt 1 gång.
Användarvisningsbild
ToB
Inlägg: 678
Blev medlem: 22 februari 2004, 10:32:58
Skype: tobias_bjork
Ort: Sollentuna

Inlägg av ToB »

Klipp från http://users.tpg.com.au/btkelly/jdm_b.htm

However, an issue has arisen lately with some of the new PIC's, eg PIC12F675, 12F629, and some others with an internal oscillator.

When these chips are programmed the first time, everything goes fine. However, if you later try to read or re-write to them, they read as blank and cannot be written to. The problem only occurs when the PIC has been programmed for INTOSC and MCLR_OFF, but even in this situation sometimes it will re-program OK - there seems to be some other dependence on the program which has been loaded as well.

The cause of the problem is that the JDM programmer applies +5V Vcc to the chip all the time, and cannot effectively be turned off, as the serial port ground connection is actually used for Vcc. This means that when the PIC has been programmed for INTOSC, the program in it runs as soon as it is inserted into the programmer. Once the PC increments with the program running, the device is no longer in a reset state and will not enter program/verify mode. The other issue is that if the PIC program writes values to data EEPROM memory which depend on the state of the inputs, these values will be overwritten and lost when inserted. For those who have encountered these problems, the advice has been to build a new programmer, eg. the Tait programmer, or there is Feng's "RCD Programmer" which he develepod as a result of this problem, and is fully compatible with the JDM.
99nvbjed
Inlägg: 70
Blev medlem: 27 maj 2004, 15:40:47

Inlägg av 99nvbjed »

ja, men den jag har programmerat tidigare var en 16F84 som jag dessutom programmerade flera gånger för ett par veckor sen...
Tack för hjälpen ändå! Nu ska jag gå igenom varenda lödning en gång till och hålla tummarna.
99nvbjed
Inlägg: 70
Blev medlem: 27 maj 2004, 15:40:47

Inlägg av 99nvbjed »

Nu ger jag upp med denna programmerare. Jag tror att COM-porten inte pallar med den. Nån som kan tipsa om nån enkel programmerare med extern strömkälla? Helst utan IC-kretsar, skulle vilja bygga den utan att beställa något.
Skriv svar