<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[Solved] pinout - CardKB programming via ISP]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I tried to fiddle with the CardKB mega328p chip, but have troubles connecting it to the programmer, as below:</p>
<pre><code>$ avrdude  -c usbasp -p atmega328p

avrdude: error: program enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.


avrdude done.  Thank you.
</code></pre>
<p dir="auto">The pinout I inferred is also below (leftmost square hole for MISO, then Vcc, SCK, MOSI, RESET and Ground). the black thing on the wires is conductive paint I use as temporary solder, hasn't failed me yet ;)<br />
<img src="/assets/uploads/files/1568457208985-pins-isp-cardkb-resized.jpg" alt="0_1568457206504_pins isp cardkb.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">My question is whether the pins are connected in the right order, as I could not find any official pinout except for the photo on AliExpress which indicated it is an ISP connector on the bottom of the keyboard.</p>
<p dir="auto">If yes, I'll try soldering and changing kables or programmers to double check. I just don't have any idea if adding resistor or anything else could help in this case. Thanks for help.</p>
<p dir="auto">EDIT: I also tried connecting the GND pin to all possible pins on the programmer. Also tried slow / power jumpers on and off.</p>
<p dir="auto">Also, when I run AVRdude, the rgb led on the keyboard blinks shortly.</p>
]]></description><link>https://community.m5stack.com/topic/1319/solved-pinout-cardkb-programming-via-isp</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 08:44:23 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1319.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 14 Sep 2019 10:36:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Solved] pinout - CardKB programming via ISP on Thu, 19 Sep 2019 17:28:25 GMT]]></title><description><![CDATA[<p dir="auto">Yay, been on the docs subdomain, missed this one. Thanks :)</p>
<pre><code>~  avrdude -c usbasp -p atmega328p

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f (probably m328p)

avrdude: safemode: Fuses OK (E:F9, H:D8, L:C2)

avrdude done.  Thank you.
</code></pre>
]]></description><link>https://community.m5stack.com/post/5649</link><guid isPermaLink="true">https://community.m5stack.com/post/5649</guid><dc:creator><![CDATA[ptrm]]></dc:creator><pubDate>Thu, 19 Sep 2019 17:28:25 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] pinout - CardKB programming via ISP on Mon, 16 Sep 2019 02:01:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ptrm" aria-label="Profile: ptrm">@<bdi>ptrm</bdi></a> said in <a href="/post/5575">CardKB programming via ISP</a>:</p>
<blockquote>
<p dir="auto">CardKB</p>
</blockquote>
<p dir="auto"><a href="https://docs.m5stack.com/#/en/unit/cardkb" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.m5stack.com/#/en/unit/cardkb</a><br />
Mega328 ISPDownload interface Pin foot definition<br />
<img src="/assets/uploads/files/1568599236040-mega328_isp.png" alt="0_1568599238551_mega328_isp.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/5600</link><guid isPermaLink="true">https://community.m5stack.com/post/5600</guid><dc:creator><![CDATA[flypeek]]></dc:creator><pubDate>Mon, 16 Sep 2019 02:01:27 GMT</pubDate></item></channel></rss>