All items...           Popular tags: Electronics (11), Linux (11), Hack (8), DIY (6), Other (6), Retrocomputing (6), Debian (5), Curiosities (4)


Listing contents with tag Electronics:

Programming PICs with Willem Programmer

2016-08-31 22:52:31,  In: DIY, Electronics

After replacing laser I needed a Modchip for my 20-year-old PS1 console. Following the "DIY" principle I downloaded an archive from Eurasia.nu with dumps of MultiMode 3 mod chip for PIC12F629. It contains even source code! I obtained a blank PIC chip and tried to program it in Willem programmer PCB v. 3. Of course Willem has no support for them. But it is still possible to write to the chip.
The first rule when programming PICs in Willem is to avoid Willem software. It is not well prepared for programming PICs. First of all, PICs have not only configuration bits (like AVR's Fusebits), but also factory-configured last 16-bit word called OSCCAL word. This word is used to calibrate internal RC oscillator and is set separately for each chip in factory, where RC characteristics are verified against real timing. So to program a PIC, you have to read it first, get OSCCAL value and program a new dump with old value good for the particular chip you have in programmer. It's really easy to erase OSCCAL with Willem...

... Read More



Older posts...       Main page       Newer posts...