USE UPS NEXT DAY AIR FOR ANY USA ORDER BEFORE 11AM ET *TODAY* 12/19/2014 TO GET YOUR PACKAGE IN TIME FOR XMAS - PLEASE SEE OUR SHIPPING DEADLINE NOTICE FOR MORE DETAILS!

make: *** [program-mypov] Error 1
Moderators: adafruit_support_bill, adafruit

make: *** [program-mypov] Error 1

by jacob22t on Thu May 05, 2011 10:49 pm

I'm using a minipov3 made from the kit.
Trying to program it from a Macbookpro running Mac OS X 10.6.7.
I'm using the USB/Serial Converter (PL2303) purchased from adafruit with the drivers found in the instructions.
The minipov lit up and cycled through the LED's (when not plugged into the USB/Serial Converter).

When doing the last step of programming the minipov I get the message 'Error 1' see the screenshot below:Image
jacob22t
 
Posts: 4
Joined: Thu May 05, 2011 10:08 pm

Re: make: *** [program-mypov] Error 1

by mtbf0 on Thu May 05, 2011 11:42 pm

you need to edit the Makefile and replace COM1 with a more macintoshish serial port name.
"i want to lead a dissipate existence, play scratchy records and enjoy my decline" - iggy pop, i need more
User avatar
mtbf0
 
Posts: 1645
Joined: Sat Nov 10, 2007 12:59 am
Location: oakland ca

Re: make: *** [program-mypov] Error 1

by jacob22t on Fri May 06, 2011 12:13 am

Thanks, bit of a noob question but how would I find what to change it to and how would I change it?
jacob22t
 
Posts: 4
Joined: Thu May 05, 2011 10:08 pm

Re: make: *** [program-mypov] Error 1

by mtbf0 on Fri May 06, 2011 8:32 am

plug in the device. then type the following...

Code: Select all | TOGGLE FULL SIZE
dmesg | tail -n 20


this is what i get on my pc running opensuse 11.3 when i plug in an ftdi usb-ttl serial cable...

Code: Select all | TOGGLE FULL SIZE
otto@linux-9vu9:~> dmesg | tail -n 10
[32792.058198] usb 3-2: Product: TTL232R
[32792.058203] usb 3-2: Manufacturer: FTDI
[32792.058207] usb 3-2: SerialNumber: FTDPZQHN
[32792.063296] ftdi_sio 3-2:1.0: FTDI USB Serial Device converter detected
[32792.063387] usb 3-2: Detected FT232RL
[32792.063393] usb 3-2: Number of endpoints 2
[32792.063398] usb 3-2: Endpoint 1 MaxPacketSize 64
[32792.063403] usb 3-2: Endpoint 2 MaxPacketSize 64
[32792.063408] usb 3-2: Setting MaxPacketSize 64
[32792.065329] usb 3-2: FTDI USB Serial Device converter now attached to ttyUSB0
otto@linux-9vu9:~>


what i'm looking for here is "ttyUSB0". i can now edit the supplied Makefile and replace "COM1" with "/dev/ttyUSB0". since you're on a macintosh the device name will be different, but probably descriptive enough for you to be able to pick it out of the dmesg output. take whatever it is and slap "/dev/" onto the front of it and you should be golden.

maybe.
"i want to lead a dissipate existence, play scratchy records and enjoy my decline" - iggy pop, i need more
User avatar
mtbf0
 
Posts: 1645
Joined: Sat Nov 10, 2007 12:59 am
Location: oakland ca

Re: make: *** [program-mypov] Error 1

by jacob22t on Sat May 07, 2011 1:56 am

Thanks
Code: Select all | TOGGLE FULL SIZE
    dmesg | tail -n 20

didn't work but I remembered the obvious answer from prior in the instructions :oops: :
Code: Select all | TOGGLE FULL SIZE
ls /dev/cu.*


Which gave the result
/dev/cu.Bluetooth-Modem /dev/cu.Jacob-DataTransfer
/dev/cu.Bluetooth-PDA-Sync /dev/cu.PL2303-00002006

I replaced COM1 with /dev/cu.PL2303-00002006 and it seemed to successfully load the mypov file onto the minipov.
jacob22t
 
Posts: 4
Joined: Thu May 05, 2011 10:08 pm

Re: make: *** [program-mypov] Error 1

by mtbf0 on Sat May 07, 2011 7:50 am

jacob22t wrote:Code: Select all
dmesg | tail -n 20


didn't work


rats. i googled something like "dmesg macintosh" and got results, so i assumed it was available. guess i should have read some of the results.

glad you got it working. those minipov boards are a ball to play with.
"i want to lead a dissipate existence, play scratchy records and enjoy my decline" - iggy pop, i need more
User avatar
mtbf0
 
Posts: 1645
Joined: Sat Nov 10, 2007 12:59 am
Location: oakland ca

Re: make: *** [program-mypov] Error 1

by jacob22t on Sat May 14, 2011 1:13 am

New problem:

the mypov seems to load fine onto the minipov but when I unplug it it only dimly lights the 5th LED, I've tried switching the minipov on and off after programming, shorter (8 to 10) line programs, and repeating the programming steps with the same result: 5th LED dimly lit.
jacob22t
 
Posts: 4
Joined: Thu May 05, 2011 10:08 pm

Re: make: *** [program-mypov] Error 1

by adafruit_support_bill on Sat May 14, 2011 5:49 am

Could be a bad solder joint on the board. Touch up anything that looks suspicious. If you post pics of the board we'll have a look.
User avatar
adafruit_support_bill
 
Posts: 32621
Joined: Sat Feb 07, 2009 10:11 am