Hi,
I'm running into verification errors when I try to download programs to a PICAXE 18m2 on a mac, and would appreciate any suggestions on how to troubleshoot this.
Here's a example of the error - it is always the same error at the same offset.
I'm using a USB-BUB from modern device http://shop.moderndevice.com/products/usb-bub as a USB to serial adapter. (This is the FTDI chip, programmed to invert TX/RX).
On the mac side, I'm running OSX 10.6.8, version 2.6.16 of the FTDI USB Serial drivers, and version 1.2.0 of Mac AXEPad. The machine is a 13" core2 duo macbook .
The USB device seems to be recognized by the mac, and reading appears to be ok:
If I connect using a terminal, my program is writing (as expected) to the tty. In this case, it was programmed from another (Linux) machine:
So far, I tried using a separate 5V supply in case the USB power wasn't sufficient, and I have tried USB ports directly on the mac and through a USB hub, with no difference.
The exact same hardware and USB cable are working fine from a Fedora 15 machine, so that's my current environment. However, I'll will need the macbook soon for 'field' debugging .
Does anyone have additional suggestions on what to try?
mike
I'm running into verification errors when I try to download programs to a PICAXE 18m2 on a mac, and would appreciate any suggestions on how to troubleshoot this.
Here's a example of the error - it is always the same error at the same offset.
Code:
mikeyp-macbook:controller $ picaxe18m2 -c/dev/tty.usbserial-A6UC4STC mcp9701.bas
PICAXE-18M2 Enhanced Compiler. Version 1.7
Copyright (c) 1996-2011 Revolution Education Ltd
All rights reserved.
www.picaxe.co.uk
Compiled successfully.
Memory used = 70 out of 2048 bytes.
Searching for hardware on /dev/tty.usbserial-A6UC4STC.
Downloading program.
line# 0 col# 0
Error:
Verification error - 0x00 transmitted but 0xFFFFFFFC received at byte 0
On the mac side, I'm running OSX 10.6.8, version 2.6.16 of the FTDI USB Serial drivers, and version 1.2.0 of Mac AXEPad. The machine is a 13" core2 duo macbook .
The USB device seems to be recognized by the mac, and reading appears to be ok:
Code:
mikeyp-macbook:controller $ picaxe18m2 -c/dev/tty.usbserial-A6UC4STC -f mcp9701.bas
PICAXE-18M2 Enhanced Compiler. Version 1.7
Copyright (c) 1996-2011 Revolution Education Ltd
All rights reserved.
www.picaxe.co.uk
Searching for hardware on /dev/tty.usbserial-A6UC4STC.
PASS - firmware PICAXE-18M2 v2.B
Code:
mikeyp-macbook:controller $ picaxe18m2 -c/dev/tty.usbserial-A6UC4STC -f -t mcp9701.bas
PICAXE-18M2 Enhanced Compiler. Version 1.7
Copyright (c) 1996-2011 Revolution Education Ltd
All rights reserved.
www.picaxe.co.uk
Searching for hardware on /dev/tty.usbserial-A6UC4STC.
PASS - firmware PICAXE-18M2 v2.B
Terminal open (4800,n,8,1) - Press <Enter> to exit...
�22.50, 22.50, 22.50, 22.50, 22.50, 22.50, 22.50, 22.50, 22.50, 22.50, 22.50, 22.50, 22.50, 22.50, ^C
So far, I tried using a separate 5V supply in case the USB power wasn't sufficient, and I have tried USB ports directly on the mac and through a USB hub, with no difference.
The exact same hardware and USB cable are working fine from a Fedora 15 machine, so that's my current environment. However, I'll will need the macbook soon for 'field' debugging .
Does anyone have additional suggestions on what to try?
mike