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

MiniPOV4 and previous versions

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
jacob22t
 
Posts: 4
Joined: Thu May 05, 2011 10:08 pm

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

Post by jacob22t »

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

mtbf0
 
Posts: 1645
Joined: Sat Nov 10, 2007 12:59 am

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

Post by mtbf0 »

you need to edit the Makefile and replace COM1 with a more macintoshish serial port name.

jacob22t
 
Posts: 4
Joined: Thu May 05, 2011 10:08 pm

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

Post by jacob22t »

Thanks, bit of a noob question but how would I find what to change it to and how would I change it?

mtbf0
 
Posts: 1645
Joined: Sat Nov 10, 2007 12:59 am

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

Post by mtbf0 »

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

Code: Select all

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

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.

jacob22t
 
Posts: 4
Joined: Thu May 05, 2011 10:08 pm

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

Post by jacob22t »

Thanks

Code: Select all

    dmesg | tail -n 20
didn't work but I remembered the obvious answer from prior in the instructions :oops: :

Code: Select all

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.

mtbf0
 
Posts: 1645
Joined: Sat Nov 10, 2007 12:59 am

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

Post by mtbf0 »

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.

jacob22t
 
Posts: 4
Joined: Thu May 05, 2011 10:08 pm

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

Post by jacob22t »

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.

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

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

Post by adafruit_support_bill »

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.

Locked
Please be positive and constructive with your questions and comments.

Return to “MiniPOV”