PROGRAMMING HELP

MiniPOV, MiniPOV2 and MiniPOV3

Moderators: adafruit_support_bill, adafruit

PROGRAMMING HELP

Postby Jevanko » Sun Nov 29, 2009 11:32 pm

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
Jevanko
 
Posts: 13
Joined: Sun Nov 29, 2009 11:29 pm

Re: PROGRAMMING HELP

Postby adafruit » Sun Nov 29, 2009 11:41 pm

you're not in the right directory. go to the directory where the Makefile and .c are
User avatar
adafruit
 
Posts: 10491
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: PROGRAMMING HELP

Postby Jevanko » Mon Nov 30, 2009 11:19 am

how do i do that?
Jevanko
 
Posts: 13
Joined: Sun Nov 29, 2009 11:29 pm


Re: PROGRAMMING HELP

Postby Jevanko » Mon Nov 30, 2009 4:54 pm

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
Jevanko
 
Posts: 13
Joined: Sun Nov 29, 2009 11:29 pm

Re: PROGRAMMING HELP

Postby adafruit » Mon Nov 30, 2009 5:01 pm

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)
User avatar
adafruit
 
Posts: 10491
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: PROGRAMMING HELP

Postby Jevanko » Mon Nov 30, 2009 5:07 pm

which file do i change to mypov.c? there are a ton of .c files in the minipov firmware folder
Jevanko
 
Posts: 13
Joined: Sun Nov 29, 2009 11:29 pm

Re: PROGRAMMING HELP

Postby mtbf0 » Mon Nov 30, 2009 6:20 pm

Jevanko wrote:which file do i change to mypov.c? there are a ton of .c files in the minipov firmware folder


the file slm.c from the zip file with the brainwave firmware in it.
"i want to lead a dissipate existence, play scratchy records and enjoy my decline" - iggy pop, i need more
User avatar
mtbf0
 
Posts: 1642
Joined: Fri Nov 09, 2007 11:59 pm
Location: oakland ca

Re: PROGRAMMING HELP

Postby Jevanko » Mon Nov 30, 2009 6:42 pm

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?
Jevanko
 
Posts: 13
Joined: Sun Nov 29, 2009 11:29 pm

Re: PROGRAMMING HELP

Postby adafruit » Mon Nov 30, 2009 7:16 pm

you may want to read the article about the brainwave machine in detail. it probably has step-by-step instructions?
User avatar
adafruit
 
Posts: 10491
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: PROGRAMMING HELP

Postby Jevanko » Mon Nov 30, 2009 7:27 pm

it does, but for PC. would these work for mac?
Jevanko
 
Posts: 13
Joined: Sun Nov 29, 2009 11:29 pm

Re: PROGRAMMING HELP

Postby adafruit » Mon Nov 30, 2009 7:28 pm

well you should try first, no?
User avatar
adafruit
 
Posts: 10491
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: PROGRAMMING HELP

Postby Jevanko » Mon Nov 30, 2009 7:52 pm

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?
Jevanko
 
Posts: 13
Joined: Sun Nov 29, 2009 11:29 pm

Re: PROGRAMMING HELP

Postby mtbf0 » Mon Nov 30, 2009 10:29 pm

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

Code: Select all
make program-mypov

ought to do the trick for you.

or, if you just unzip mitch's file and cd into the directory you put it in

Code: Select all
make program-slm

should get you there.
"i want to lead a dissipate existence, play scratchy records and enjoy my decline" - iggy pop, i need more
User avatar
mtbf0
 
Posts: 1642
Joined: Fri Nov 09, 2007 11:59 pm
Location: oakland ca

Re: PROGRAMMING HELP

Postby Jevanko » Fri Dec 04, 2009 10:35 pm

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
screen.tiff (37.3 KiB) Viewed 3041 times
Jevanko
 
Posts: 13
Joined: Sun Nov 29, 2009 11:29 pm

Next

Return to MiniPOV

Who is online

Users browsing this forum: No registered users and 2 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [103]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[61]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]