geekhack

geekhack Projects => Making Stuff Together! => Topic started by: derzemel on Fri, 28 August 2015, 20:08:18

Title: Today I F...ed Up by trying to flash the firmware on the Leeku 1800
Post by: derzemel on Fri, 28 August 2015, 20:08:18
So, I really messed things up

I tried to flash the firmware on the Leeku 1800 using the instructions here: http://kbdlab.co.kr/?document_srl=543530&mid=board_sw&listStyle=viewer

I could not get it to work through CMD and I kept getting the error: main.hex file not found.

So I dug some more and I found this GH topic (https://geekhack.org/index.php?topic=38377.0). I tried to see if the tool HIDBootFlash could see the Leeku and it did, so... I went with it and applied the main.hex file from the KBDLab link above. It worked for about 10 seconds, then it stopped and failed.
Now the Leeku is seen as a unrecognized device by the PC when entered through the USB and nothing happens when using PS2.

Do you have any ideea if I can do anything to fix this? :(

Thank you,

derzemel
Title: Re: Today I F...ed Up by trying to flash the firmware on the Leeku 1800
Post by: flabbergast on Sat, 29 August 2015, 03:23:53
Well, the messiness depends on whether or not you can get into the bootloader. I think there are three options:
a) the board has an electrical problem (e.g. a short, or something burned out) in which case you'd need to figure out which component is dead and replace it (this is the worst-case scenario, and if the board worked fine before and it's well designed, it is very unlikely).
b) the board is OK, but there is a problem with the firmware:
  1) even the bootloader doesn't work (i.e. pressing esc when powering up via USB does not bring up the bootloadHID device). Not so good, you'd need to flash a bootloader using and AVR ISP programmer (another device).
  2) the bootloader works - this is the best case scenario - just flash it again with HIDBootFlash, maybe try older firmware...
Title: Re: Today I F...ed Up by trying to flash the firmware on the Leeku 1800
Post by: derzemel on Sat, 29 August 2015, 06:28:18
Well, the messiness depends on whether or not you can get into the bootloader. I think there are three options:
a) the board has an electrical problem (e.g. a short, or something burned out) in which case you'd need to figure out which component is dead and replace it (this is the worst-case scenario, and if the board worked fine before and it's well designed, it is very unlikely).
b) the board is OK, but there is a problem with the firmware:
  1) even the bootloader doesn't work (i.e. pressing esc when powering up via USB does not bring up the bootloadHID device). Not so good, you'd need to flash a bootloader using and AVR ISP programmer (another device).
  2) the bootloader works - this is the best case scenario - just flash it again with HIDBootFlash, maybe try older firmware...

Thank you!

The board worked fine before, so it is unlikely to be an electrical problem.
Now, when I connect it to the USB I just get "Unknown USB device" error and I cannot enter in the bootloader (with ESC pressed).
I am installing Linux Ubuntu on 32bit. Hopefully I will be able to do something with it
Title: Re: Today I F...ed Up by trying to flash the firmware on the Leeku 1800
Post by: quochung1989 on Thu, 03 September 2015, 07:46:06
Try connect via PS2. I connect PS2 sucessful. Please do some steps below: (require do right in order).
1. Connect PC = hold "ESC" & connect PS2 port. Wait several seconds.
2. Remove connect & reconnect PC = Hold P & connect.
3. Restart PC.

Good luck :thumb: