WILLEM programator

Ovde postujte diskusije o korisnim alatkama instrumentima i ostalom.

Urednik: alexa_pg

Avatar
Majstor Duja
Neaktivan
Postovi: 3136
Pridružen: 23 Avg 2006, 17:29
Location: Novi Sad - centar
Warranty service: http://www.elektrocentar.com
Contact person: Goran Duic
Specialty: tv-multimedia

Re: WILLEM programator

Post napisao Majstor Duja » 06 Feb 2015, 18:12

Imam neobican problem - do skora sam radio sa Willem-om i ICprog-om u kombinaciji i sve mi je lepo sljakalo ali nakon koristenja nekog drugog softvera za programator (dok sam radio neku 25xx memoriju) i ponovnog povratka na Icprog, ne moze vise da konfigurise IO port (dobijam upozorenje o privilegovanoj instrukciji) i to ovim redom:
Error occurred (system can not find the file specified) while starting the driver
Error occurred (system can not find the file specified) while loading the driver
Privilege instruction

Te poruke dobijam na skoro svim softw za programator osim na WinPic800, koji ima mogucnost izaberem opciju bandgap od highest 0x03 do lowest 0x00.
Tada radi kako treba, bar mislim, a na svim drugim opcijama mi izbacuje gresku pri verifikaciji tj. ne upise kod kako treba...
Pojma nemam sta se desilo?
Da li postoji neki nacin da dozvolim ICprogu neogranicen pristup LPT1 portu kao i konfiguraciju? Odgovara mi ICprog da ga koristim, stvar navike, sta ces...

Nasao sam ovo na netu:
Certain low-level instructions are forbidden to be used by the User under Windows: unfortunately, these 'privileged' instructions can include port control commands. Details: http://support.microsoft.com/kb/112298/EN-US

" The inp(), outp(), and other I/O port related functions map to privileged processor instructions. For example, on Intel processors, the inp() and outp() functions end up calling the IN and OUT instructions. The privileged instruction exception occurs when these instructions are executed because typical Windows NT applications execute in a non privileged (user) mode. Only code executing in kernel mode has the necessary rights to execute privileged instructions."

Device drivers run in kernel mode: if you're getting this error on your program run, its trying to access on the low-level (which is kind of by definition what a port controller does)
Rule #1 "Always stand for what you believe, even if it means standing alone."

Avatar
Ribery
gx
gx
Postovi: 647
Pridružen: 28 Okt 2008, 20:21
Location: Beograd
Contact person: Darko
Specialty: tv-multimedia
Lokacija: Beograd-Zvezdara
Kontakt:

Re: WILLEM programator

Post napisao Ribery » 07 Feb 2015, 18:37

Da li si probao da koristis programator na nekom drugom racunaru ?
Posao TV servisera moras da volis da bi radio takav posao. Ovaj posao niko ne uci samo zbog novca.

Avatar
Majstor Duja
Neaktivan
Postovi: 3136
Pridružen: 23 Avg 2006, 17:29
Location: Novi Sad - centar
Warranty service: http://www.elektrocentar.com
Contact person: Goran Duic
Specialty: tv-multimedia

Re: WILLEM programator

Post napisao Majstor Duja » 09 Feb 2015, 20:51

Resenje je na adresi:

Kod: Označi sve

http://www.shrubbery.net/~heas/willem/
Malo prckanja po registrima, malo update softvera i tako...

Program (Stop polling printer port XP) XP_stop_polling.reg

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Parport\Parameters]
"DisableWarmPoll"=dword:00000001

Willem EPROM Programmer Supported IC List
If the software PBC35 [0.98c / 98D2, 98D3] is not possible to read and programming with the device
Install Programmer follow below.
1. Install Version 0.97ja
2. lnstall Version 0.98c ( PBC35 [0.98c] )
3. install XP_stop_polling.reg (stop polling printer port)
4. Run Program EPROM35 ( PBC35 [0.98c] ) again

...jednostavno ICprog ne moze da se nosi sa takvim sranjem od OP-a kao sto je XP a ostali softveri nisu imali dostupne biblioteke za 12F629/675 koje najvise koristim - ovim sam sve resio, bar mislim...
:mrgreen:
Rule #1 "Always stand for what you believe, even if it means standing alone."

Odgovori
  • Slične teme
    Odgovori
    Pregledano
    Zadnji post

Natrag na “Alati”