Editing
Converting NerD60 to TMK
(section)
From Deskthority Wiki
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Prerequisites== * What you need is a NerD60 PCB (well duh) * You need an ISP programmer also, I have used an USBasp more info can be found [http://www.fischl.de/usbasp/ here] * You also need a computer, I have used Linux for this, but you can use also Mac or Windows (the Windows drivers are on the USBasp website) * Also good are some breadboard cables like these: <gallery widths=250 heights=187> File:Breadboard Cables.jpg </gallery> ===Discover USBasp=== * It's important to get familiar with your tools. * First thing, don't be cheap, buy the original product, part of the money you pay will go to the developer of the USBasp, without our support such tools will die. * How the USBasp looks, well⦠like this : <gallery widths=250 heights=187> File:USBasp_1.JPG </gallery> * The original product will have 3 jumpers: these are quite important, at least 2 of them; some of the cheap clones don't have them. One jumper is for Power (you will power the MCU from the ISP), Slow (this will reduce the speed of the programmer) and Service (not important for normal usage) * The pinouts for the 10 pin connector are: <gallery widths=250 heights=187> File:Usbasp_3.jpg </gallery> * For the cable (the one that comes with the USBasp ) the pinouts are : <gallery widths=250 heights=187> File:Usbasp_4.jpg </gallery> * A more simple image of the female cable pins (I like simple things ), the colors are what I have used in my setup: (Red) VCC -> * * <- MOSI (Green) GND -> * * <- NC GND -> * * | <- RST (Yellow) GND -> * * <- SCK (White) (Black) GND -> * * <- MISO (Blue) * And this how my USBasp looks with the breadboard cables connected (the cables fit snugly in the ribbon cable, not so good on the ISP headers of the PCB, but if you are careful it doesn't present any issues): <gallery widths=250 heights=187> File:Usbasp_5.jpg </gallery> ===Install the tools and configure Linux to use USBasp=== * Install the AVR tools (I have Debian, adapt it to your environment): root@liz:~/ apt-get install gcc-avr gdb-avr binutils-avr avr-libc avrdude make * Set the udev rule for USBasp (check in output of ''dmesg'' and ''lsusb'' for the correct ID's. This is what I have; chances are you will have the same): vi /etc/udev/rules.d/60-objdev.rules SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05dc", MODE="0666", SYMLINK+="USBasp" * Restart udev and plug in again your USBasp
Summary:
Please note that all contributions to Deskthority Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Project:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
Edit source
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Deskthority forum
Support Deskthority
Search
Main categories
Guides
Keyboards
Keyboard switches
Keycaps
Keyboard modding
Pointing devices
Brands & companies
Group buys
Other topics
Wiki info & links
Recent changes
Random page
All pages
Deskthority wiki help
MediaWiki help
Tools
What links here
Related changes
Special pages
Page information