Comments (7)
After some trial and error I finally managed to get my controller flashed. Huge thanks to both of you for the help <3.
from discipline.
Do these help?
Bootloader:
https://github.com/coseyfannitutti/discipline/tree/master/doc/bootloader
Flashing VIA guide:
https://static1.squarespace.com/static/5c533d33348cd92b886e544d/t/5e9fd1d198a4166c9ccc5b68/1587532241535/DISCIPLINE+VIA+GUIDE.pdf
I don't think you need any special hardware as the pcb has buttons that allow the controller to be flashed. I will be trying this myself in a months time too.
from discipline.
Thanks for the reply. Im fairly sure the micro controllers are blank. I tried to follow the bootloader instructions but honestly have no idea what I'm doing.
from discipline.
Thanks for the reply. Im fairly sure the micro controllers are blank. I tried to follow the bootloader instructions but honestly have no idea what I'm doing.
Hi.
In this issue you have info. #6 and in the guide too.
The only point is that you have to change the line 41 in the Makefile.inc file to 'PROGRAMMER = -c usbasp' if you are going to use an usbasp flasher.
@alkeeb you need special hardware in order to flash the bootloader if you have bought a new microcontroller. Once you have a bootloader, you will be able to use the programming buttons of the keyboard.
from discipline.
@jesusignazio I have spent some time looking into this and yes I would need to flash a bootloader. Maybe you can help answer some questions I have:
-
Can I flash USBaspLoader with an arduino or is it limited to the arduino bootloader; if so will the arduino one work for this project?
-
AVR or ISP programmer, does it matter? I have not found any good descriptions on this, just that each one supports a different chip. I know that coseyfannitutti used an AVR.
-
What are the pins on the PCB for?
Edit:
I just found this tutorial
https://www.algorist.co.uk/post/how-to-burn-the-plaid-keyboard-bootloader-using-arduino-nano/
It shows that I can use use those pins for burning a bootloader (I assume the pins on discipline do this) and that an arduino can be used to burn any bootlaoder (not the arduino specific one)
from discipline.
@jesusignazio I have spent some time looking into this and yes I would need to flash a bootloader. Maybe you can help answer some questions I have:
- Can I flash USBaspLoader with an arduino or is it limited to the arduino bootloader; if so will the arduino one work for this project?
- AVR or ISP programmer, does it matter? I have not found any good descriptions on this, just that each one supports a different chip. I know that coseyfannitutti used an AVR.
- What are the pins on the PCB for?
![]()
Can I connect the programmer to this or do I need a breadboard circuit like in all the tutorials.
This is how I flashed it:
–I used an usbasp programmer, the same you linked in the OP.
–I connected the usbasp to the keyboard (in the three pins you asked) and to the USB from PC aswell.
–The software stuff: Download avrdude, clone the usbasploader repository (is important to clone the correct branch). I have read that there is a common problem with drivers in Windows, but I use Linux so I can't help you in this.
–Modify the line in Makefile.inc file to 'usbasp' in order to make the usbasp work.
–Run make and make install commands in avrdude.
–Once the bootloader is flashed, the usbasp won't be necessary anymore.
–Connect the keyboard to the PC with an usb cable and use the two buttons from the keyboard to flash VIA.
from discipline.
That clears up a lot, thank you.
from discipline.
Related Issues (20)
- ISO compatible optional acrylic case HOT 3
- FIrmware flashing help
- usb 3.0 vs 2.0 HOT 2
- Discipline V2 Groupbuy HOT 85
- Troubleshooting issue with strange key behavior
- The DISCIPLINE+FLASHING+GUIDE does not exist, link is 404
- Plate PCB Gerber missing dimensions
- Is the discipline65 v2 pcb compatible with the case that the v1 comes in?
- Suggestion how to make discipline 65 more available to people outside of the USA HOT 2
- Can i use ATMega 32-16PU instead of ATMega 32A PU
- Discipline v1 files needed
- bootloader error HOT 1
- Nichicon UMT1H4R7MDD || End of Life: Scheduled for obsolescence and will be discontinued by the manufacturer. HOT 1
- Connection issues on macOS HOT 10
- Could not connect to computer after unplug HOT 2
- Acrylic Case Build Guide HOT 1
- Discipline inspired DIY Keyboard Troubleshooting HOT 2
- Discipline Plate V2? HOT 1
- cant see the build guide website is expired, but fortunately wayback machine exist HOT 4
- Never received board
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discipline.