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:
make: *** [program-mypov] Error 1
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 1645
- Joined: Sat Nov 10, 2007 12:59 am
Re: make: *** [program-mypov] Error 1
you need to edit the Makefile and replace COM1 with a more macintoshish serial port name.
-
- Posts: 4
- Joined: Thu May 05, 2011 10:08 pm
Re: make: *** [program-mypov] Error 1
Thanks, bit of a noob question but how would I find what to change it to and how would I change it?
-
- Posts: 1645
- Joined: Sat Nov 10, 2007 12:59 am
Re: make: *** [program-mypov] Error 1
plug in the device. then type the following...
this is what i get on my pc running opensuse 11.3 when i plug in an ftdi usb-ttl serial cable...
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.
Code: Select all
dmesg | tail -n 20
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:~>
maybe.
-
- Posts: 4
- Joined: Thu May 05, 2011 10:08 pm
Re: make: *** [program-mypov] Error 1
Thanks
didn't work but I remembered the obvious answer from prior in the instructions :
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.
Code: Select all
dmesg | tail -n 20
Code: Select all
ls /dev/cu.*
/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.
-
- Posts: 1645
- Joined: Sat Nov 10, 2007 12:59 am
Re: make: *** [program-mypov] Error 1
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.jacob22t wrote:Code: Select all
dmesg | tail -n 20
didn't work
glad you got it working. those minipov boards are a ball to play with.
-
- Posts: 4
- Joined: Thu May 05, 2011 10:08 pm
Re: make: *** [program-mypov] Error 1
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.
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.
- adafruit_support_bill
- Posts: 88086
- Joined: Sat Feb 07, 2009 10:11 am
Re: make: *** [program-mypov] Error 1
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.
Please be positive and constructive with your questions and comments.