Getting error: Propeller chip lost on COM17
tomboardman
Posts: 68
When I try to load DevKernel.spin for PropForth for use with the Parallax Serial Terminal, I get the error "Propeller chip lost on COM17". It loaded couple of times, but now I get the error consistently. I see this error has occurred with other users, but I have not found info on how to solve it. I am using a new QuickStart board, Rev B
Comments
I was successful with the EPROM load on a different PC!
http://www.ftdichip.com/Support/Util...%20Utility.zip
Make sure COM1 isn't being used by something else.
I'm pretty sure the higher COM port number isn't the problem. The QuickStart can be finicky with the older version of the Prop Tool. If I'm having this problem a lot, I press the reset button quickly (about 1/2 second IIRC) by pressing F10 or F11. The reset button trick almost always works for me.
As jazzed said, the newest version of the Prop Tool shouldn't have this problem.
There are times when it will work every time and others when it plays up all the time, Sometimes if you hit the F10 or F11 key very quickly after accepting the error dialog you can get it to carry through ok, although this isn't a solid solution.
Swapping with the second QuickStart makes it all clear the this is a problem with PC, not the board.
I rarely work in Windows (I've been using Ubuntu Linux for several years), so I can't really help with whatever it is doing. Can anybody else help?
Linux and Windows have a very different way of setting up and controlling serial ports.
The FTDI driver uses virtual COM ports, some programs including the latest Prop Tool seem to be happier if you stay in the real COM port range of COM1-COM4.
I do understand there are real hard wire COM ports, USB ports with serial adapters, Wifi and Bluetooth links, and maybe others.
But how does one get to a 17th port on the average machine? We used to have Com1 through Com4 and that was more than enough for most situations.
Each time you plug in a new USB device it gets assigned a COM port. You may only have one device connected but it maybe on COM17. The FTDI utility allows you to shift around the assignments. Certain computers, mine included, don't seem to like the real high numbers when connecting with the Prop Tool. It gets real crazy when you have 8-10 different USB robots, IPAD's, IPOD's, Android devices, printers. You get to COM17 very fast.
In the process, there are likely a list of BIOS that are graded from excellent to poor. My Toshiba NB250 is an MS friendly, Linux hostile BIOS; while my ASUS notebook is very Linux friendly, seems to operate fine in W7 as well.
But MS keeps trying to play the paranoid card and claim you need the latest version of Windows in a hostile world. They cater to the hardware makers by leaving behind legacy computers via incompatibility with the latest newest version. And so, one is marched through an endless chase for updates and paying to stay functional.
People are weary of this. Linux is very stable, very secure, and legacy hardware is well supported.
@Loopy - I hear ya! My last experience with M$ was when I went to the shop to get an upgrade from W2K. "You want how freakin' much....?". ;-) Today my desk has two iMacs and a quad core Linux box (Fedora 18). There is also my netbook running XP for programming the Stamps. (XP came with the netbook)
When I did notice on the Quickstart, the "magic resistor" trick fixed it. This was an issue addressed in Proptool 1.3, I believe. 10k pull up resistor from QS 38 to QS 33
http://forums.parallax.com/showthread.php/140078-Weird-problem-uploading-to-QuickStart?p=1098093&viewfull=1#post1098093
http://forums.parallax.com/showthread.php/137928-PropGCC-SimpleIDE?p=1094355&viewfull=1#post1094355
If this remotes the issue on the problem PC, it could indicate something is still going on.
The other thing that comes to mind is power, it there anything else plugged into the USB on the problem unit?
The last thing in my bag 'o tricks is clear the virtual common ports, so it enumerates as com2 or com3. I don't know if this has any benefit, but its what I did when I last addressed this issue.
I've only noticed it on the QuickStart. I do think the resistor trick helps but I can usually get the PC to talk with the QS with a couple of F11 and "enter" presses in quick succession. The loading seems to work better if I press "OK" to the error very quickly and then quickly press F11 again. I think it's related to the press reset and then F11 trick I also use.
Maybe I should upgrade to the latest Prop Tool. I just don't like how the library gets moved with each update.
All these devices that are supposed to be powered soley by a USB port of 500ma at 5VDC are doubtful to me. I'd be just as happy with a 9pin RS232 cable and independent power. I don't generally need the extreme baud rates that USB can do.