So here is one more that have a issue with the RSTDISBL bit (I think).
Total newbie tries to adjust a board for driving solenoids that is fitted with PLD (PEEL20CG10A) for the logic. The board is supplied with 12- 24 V.
The board is to be uppgrade with option for a toggled input.
Attempts have been done with replace the PEEL20CG10A with atmels ATF750C -> http://www.atmel.com/Images/doc0....
It have the same footprint and pinout and also T and D flipflop. On the breadboard it worked by when it was soldered on the board it didn't work.
After wasted 3 weeks on cupl I start digging on digi-key. Found a MCU that almost that could replace the PLD. Ground and VCC was on the right pins.
Starting the google crash cource on c and avr programming and hardware ended upp with avr studio 6 and avrisp mkii for the TPI support. Now after 1 week fiddling I can't program or read the device.
When trying to read or program the AVRISP start to a rapid red blinking.
The documentation say it's a shortcut on the target. No progress after re solder the wires on 14,13,12 (reset, TPIData, CLK).
When I fiddling around in avrstudio 6 I see that all Fuses CKOUT, WDTON, RSTDISBL is set? (filled with green couler).
I can't rec cal that I have set those fuses. For me it's must be the darn studio it self that have set those. (perhaps it though .. I have it with this continues reprogramming for every row code and now I gonna make it hard for this young player ....)
Anyway I want to give this HVSP a try before desoldering this soic20 and replace with a new one.
With 1,27 pin pitch it's easy to put to much heat so the pad will loosen from the pcb.
From what I understand I must add 9-12 V continuous on the reset pin under the programming procedure.
(copied from datasheet)
18.3.1 Enabling The following sequence enables the Tiny Programming Interface: "¢ Apply 5V between VCC and GND "¢ Depending on the method of reset to be used: "“ Either: wait tTOUT (see Table 20-4 on page 155) and then set the RESET pin low. This will reset the device and enable the TPI physical layer. The RESET pin must then be kept low for the entire programming session "“ Or: if the RSTDISBL configuration bit has been programmed, apply 12V to the RESET pin. The RESET pin must be kept at 12V for the entire programming session "¢ Wait tRST (see Table 20-4 on page 155) "¢ Keep the TPIDATA pin high for 16 TPICLK cycles
Any chance that the AVRRISP will damage by this ?
I understand I must desolder the reset wire on the connector that is connected to AVRISP cable connector.
As I have never done electronics I haven't not much stuff so at the moment my voltage supply is old emulator to some link sys rounter. It have the spec it should be 12 but when I measure it's near 16V.
So to reduce the voltage I thought of this ..
ground -- 5k pot---X----1,8kOhm----16V
Adjust the put so I get around 10V on X and connect reset pin on this point.
The reset pin (14) is not used on the board it's just soldered to a pad.
Any thoughts of this ?
My wiring (It have been working for a week) Attiny -> AVRISP mkii Reset pin -> Reset TPIData -> MISO CLK -> CLK GND -> GND VCC -> VCC