ok so i am trying to program my minipov kit using the alt leds program and i get the out of terminal
jmevanko$ make program-alt_leds
make: *** No rule to make target `program-alt_leds'. Stop.
how do i fix this? im using a mac
Thanks
-Jason
PROGRAMMING HELP
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: PROGRAMMING HELP
you're not in the right directory. go to the directory where the Makefile and .c are
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
-
- Posts: 13
- Joined: Mon Nov 30, 2009 12:29 am
Re: PROGRAMMING HELP
it worked! thank you. just one more question. how do i compile a file to burn onto the chip? im doing the brain machine kit and i can't figure it out
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: PROGRAMMING HELP
you can rename the .c file to mypov.c (easiest)
or you can edit the makefile to add a new .hex file to the list of those made (tougher)
or you can edit the makefile to add a new .hex file to the list of those made (tougher)
-
- Posts: 13
- Joined: Mon Nov 30, 2009 12:29 am
Re: PROGRAMMING HELP
which file do i change to mypov.c? there are a ton of .c files in the minipov firmware folder
-
- Posts: 1645
- Joined: Sat Nov 10, 2007 12:59 am
Re: PROGRAMMING HELP
the file slm.c from the zip file with the brainwave firmware in it.Jevanko wrote:which file do i change to mypov.c? there are a ton of .c files in the minipov firmware folder
-
- Posts: 13
- Joined: Mon Nov 30, 2009 12:29 am
Re: PROGRAMMING HELP
ok, sorry for all the questions but im new to the whole programing thing. After i change the name of that file i use terminal to transfer it to the board?
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: PROGRAMMING HELP
you may want to read the article about the brainwave machine in detail. it probably has step-by-step instructions?
-
- Posts: 13
- Joined: Mon Nov 30, 2009 12:29 am
Re: PROGRAMMING HELP
it does, but for PC. would these work for mac?
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: PROGRAMMING HELP
well you should try first, no?
-
- Posts: 13
- Joined: Mon Nov 30, 2009 12:29 am
Re: PROGRAMMING HELP
ok so i did all that and it worked except it gave me an error.
avrdude: erasing chip
avrdude: reading input file ""
avrdude: error opening : No such file or directory
avrdude: input file auto detected as invalid format
avrdude: can't open input file : No such file or directory
what caused this?
avrdude: erasing chip
avrdude: reading input file ""
avrdude: error opening : No such file or directory
avrdude: input file auto detected as invalid format
avrdude: can't open input file : No such file or directory
what caused this?
-
- Posts: 1645
- Joined: Sat Nov 10, 2007 12:59 am
Re: PROGRAMMING HELP
did you compile the program?
without screenshots i have to imagine what you're doing.
did you put slm.c in the directory with the minipov3 firmware?
did you rename slm.c to mypov.c as in the discussion above.
if so
ought to do the trick for you.
or, if you just unzip mitch's file and cd into the directory you put it in
should get you there.
without screenshots i have to imagine what you're doing.
did you put slm.c in the directory with the minipov3 firmware?
did you rename slm.c to mypov.c as in the discussion above.
if so
Code: Select all
make program-mypov
or, if you just unzip mitch's file and cd into the directory you put it in
Code: Select all
make program-slm
-
- Posts: 13
- Joined: Mon Nov 30, 2009 12:29 am
Re: PROGRAMMING HELP
so i tryed to reprogram my chip because it wasn't working, and now its giving me a whole new error. i am "cd" in the correct file.
- Attachments
-
- screen.tiff (37.3 KiB) Viewed 3864 times
Please be positive and constructive with your questions and comments.