hardware not found error
November 8, 2008
I run the picaxe programming editor on windows XP in a virtual machine (parallels desktop) on my OS X laptop. The serial connection to the picaxe 28x1 works fine when I'm just communicating using hyperterm or when the picaxe sends debug info.
When I want to upload a program to the chip, it usually takes 4 or 5 tries to get it right. The larger the program, the more it fails to load.
So i decided to use the command line compiler for mac OS X. Now the uploads are very stable only a new problem appeared.
Some files wont upload. They compile just fine, but I get an error saying "hardware not found on /dev/tty.usb...." When I pick a different file -> no problem. When I empty the file or just enter a 3 line dummy program -> no problem.
It seems as if some statement in the file produces an error somewhere but the syntax checks out OK.
Does anybody have a clue as to where I should look?
P.S. I just registered at the picaxe forum, but i'm not allowed to post.
I found a piece of code that, when removed, allows the upload to proceed. It is a SELECT ..CASE.. ENDSELECT statement
Funny thing is: This code comes from another program that uploads just fine