Giter Club home page Giter Club logo

Comments (7)

mishnoc avatar mishnoc commented on July 17, 2024 1

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.

alkeeb avatar alkeeb commented on July 17, 2024

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.

mishnoc avatar mishnoc commented on July 17, 2024

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.

jesusignazio avatar jesusignazio commented on July 17, 2024

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.

alkeeb avatar alkeeb commented on July 17, 2024

@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?

disciplin pins

Can I connect the programmer to this or do I need a breadboard circuit like in all the tutorials.

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 avatar jesusignazio commented on July 17, 2024

@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?
disciplin pins

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.

alkeeb avatar alkeeb commented on July 17, 2024

That clears up a lot, thank you.

from discipline.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.