Author Topic: Easy AVR USB Keyboard Firmware and Keymapper  (Read 922444 times)

0 Members and 1 Guest are viewing this topic.

Offline Flamingchook

  • Posts: 278
  • Location: Australia
  • There are no dumb questions, only forbidden ones.
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #500 on: Wed, 17 September 2014, 22:18:25 »
Didn't realize that the F13-F24 scancodes had already made it into the latest beta version. Thanks metalliqaz!
MX: Filco Majestouch Metalic Blue 104-key w/ MX Brown, JD40 w/ MX Green, ErgoDox w/ MX Blue, GHPad w/ MX Blue. Topre: Realforce 87U 45g. BS: IBM Model M 52G9700 29-OCT-93
Soon™: GH60 w/ 62g MX Clear, [CTRL]ALT 60 w/ MX Green

Offline samwisekoi

  • MAWG since 1997
  • * Administrator
  • Posts: 2480
  • Location: Mt. View, California
  • Sorry, moving houses. Be back ASAP.
    • Tweet samwisekoi
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #501 on: Thu, 18 September 2014, 17:40:08 »
Feature Request: LED Indicators for Fn and Fn2 Layers
...for when you get the time after sorting the home purchase!

For the JD40 and the GH36 (and other boards where possible) please enable the following logic for unused pins:

When the "Fn layer" is active (via key-down, locking key down, software "lock" or otherwise) bring PD4 high to enable an LED to light.

When "Fn2 layer" is active (via key-down, locking key down, software "lock" or otherwise) bring PD5 high to enable an LED to light.

These two pins on the Teensy are on the end, and unused by both the JD40 and GH36, and are both physically simple to access.  They are unpinned when a "Teensy with Pins" is purchased, and so are very easy to use.  Also, since they are normally unused, this additional logic will have no impact on users not seeking this enhancement.

Thanks in advance!

 - Ron | samwisekoi

I like keyboards and case modding.  Everything about a computer should be silent -- except the KEYBOARD!

'85 IBM F-122/Soarer Keyboard |  Leopold FC200 TKL (Browns) + GH36 Keypad (Browns/Greens) | GH-122 (Whites/Greens) with Nuclear Data Green keycaps in a Unicomp case

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #502 on: Thu, 18 September 2014, 18:22:11 »
Yeah I've wanted to add that for a while

Offline MOZ

  • KING OF THE NEWBIES
  • * Maker
  • Posts: 3981
  • Location: Jo'burg
  • Busy making stuff
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #503 on: Fri, 19 September 2014, 02:00:33 »
The Fn LED feature is available for the Phantom, right? I can't recall.

Offline Laser

  • Posts: 102
  • Location: euROpe
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #504 on: Sun, 21 September 2014, 07:17:12 »

Great piece of software!

I used the stable version with QFR Frosty Flake v1; after reading all that was to read (internal docs, this thread), configuration was very easy, and all went as intended from the first try. I assigned the 'start boot mode' event to Fn+Pause, the led and winlock for Fn+F9 works well, i start mapping arrows to wasd and to hhkb-style "[;'/" - so i can say - great stuff! Thank you very much for working on it.

( BTW, i do also have a 60% keyboard with a faceU replica in it - if you every start poking with v-usb ... :D )

Offline bueller

  • MX baller
  • * Esteemed Elder
  • Posts: 3769
  • Location: Perth, Australia
  • Church of the Ergo Clear
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #505 on: Mon, 06 October 2014, 10:14:12 »
I can't seem to get this working. I've built my layout file, source and firmware but after programming the keyboard using Flip it doesn't register keypresses. What's the best way to debug this? It was working before, I can't for the life of me figure out how I got it loaded last time :(

I'm using the GH60 default pure layout if that helps (pcb is a GH60 revB), version 3.4.7 of Flip. I've selected ATMEGA32U4 from the list of AVR's in Flip and all 4 of the steps pass when I click run.
It's a good width!  If it's half-width it's too narrow, and full-width is too wide. 

[WTT] bueller's trade thread - CLACKS WANTED

Offline bueller

  • MX baller
  • * Esteemed Elder
  • Posts: 3769
  • Location: Perth, Australia
  • Church of the Ergo Clear
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #506 on: Mon, 06 October 2014, 10:49:26 »
Oh and the keyboard shows up as a HID keyboard device after I click start in Flip.

Edit: tried the release and beta versions, same result with both. Debug firmware doesn't seem to do anything either.
« Last Edit: Mon, 06 October 2014, 11:09:15 by bueller »
It's a good width!  If it's half-width it's too narrow, and full-width is too wide. 

[WTT] bueller's trade thread - CLACKS WANTED

Offline bueller

  • MX baller
  • * Esteemed Elder
  • Posts: 3769
  • Location: Perth, Australia
  • Church of the Ergo Clear
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #507 on: Mon, 06 October 2014, 20:39:04 »
Somebody... anybody... help, I fell down a well!
It's a good width!  If it's half-width it's too narrow, and full-width is too wide. 

[WTT] bueller's trade thread - CLACKS WANTED

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #508 on: Mon, 06 October 2014, 21:29:50 »
Hmm, it used to work?

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #509 on: Mon, 06 October 2014, 21:35:13 »
First, when you press the boot mode key combination, does it go into boot mode?  That would mean that the keyboard is working but it is locking itself or using a blank layout for some reason.
Does it go directly into boot mode after plugging it in?  That would be a bad firmware load.
Have you ever played with the debug console?  If you think you screwed up the settings, you can clear them by holding Enter down when you plug it in.
Do the LEDs do anything?

Offline bueller

  • MX baller
  • * Esteemed Elder
  • Posts: 3769
  • Location: Perth, Australia
  • Church of the Ergo Clear
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #510 on: Mon, 06 October 2014, 22:42:41 »
Yep definitely worked before, was only trying to remap some of the mods. I haven't tried the boot mode key, I'll try and give that a go when I get home. I should just put the cursor in a notepad to test boot mode right?
It's a good width!  If it's half-width it's too narrow, and full-width is too wide. 

[WTT] bueller's trade thread - CLACKS WANTED

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #511 on: Tue, 07 October 2014, 06:28:16 »
That's debug console.  Boot mode is for reprogramming

Offline bueller

  • MX baller
  • * Esteemed Elder
  • Posts: 3769
  • Location: Perth, Australia
  • Church of the Ergo Clear
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #512 on: Tue, 07 October 2014, 08:42:55 »
How would I know if it's in boot mode once I've pressed it? It shows up as a HID keyboard device when plugged in initially.
It's a good width!  If it's half-width it's too narrow, and full-width is too wide. 

[WTT] bueller's trade thread - CLACKS WANTED

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #513 on: Tue, 07 October 2014, 08:54:52 »
Its on boot mode if FLIP can connect.

Are you using the same program to build your firmware as before, when it worked?

Offline bueller

  • MX baller
  • * Esteemed Elder
  • Posts: 3769
  • Location: Perth, Australia
  • Church of the Ergo Clear
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #514 on: Tue, 07 October 2014, 09:00:12 »
Its on boot mode if FLIP can connect.

Are you using the same program to build your firmware as before, when it worked?
Ah cool, I'll test that later and see if it works. I'm pretty sure I programmed it using this last time but it's possible I did it with avrdude or something.
It's a good width!  If it's half-width it's too narrow, and full-width is too wide. 

[WTT] bueller's trade thread - CLACKS WANTED

Offline bueller

  • MX baller
  • * Esteemed Elder
  • Posts: 3769
  • Location: Perth, Australia
  • Church of the Ergo Clear
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #515 on: Wed, 08 October 2014, 07:35:27 »
Okay so I've loaded up another hex file with the space set to boot mode, hitting it after reconnecting doesn't make any changes. I can still get into boot mode with the button on the rear of the pcb though.
It's a good width!  If it's half-width it's too narrow, and full-width is too wide. 

[WTT] bueller's trade thread - CLACKS WANTED

Offline tjcaustin

  • King Klaxon
  • * Maker
  • Posts: 3557
  • Location: Dallas-ish
  • King of All Klaxon Sciences and Cable Makery
    • Buy stuff
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #516 on: Fri, 17 October 2014, 22:13:18 »
I'm having issues with this jd40 I'm working on.  I made a layout hex, txt and dat no problem.  The teensy loader recognizes teensy fine and will flash other things to it with no issue (ex - the fast blink led hex that teensy provides).  But it won't recognize keypresses after loading the layout hex files from here.  Am I missing something?

Offline bueller

  • MX baller
  • * Esteemed Elder
  • Posts: 3769
  • Location: Perth, Australia
  • Church of the Ergo Clear
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #517 on: Fri, 17 October 2014, 22:18:43 »
I'm having issues with this jd40 I'm working on.  I made a layout hex, txt and dat no problem.  The teensy loader recognizes teensy fine and will flash other things to it with no issue (ex - the fast blink led hex that teensy provides).  But it won't recognize keypresses after loading the layout hex files from here.  Am I missing something?
Sounds like the same problem I'm having!
It's a good width!  If it's half-width it's too narrow, and full-width is too wide. 

[WTT] bueller's trade thread - CLACKS WANTED

Offline tjcaustin

  • King Klaxon
  • * Maker
  • Posts: 3557
  • Location: Dallas-ish
  • King of All Klaxon Sciences and Cable Makery
    • Buy stuff
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #518 on: Fri, 17 October 2014, 23:15:32 »
I'm having issues with this jd40 I'm working on.  I made a layout hex, txt and dat no problem.  The teensy loader recognizes teensy fine and will flash other things to it with no issue (ex - the fast blink led hex that teensy provides).  But it won't recognize keypresses after loading the layout hex files from here.  Am I missing something?

Using the beta build fixed that issue fine.  No problems now.

Offline bueller

  • MX baller
  • * Esteemed Elder
  • Posts: 3769
  • Location: Perth, Australia
  • Church of the Ergo Clear
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #519 on: Fri, 17 October 2014, 23:20:06 »
I'm having issues with this jd40 I'm working on.  I made a layout hex, txt and dat no problem.  The teensy loader recognizes teensy fine and will flash other things to it with no issue (ex - the fast blink led hex that teensy provides).  But it won't recognize keypresses after loading the layout hex files from here.  Am I missing something?

Using the beta build fixed that issue fine.  No problems now.
Thought I tried that but maybe I didn't, cheers for the heads up!
It's a good width!  If it's half-width it's too narrow, and full-width is too wide. 

[WTT] bueller's trade thread - CLACKS WANTED

Offline bueller

  • MX baller
  • * Esteemed Elder
  • Posts: 3769
  • Location: Perth, Australia
  • Church of the Ergo Clear
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #520 on: Sat, 18 October 2014, 10:11:11 »
No luck with either of the beta releases, going to try flashing the hex with dfu and see if that works.
It's a good width!  If it's half-width it's too narrow, and full-width is too wide. 

[WTT] bueller's trade thread - CLACKS WANTED

Offline bueller

  • MX baller
  • * Esteemed Elder
  • Posts: 3769
  • Location: Perth, Australia
  • Church of the Ergo Clear
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #521 on: Sat, 18 October 2014, 12:15:05 »
Don't know if I was doing something wrong using this but I just managed to get the GH60 working again with a hex file I generated with the tmk makefile. Got it up and running first shot in Flip, back to a stock Poker layout because I suck at modifying those C files but I'll crack on tomorrow and hopefully get it configured the way I want soon.
It's a good width!  If it's half-width it's too narrow, and full-width is too wide. 

[WTT] bueller's trade thread - CLACKS WANTED

Offline zennasyndroxx

  • Posts: 646
  • It's good to be back!
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #522 on: Sat, 18 October 2014, 13:23:44 »
The beta works fine with my phantom as well.

Also, what does the password generator exactly do? Does it generate a random string of characters?

Tried that in notepad but theres nothing.

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #523 on: Sat, 18 October 2014, 15:49:20 »
I have not documented or explained the PW generator.  I made it as an experiment for myself.  I'll gave to provide a back story for that...

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #524 on: Sat, 18 October 2014, 15:50:04 »
Bueller, if I give you some test builds, will you try them for me?  I don't have a gh60 of my own to test with

Offline bueller

  • MX baller
  • * Esteemed Elder
  • Posts: 3769
  • Location: Perth, Australia
  • Church of the Ergo Clear
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #525 on: Sat, 18 October 2014, 19:59:40 »
Bueller, if I give you some test builds, will you try them for me?  I don't have a gh60 of my own to test with
Yeah sure thing man, happy to help!
It's a good width!  If it's half-width it's too narrow, and full-width is too wide. 

[WTT] bueller's trade thread - CLACKS WANTED

Offline Flamingchook

  • Posts: 278
  • Location: Australia
  • There are no dumb questions, only forbidden ones.
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #526 on: Thu, 23 October 2014, 01:18:27 »
The latest beta doesn't have support for the red scarf I/AboStudio GHPad yet does it? Because it's not working for me.
MX: Filco Majestouch Metalic Blue 104-key w/ MX Brown, JD40 w/ MX Green, ErgoDox w/ MX Blue, GHPad w/ MX Blue. Topre: Realforce 87U 45g. BS: IBM Model M 52G9700 29-OCT-93
Soon™: GH60 w/ 62g MX Clear, [CTRL]ALT 60 w/ MX Green

Offline StylinGreymon

  • Keyboard Hipstar
  • Posts: 637
  • Location: Portland, OR
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #527 on: Sun, 26 October 2014, 02:29:45 »
Will there be Duck Eagle/Viper support?
If today had been a hippo, then you'd really have to worry about tomorrow.

Offline exfiltrate

  • Posts: 22
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #528 on: Mon, 27 October 2014, 23:17:56 »
Does this work with the ergodox? I was using the massdrop tool, but honestly it sucks compared to this. Half of the functions don't work.

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #529 on: Tue, 28 October 2014, 08:04:31 »
The latest beta doesn't have support for the red scarf I/AboStudio GHPad yet does it? Because it's not working for me.

It doesn't.  I don't have that hardware, so porting is time consuming and difficult.

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #530 on: Tue, 28 October 2014, 08:05:00 »
Will there be Duck Eagle/Viper support?

I would like to add that, but I need someone with the hardware to work with.

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #531 on: Tue, 28 October 2014, 08:05:44 »
Does this work with the ergodox? I was using the massdrop tool, but honestly it sucks compared to this. Half of the functions don't work.

No it doesn't.  I don't own an ergodox, and although I'm pretty sure it would work, I don't have any support for the half-to-half connection.

Offline Flamingchook

  • Posts: 278
  • Location: Australia
  • There are no dumb questions, only forbidden ones.
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #532 on: Tue, 28 October 2014, 08:15:39 »
The latest beta doesn't have support for the red scarf I/AboStudio GHPad yet does it? Because it's not working for me.

It doesn't.  I don't have that hardware, so porting is time consuming and difficult.

Ah ok. I believe the TMK GHpad firmware works if that helps otherwise I can send you my extra pcb if you were interested in adding support.
MX: Filco Majestouch Metalic Blue 104-key w/ MX Brown, JD40 w/ MX Green, ErgoDox w/ MX Blue, GHPad w/ MX Blue. Topre: Realforce 87U 45g. BS: IBM Model M 52G9700 29-OCT-93
Soon™: GH60 w/ 62g MX Clear, [CTRL]ALT 60 w/ MX Green

Offline wes1099

  • Posts: 221
  • Location: Centreville, Virginia
  • Technology and Dog Enthusiast
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #533 on: Tue, 28 October 2014, 19:01:14 »
We (you?) should find a way to get support for the new infinity keyboard. Just an idea, but it would be awesome to be able to use this instead of the evil web app.
« Last Edit: Tue, 28 October 2014, 19:21:02 by wes1099 »
                                      
[Leopold FC660C]     [GON NeRD 60]    [Infinity Keyboard]    [ Model M Silver Label]
[Topre 45g Silent]     [Gateron Black]    [Cherry MX Black]     [Model Number 1390636]
                                                                                         [May 20, 1987]

Offline dorkvader

  • Posts: 6288
  • Location: Boston area
  • all about the "hack" in "geekhack"
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #534 on: Tue, 28 October 2014, 19:20:58 »
We should find a way to get support for the new infinity keyboard. Just an idea, but it would be awesome to be able to use this instead of the evil web app.

inifinity KB uses a different microcontroller.

Still I agree: would be awesome to have some different firmware options for it.

Offline wes1099

  • Posts: 221
  • Location: Centreville, Virginia
  • Technology and Dog Enthusiast
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #535 on: Tue, 28 October 2014, 19:22:52 »
We should find a way to get support for the new infinity keyboard. Just an idea, but it would be awesome to be able to use this instead of the evil web app.

inifinity KB uses a different microcontroller.

Still I agree: would be awesome to have some different firmware options for it.
I had not though that far yet. Good point.
                                      
[Leopold FC660C]     [GON NeRD 60]    [Infinity Keyboard]    [ Model M Silver Label]
[Topre 45g Silent]     [Gateron Black]    [Cherry MX Black]     [Model Number 1390636]
                                                                                         [May 20, 1987]

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #536 on: Tue, 28 October 2014, 22:15:38 »
What does it use?

Offline SpAmRaY

  • NOT a Moderator
  • * Certified Spammer
  • Posts: 14667
  • Location: ¯\(°_o)/¯
  • because reasons.......

Offline dorkvader

  • Posts: 6288
  • Location: Boston area
  • all about the "hack" in "geekhack"
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #538 on: Tue, 28 October 2014, 22:51:56 »
What does it use?

I think the biggest difference is that it's ARM.

Offline Kaibz

  • Posts: 48
  • Location: AFK but not too much
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #539 on: Wed, 29 October 2014, 07:29:37 »
Hi metalliqaz,

First congratulations for you awesome driver.

I'm learning Python right now, i just wonder, is there a reason why there are ten layers max available? Is it teensy 2.0 related or just a decision?

Also if i may, is there anything i should read or learn once i finished my python course to understand how to make keyboard-teensy(ATmega or ARM) related drivers?

Thank you.
Sharing the knowledge

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #540 on: Wed, 29 October 2014, 12:28:37 »
Hi metalliqaz,

First congratulations for you awesome driver.

I'm learning Python right now, i just wonder, is there a reason why there are ten layers max available? Is it teensy 2.0 related or just a decision?

Also if i may, is there anything i should read or learn once i finished my python course to understand how to make keyboard-teensy(ATmega or ARM) related drivers?

Thank you.

The firmware is written in C.  Only the keymapper is made in Python, and it's not particularly good python code at that.  It grew from a very basic program to a more complicated multi-purpose GUI gradually, which means there was no planning of a good architecture.  Still, it works well enough.  You can simply red through the code to get an idea for how it works, but that won't give you much insight into the firmware, and it doesn't tell you anything about "drivers".  Most everyone here uses standard USB HID interfaces, which means you don't need any special drivers to get the keyboard to work with Windows/Linux/Mac.

The reason there are only ten layers is because the ATmega microcontrollers do not have huge amounts of memory so the number of layers has to be capped.  10 is just a nice round number.

Embedded software is my day job, so I already had the skills to make the keyboard control firmware with little trouble.  If you are starting from scratch, you're going to need more training than just python.  I'd suggest some kind of Arduino projects if you're a beginner.

Offline Kaibz

  • Posts: 48
  • Location: AFK but not too much
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #541 on: Wed, 29 October 2014, 16:22:23 »
Thank you for the detailed answer metalliqaz.

One last question if i may, i understand that embedded software is your actual job, and that the firmware is written in C and that i should try some Arduino projects first, but would you actually suggest that i stop learning Python and switch to learning C instead? I'm asking this because i suppose that writing a firmware using the "Arduino language" wouldn't be good enough and that the only effective way would be to use C ?

I promise i will not ask more questions.

Cheers.
Sharing the knowledge

Offline julle

  • Posts: 2
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #542 on: Tue, 04 November 2014, 10:42:51 »
I have a problem with firmware generated with this software: I'm trying to flash an 88-key layout to the Pegasus hoof controller. However, when I try using dfu-programmer for flashing I get this error:


Code: [Select]
Error reading line 1319.

Apparently, this is the last line in the hex file. When I use the Atmel FLIP for flashing, I have no problems at all.
Does anyone have any ideas what this might be about? I'm much more comfortable with using dfu-programmer than using Atmel flip (due to the bundled JRE).
« Last Edit: Tue, 04 November 2014, 11:00:27 by julle »

Offline Melvang

  • Exquisite Lord of Bumfluff
  • * Maker
  • Posts: 4398
  • Location: Waterloo, IA
  • Melvang's Desktop Customs
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #543 on: Sun, 09 November 2014, 00:35:37 »
Can someone post a pic of a key being used as dual role please?  I am attempting to use space bar as dual role with Fn while being held down.  This is my first attempt at using it, on top of trying this with a JD40.  Just want to make sure I am setting this up correct.
OG Kishsaver, Razer Orbweaver clears and reds with blue LEDs, and Razer Naga Epic.   "Great minds crawl in the same sewer"  Uncle Rich

Offline ninethirty

  • Posts: 1
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #544 on: Fri, 21 November 2014, 10:38:43 »
Thanks for the firmware! It's lovely... I got a Frosty Flake v2 in the mail and had it programmed the next day. I'm awash in layout options now...

I did manage to program the board using dfu-programmer in Linux. I think someone posted earlier that they were having issues with it.  Two notes:

1.) You have to run dfu-programmer as root for it to detect the device. Otherwise it will always tell you "no devices found" 

2.) It refuses to read EasyAVR's hex as written. The error message points to the last line in the file.  It seems that EasyAVR isn't terminating the line in the way that dfu-programmer expects. Easy fix: open the hex file in a text editor and add a newline at the end of last line in the file. It will then work.

Hope that helps someone

Offline julle

  • Posts: 2
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #545 on: Fri, 21 November 2014, 17:13:03 »
Thank you very much for that observation! That's the fix! (Adding the new line, I mean.)
« Last Edit: Sat, 22 November 2014, 06:34:06 by julle »

Offline cloud_171

  • Posts: 5
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #546 on: Wed, 03 December 2014, 09:49:27 »
Is there a way to send the numpad scancodes for 0-9 when writing a macro?

Offline swornxin

  • Posts: 243
  • Location: Burlington
    • Nailed Down Custom Pins
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #547 on: Thu, 04 December 2014, 17:45:56 »
Is this easy to do?  Want to remap the Phantom I have, but I've never done anything like this before.  Really nervous that I am going to mess the keyboard (that I haven't used yet) up. 

Octagon - 62g Cherry tactile greys
Phantom - 65g Cherry tactile greys
FC660M - Cherry blues
KC60 - Gateron browns

Offline dorkvader

  • Posts: 6288
  • Location: Boston area
  • all about the "hack" in "geekhack"
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #548 on: Thu, 04 December 2014, 20:11:23 »
Is this easy to do?  Want to remap the Phantom I have, but I've never done anything like this before.  Really nervous that I am going to mess the keyboard (that I haven't used yet) up. 

1. Yep pretty easy. Typing this on my phantom running code from easy AVR so I know firsthand.
2. can't guarantee anything, but I've flashed KBs dozens of times and had no issues. Just press the button on the teensy, open the hex file in teensy loader, flash restart and then go.

Offline MOZ

  • KING OF THE NEWBIES
  • * Maker
  • Posts: 3981
  • Location: Jo'burg
  • Busy making stuff
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #549 on: Fri, 05 December 2014, 06:43:15 »
This is one of the most easiest firmware tools to use that I've tried. I'm typing on a Phantom based keyboard, running a hex generated from this tool. 3 layers with one caps-lock LED configured to show Fn layer.

If you have access to the Teensy reset button, then you can't mess up the keyboard. You can assign "Boot Mode" to any key on any layer, with this you can put the Teensy in boot mode, which is essentially like pressing the hardware reset button on the Teensy, just press they key, open Teensy loader and load hex file on it. Worst you can do is not have "Boot Mode" key assigned to any key on any layer, in this case you can use the hardware reset button on the Teensy.
« Last Edit: Fri, 05 December 2014, 06:51:35 by MOZ »