Loading...
Pages: [1]   Go Down
Author Topic: ISP question for my curious mind  (Read 220 times)
0 Members and 1 Guest are viewing this topic.
alabama
Offline Offline
Full Member
***
Karma: 1
Posts: 169
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I built a small strip board with an ISP header and an 8 pin dip socket to program some ATTiny85s I ordered.
It works fine with my TinyUsbIsp programmer and when I jumper from the headers on my Arduino, set up as Arduino-as-ISP.
I can't seem to get it to program if I use the same 6 wire cable that the TinyUsbIsp uses from the ISP pin on the Arduino, which according to the schematic is hooked directly to the corresponding pins on the AtMega328. Am I missing a cross over on the MISO and MOSI pins somewhere? Not that I need to know this, just wondering, as it would be a lot easier than switching 4 jumpers if I can ever get my head around CodingBadly's TinyISP sketch.
By the way I did try a 10uf cap between reset and ground on the Arduino.
TomJ
Logged

Einstein once said you don't really understand anything until you can explain it to your Grandmother

United Kingdom
Offline Offline
Faraday Member
**
Karma: 146
Posts: 4900
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You can use a straight through cable between the ICSP pins on the Arduino and the ones on your target for all lines except the reset line. The reset pin on the target ICSP header goes to digital pin 10 on the Arduino.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. http://www.eschertech.com

alabama
Offline Offline
Full Member
***
Karma: 1
Posts: 169
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks dc42,
Now that you point it out it obvious, guess I'd need a custom cable with a separate hookup to pin 10 from the reset on the cable. Time to dig through the junk drawer.
Logged

Einstein once said you don't really understand anything until you can explain it to your Grandmother

Global Moderator
Melbourne, Australia
Online Online
Shannon Member
*****
Karma: 226
Posts: 14103
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Like this?

Logged


Pages: [1]   Go Up
Print
 
Jump to: