Ovo je moj prvi post na forumu, nadam se da cemo se dugo druziti.
Napravio sam ovaj [ http://feng3.cool.ne.jp/en/rcd.html" onclick="window.open(this.href);return false; ] RCD programator, cini mi se da funkcionise normalno, radi.
Onda sam napravio ovo http://alan-parekh.com/projects/button-" onclick="window.open(this.href);return false; ... ry-system/
1-Button kod...
Nista komplikovano, priznacete...
Naravno, skinuo sam PICProg4U, uspesno prepoznaje RCD na serijskom, ocitava PIC, brise ga, sve sljaka...
Pokusavam da unesem hex koji je dat na sajtu ciji sam link ostavio, i sve fino ocita, upise, ali kod verifikacije nastane problem, i naravno, ne radi mi uredjaj, jer pic nije isprogramiran kako valja...
Evo log:
[09:10:56] Loading button.hex into buffer...
[09:10:56] Configuration word is set to 3F55h .
[09:10:56] Hex file successfully loaded.
[09:11:05] Programming device was begun.
[09:11:06] Erasing device.
[09:11:06] Erasing Data memory.
[09:11:06] Device was erased.
[09:11:07] Erasing device entirely.
[09:11:08] Device has been erased entirely.
[09:11:08] Writing into program memory.
[09:11:20] Writing into program memory finished.
[09:11:23] Writing configuration word finished.
[09:11:23] Writing into configuration memory finished.
[09:11:23] Writing into data memory.
[09:11:24] Writing into data memory finished.
[09:11:24] Programming device finished.
[09:11:24] Verifying device.
[09:11:29] Verify failed at address 0001h,required:01A5, read:3FFF
[09:11:30] Verifying configuration word.
[09:11:30] Verifying failed! There are 1800 error(s)!
[09:11:30] Verifying failed!
Posle kliknem da ucita, sve radi, ali nema ni slicnog koda u njemu...
[09:11:49] Reading from PIC16F628A.
[09:11:56] Reading from PIC16F628A finished.
Kao sto vidite, radi se o PIC 16F628A.
Napravio sam i adapter, izvadio pinove 11, 16 i 17... Mislim, siguran sam, da sam hardverski odradio sve kako treba...
Ali ne znam u cemu bi mogao biti problem?
Imam pored toga i par pocetnickih pitanja... Da li mogu ovim postupkom da spalim PIC?
Ako nesto pogresim, samo ga obrisem i reprogramiram?
Mogu da ga izvadim iz jednog uredjaja, reprogramiram i ubacim u drugi, ili se upisuje negde nesto...?
Nadam se da nije komplikovan problem, i da cemo ga resiti, pa da se i ja polako upustam u mikrokontrolerske vode
Hvala unapred, pozz Damir
Problem oko upisivanja hex-a u PIC, pocetnik :/
Moderators: pedja089, stojke369, [eDo], trax
Re: Problem oko upisivanja hex-a u PIC, pocetnik :/
Probao sam i sa WinPic800...
Opening COM1
Detected -> 16F628A
Device Erased .: Ok
[ Verifying during programming ]
Programming Code - 2048 word
[ Verifying ]
Reading Code - 2048 word
Code - Ok
Programming Data - 128 byte
[ Verifying ]
Reading Data - 128 byte
Data - Ok
Programming ID - 4 word
Programming Config. - 1 word
[ Verifying ]
Reading ID - 4 word
Reading Config. - 1 word
ID - Ok
Config. - Ok
Tu kaze da je sve ok... Mada, kada ga prikljucim na napajanje, odmah daje struju na relej...
Prihvata ispravan kod, i prepoznaje neispravan i signalizira, ali nece da udje u mod za programiranje...
Nesto se ovde desava sto ja ne razumem... Gde gresim?
Opening COM1
Detected -> 16F628A
Device Erased .: Ok
[ Verifying during programming ]
Programming Code - 2048 word
[ Verifying ]
Reading Code - 2048 word
Code - Ok
Programming Data - 128 byte
[ Verifying ]
Reading Data - 128 byte
Data - Ok
Programming ID - 4 word
Programming Config. - 1 word
[ Verifying ]
Reading ID - 4 word
Reading Config. - 1 word
ID - Ok
Config. - Ok
Tu kaze da je sve ok... Mada, kada ga prikljucim na napajanje, odmah daje struju na relej...
Prihvata ispravan kod, i prepoznaje neispravan i signalizira, ali nece da udje u mod za programiranje...
Nesto se ovde desava sto ja ne razumem... Gde gresim?
Re: Problem oko upisivanja hex-a u PIC, pocetnik :/
Da nastavim monolog, cisto informativno...
WinPic ga upise, i kaze ok... I ja detaljno predjem preko seme i kontakata, i zakljucim da taj tranzistor i ne treba bas po semi da stoji... I tu ja nesto iscackam, sada radi...
A sto nije hteo da udje u program mod, moja je greska... Zabravio sam da vezem pin dzampera na masu.. Radi sada
Pozz
WinPic ga upise, i kaze ok... I ja detaljno predjem preko seme i kontakata, i zakljucim da taj tranzistor i ne treba bas po semi da stoji... I tu ja nesto iscackam, sada radi...
A sto nije hteo da udje u program mod, moja je greska... Zabravio sam da vezem pin dzampera na masu.. Radi sada
Pozz