geekhack

geekhack Projects => Making Stuff Together! => Topic started by: litster on Mon, 17 December 2012, 14:35:04

Title: The Cheat Firmware Info
Post by: litster on Mon, 17 December 2012, 14:35:04
alaricljs and I both started building a "The Cheat" custom keyboard around the same time this week.  The SMD soldering wasn't too difficult, but it took some time to got the firmware going. 

"The Cheat" uses Aikon client software to configure its mapping.  But it doesn't use the same Aikon firmware.  Aikon uses atmega32, while The Cheat uses atmega16.  I was not able to find anything on the OTD site myself.  Through some of our South Korean contacts, we found what we were looking for here (OTD account required): http://www.otd.kr/bbs/board.php?bo_table=Aquacompany&wr_id=13108&auto_login=on

Firmware, keymap, Aikon client, and necessary drivers is in a zip at the end of this post.

Here is the translated version:
Backyard Builder by ahkkwa

Date: 11-04-20 00:54   
[Notice] Cheat firmware and boot loader usage
 
Software specific for The Cheat keyboard:
   cma_main.hex (33.9K)  [139]  DATE: 2011-04-20 00:43:01
   HIDBootFlash.exe (72.0K)  [104]  DATE: 2011-04-20 00:43:01
   cma.mat (1.2K)  [32]  DATE: 2011-04-20 00:51:01

Other required software:

libusb filter driver the latest version (required drivers)
http://www.otd.kr/bbs/board.php?bo_table=aikon_down&wr_id=83

Aikon Client / 1.0.0 Beta for downloading keymap to The Cheat
http://www.otd.kr/bbs/board.php?bo_table=aikon_down&wr_id=45

Instruction on how to install and use Aikon Client and filter driver:
(May require OTD account)
Part 1: http://www.otd.kr/bbs/board.php?bo_table=aikon_manual&wr_id=10&sca=English
Part 2: http://www.otd.kr/bbs/board.php?bo_table=aikon_manual&wr_id=11&sca=English

HIDBOOTFLASH (CMA firmware loading program)
(CMA firmware loading program)
HIDBootFlash.exe

Cheat CMA firmware
cma_main.hex

Cheat keymap file
cma.mat


1: After you have assembled The Cheat, set the dipswitches to ON for USB mode.  Hold down the Pause key while inserting the USB cable to your PC to start the bootloader.

2: run HIDBOOTFLASH
    - Click the Find Device button to detect your The Cheat
[attach=2]

3: Click Open Hex File button
[attach=3]

4: From the FileOpen dialog, select cma_main.hex.  This is the firmware file
[attach=4]

5: Click Flash Device button to download the firmware cma_main.hex file to The Cheat
[attach=5]

6: Once the firmware is loaded, disconnect and reconnect the USB cable.  Start the Aikon client, it should find your keyboard, you need the filter driver installed for the client to work.  (Note: The Cheat has no keyboard map by default)
[attach=6]

7: Click the Import button to import the cma.mat map in to the Aikon client.
[attach=7]

8: Click the Key Map Write button to download keymap onto The Cheat.
[attach=8]

9: Done!
[attach=9]

10 If you want to use USB connection for your The Cheat, keep the DIP switches on the left side.  If you want to use PS/2, move the DIP switches to the right side.

================================================

Link to Aikon firmware and software information: http://geekhack.org/index.php?topic=38406.0
Title: Re: The Cheat Firmware Info
Post by: boost on Mon, 17 December 2012, 14:38:51
Very nice, thanks for the info!!!
Title: Re: The Cheat Firmware Info
Post by: SmallFry on Mon, 17 December 2012, 14:42:35
Agreed, thanks for bringing the info to us, despite the fact that I don't have a Cheat.
Title: Re: The Cheat Firmware Info
Post by: alaricljs on Mon, 17 December 2012, 15:40:52

1 Cheat parts mounted dipswitch to ON (USB) after setting the PAUSE key, then the cable
   Computer connected to the boot loader entry) (

2 HIDBOOTFLASH run
    - Click the Find Device button after running

3 Open Hex File button when entering the boot loader normally activated

4 Open Hex File button after cma_main.hex File Select

5 Flash Device button is clicked after being brought cma_main.hex file Cheat firmware update

6 More cheat the firmware update is finished, disconnect the cable and reconnect after Aikon the Clinet program execution
   (Not necessarily the libusb filter driver is installed must)

7 Key Map, click the Import button is normally Connect cma.mat file selection


8 Key Map Write button click after being brought more cheats keymap

9 More normal keymap ..

10 Now usb or ps / 2 to check the DIP switch settings after key test after normal

================================================


My translation of parts into more intelligible English...

1: After you have assembled The Cheat, set the dipswitches to ON for USB mode.  Hold down the Pause key while inserting the USB cable to your PC to start the bootloader.

6: Once the firmware is loaded, disconnect and reconnect the USB cable.  Start the Aikon client, it should find your keyboard, you need the filter driver installed for the client to work.  (Note: The Cheat has no keyboard map by default)

Title: Re: The Cheat Firmware Info
Post by: litster on Mon, 17 December 2012, 16:04:13
Added pictures and alaricljs's translation, and some of mine.
Title: Re: The Cheat Firmware Info
Post by: litster on Thu, 28 February 2019, 12:52:20
I have requests on the base firmware for the "the cheat".  Taeyoung helped me to find these on otd.kr.  The files are attached here in this post. 

Link the a thread on otd.kr on this topic:
http://www.otd.kr/bbs/board.php?bo_table=qa&wr_id=32711#c_33104