Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with hex, msys64, make command not found #2948

Closed
neanic opened this issue May 12, 2018 · 22 comments
Closed

Help with hex, msys64, make command not found #2948

neanic opened this issue May 12, 2018 · 22 comments

Comments

@neanic
Copy link

neanic commented May 12, 2018

I've been trying to get qmk going for my iris. I made it to the make hex part but now I'm stuck. I was following this guide- https://www.reddit.com/r/olkb/comments/7pnsrc/qmk_guide_for_flashing_keyboards/

I'm getting "make :command not found" after running make iris/rev2:default

@drashna
Copy link
Member

drashna commented May 12, 2018

make sure that you are actually in the qmk folder.

You may need to run cd qmk or cd qmk_firmware before running the make command.

@neanic
Copy link
Author

neanic commented May 14, 2018

I've tried a few different folders with the same result. I'm pretty sure I'm in the right one though.
I had a similar message earlier in the install when I was trying to run a git command. I ended up having to run this command: pacman -S git . I was wondering if there was something like that that I'm missing. It took me a while to find that and I haven't been able to find anything, except what you recommended, about it.

@drashna
Copy link
Member

drashna commented May 14, 2018

Make sure you're following this: https://qmk.github.io/qmk_firmware/#/newbs_getting_started

@neanic
Copy link
Author

neanic commented May 14, 2018

Thanks for trying guys. I think I'm just too dense. I followed everything, to the best of my ability, with the same result.
./util/qmk_install.sh didn't seem to do anything...
Anyone want to buy a soldered iris with blue leds?

@drashna
Copy link
Member

drashna commented May 14, 2018

If you are fine with using the default layout: http://qmk.fm/compiled/iris_rev2_default.hex
https://github.com/qmk/qmk_firmware/tree/master/keyboards/iris/keymaps/default/keymap.c

Otherwise, if you have a customized keymap that you want to use, you can link it here, and and I can see about helping.

And I do have some remote support tools, so I could possibly help with gitting it installed.

@neanic
Copy link
Author

neanic commented May 14, 2018

I deleted qmk and reinstalled it. Now I can't find it on my computer to modify the keymaps.

capture

@jbtompkins
Copy link

jbtompkins commented May 15, 2018

Have you installed gcc on msys2? I think the command is

pacman -S gcc

Found on this issue

@neanic
Copy link
Author

neanic commented May 15, 2018

Installed it.
Same result.

@drashna
Copy link
Member

drashna commented May 15, 2018

try util/msys2_install.shinstead

@neanic
Copy link
Author

neanic commented May 16, 2018

It works!
Thanks for all the help. I'll try to flash it tomorrow.

@drashna
Copy link
Member

drashna commented May 16, 2018

awesome, glad to hear it!

@neanic
Copy link
Author

neanic commented May 25, 2018

Having issues flashing my pro micros. Should I start a new issue?

@drashna
Copy link
Member

drashna commented May 26, 2018

nah, that's fine.

Use AVRDUDESS to flash the Pro Micro.

@neanic
Copy link
Author

neanic commented May 31, 2018

avrdudes

I'm sure I'm doing something wrong. I also tried to do it in msys, but couldn't connect either.

@drashna
Copy link
Member

drashna commented Jun 1, 2018

AVRDUDESS needs to use the "avr109" programmer, and use the PORT in question.

image

@neanic
Copy link
Author

neanic commented Jun 2, 2018

avrdude

@drashna
Copy link
Member

drashna commented Jun 2, 2018

Make sure you reset the PM, even if the COM port shows up normally.

It WILL change when this happens. This is because sketches use "special sauce" to flash "live".

@neanic
Copy link
Author

neanic commented Jun 4, 2018

Do I hold the button when turning it on or push it after? Should I keep it pressed while flashing? Do I have to change the port manually somehow?
c5

@drashna
Copy link
Member

drashna commented Jun 6, 2018

tap the button. And to so twice, rapidly.

Once you do, you should hear the disconnect/connect chime. Then click "program" in AVRDUDESS.

If that still has issues. open up Device Manager on the system, and check to see when if/when the "new" COM port for the controller shows up.

@neanic
Copy link
Author

neanic commented Jun 15, 2018

It changes from com4 to com5 but still doesn't work.

@neanic
Copy link
Author

neanic commented Jun 19, 2018

I think it may be a driver problem, but I'm not sure how to fix it.

@neanic
Copy link
Author

neanic commented Jun 23, 2018

Thanks for the help. Sorry for being so dense.

@neanic neanic closed this as completed Jun 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants