I have a Keyspan USA-19HS USB-serial adapter that I am using with a Snap Micro I circuit kit from Elenco Electronics. The kit contains a Picaxe 8M microcontroller and a simple cable that has a 9-pin serial connector on one end (which I plug into the Keyspan unit) and three snap wires on the other end (ground, signal in, signal out). I don't think the cable has any active electronics in it.
I am running a Macbook Pro with an Intel Core 2 Duo processor and OS X 10.6.4. I also have Parallels, and have loaded both the Windows XP and Mac drivers for the Keyspan adapter.
The short of it is that everything works fine in Windows XP under Parallels--i.e., I can successfully program the microcontroller--but it doesn't fully work under OS X. In particular, the test button in MacAXEpad will cause 5 volts and zero volts to appear on the signal in lead (Tx from the Keypad, I assume), and the MacAXEpad software will go through all of the correct steps through the downloading of the code, but throws a verification error. Here's the transcript:
PICAXE-08M Enhanced Compiler. Version 1.2
Copyright (c) 1996-2010 Revolution Education Ltd
All rights reserved.
www.picaxe.co.uk
Compiled successfully.
Memory used = 18 out of 256 bytes.
Searching for hardware on /dev/tty.KeySerial1.
Downloading program.
[at this point the error box comes up with:
Download for PICAXE-08M on Failed
Error:
Verification error - 0x00 transmitted but nothing received at byte 0]
If I leave the setup unchanged and start up Parallels, the Windows version of AXEpad works fine and the code is fully loaded on the microcontroller. I have done this repeatedly and it always works. I have rebooted the Mac several times but that doesn't change the result.
I also have put a Mac terminal window into terminal mode with the command "screen /dev/tty.KeySerial1 9600" and put a logic probe on the Tx wire. Each time I type a character, the probe shows a positive signal pulse. But if I short the Tx and Rx leads together, there is no signal coming back to the terminal windo.
So it would seem that there is no response coming in on the Rx line in OS X but there is in Windows.
Any ideas as to why the Mac version won't work?
I am running a Macbook Pro with an Intel Core 2 Duo processor and OS X 10.6.4. I also have Parallels, and have loaded both the Windows XP and Mac drivers for the Keyspan adapter.
The short of it is that everything works fine in Windows XP under Parallels--i.e., I can successfully program the microcontroller--but it doesn't fully work under OS X. In particular, the test button in MacAXEpad will cause 5 volts and zero volts to appear on the signal in lead (Tx from the Keypad, I assume), and the MacAXEpad software will go through all of the correct steps through the downloading of the code, but throws a verification error. Here's the transcript:
PICAXE-08M Enhanced Compiler. Version 1.2
Copyright (c) 1996-2010 Revolution Education Ltd
All rights reserved.
www.picaxe.co.uk
Compiled successfully.
Memory used = 18 out of 256 bytes.
Searching for hardware on /dev/tty.KeySerial1.
Downloading program.
[at this point the error box comes up with:
Download for PICAXE-08M on Failed
Error:
Verification error - 0x00 transmitted but nothing received at byte 0]
If I leave the setup unchanged and start up Parallels, the Windows version of AXEpad works fine and the code is fully loaded on the microcontroller. I have done this repeatedly and it always works. I have rebooted the Mac several times but that doesn't change the result.
I also have put a Mac terminal window into terminal mode with the command "screen /dev/tty.KeySerial1 9600" and put a logic probe on the Tx wire. Each time I type a character, the probe shows a positive signal pulse. But if I short the Tx and Rx leads together, there is no signal coming back to the terminal windo.
So it would seem that there is no response coming in on the Rx line in OS X but there is in Windows.
Any ideas as to why the Mac version won't work?