"No Propeller chip found on any serial port" Recovery idea?
coryco2
Posts: 107
I have been experimenting with four USB Protoboards, constructing identical circuits on them, and have had an odd issue come up with a two of them at the very same time: the Propeller Tool no longer can see the Prop. The USB lights blink (and show up in the PC's system info as working USB devices), and the last code I uploaded to the boards boots and runs on powerup: it utilizes input switches and displays, so I can tell that the Prop chips appearing to be working fine. I just can no longer make the programming connection with two of the boards. But I can with the other two. Nothing was changed on any of them.
I tried the suggestions in another thread on this forum having to do with potential computer/OS related problems, reinstalling drivers and Prop Tools on two different PC's, one WinXP and one 7, and get the same results, so I am confident that this issue has to do with the Protoboards themselves, but I have no idea what caused it. And two at the same time? It doesn't make sense.
Is anyone aware of such an issue with the Protoboards? I have written to the EEPROMS of each an identical number of times--no more than several dozen times, or a hundred at the very most. How does the Prop Tool determine if a Propeller chip is present on the USB interface? Is there some way to work around the on-board interface for programming the Prop (i.e. connecting a Prop Plug to some other I/O pins, for example?).
Any suggestions would be much appreciated.
I tried the suggestions in another thread on this forum having to do with potential computer/OS related problems, reinstalling drivers and Prop Tools on two different PC's, one WinXP and one 7, and get the same results, so I am confident that this issue has to do with the Protoboards themselves, but I have no idea what caused it. And two at the same time? It doesn't make sense.
Is anyone aware of such an issue with the Protoboards? I have written to the EEPROMS of each an identical number of times--no more than several dozen times, or a hundred at the very most. How does the Prop Tool determine if a Propeller chip is present on the USB interface? Is there some way to work around the on-board interface for programming the Prop (i.e. connecting a Prop Plug to some other I/O pins, for example?).
Any suggestions would be much appreciated.
Comments
Anyway, you might check that nothing is drawing a lot of power leading to a brown-out.
Actually, your problem seems different... Does your board reboot when the Prop tool tries to find it?
http://www.parallax.com/tabid/530/Default.aspx
Bruce
I've had this problem a couple of times on hardware I've put together.
Have a look at the signal chain from the FTDI DTR line through RESn on the
propeller. If the DTR assert cannot reach RESn the prop will not be properly
detected by the OS. For me usually a bad joint on coupling cap or reset transistor.
Are you using a proto board with USB on the board or a prop clip?
Posting a pic is a good idea.
Cheers,
Desiko
If you have something there, try with it disconnected...
It started happening when the COM numbers got into the 40s or 50 (notice this one is 67).
Follow the order of the buttons I hit (in red).
Edit: Also when hooking up new chips for the first time do not unplug the ones already installed while plugging in the new ones.
After reading the thread I have uninstalled and re-installed the drivers and updated the Prop Tool to version 1.3
I'm wondering now if its a physical USP connection issue on the board not sure how to test it though.
Any suggestions?
A good first step is to check the windows device manager to see if the
Ftdi part has enumerated properly. It should show up in the device manager
list as : USB Serial Port (ComX)
where "X" is number of the com port grabbed.
What Windows version are you running?
Do you have an oscilloscope?
Regards,
desiko
Installing other devices that utilize virtual COM ports can and does mess up the FTDI driver at times, but....I think that is not your issue, or mine in this case. While I would rather continue on with my project, I think it might be more beneficial if I wrung this out and tried to document a useful methodology for troubleshooting this particular issue because the tools are not helpful in this regard. (Not that I would expect them to be, just that I am a huge fan of diagnostic capability in development tools.)
active port created on other pins than 30 & 31.
This was a quickstart board.
The most simple solution was to comment out the second port, symptom goes away.
This stopped the problem, and I can create it reliably by enabling the second port.
Seems like a timing problem, as sometimes it works just fine when enabled.
Wish I could tell you more.
jack
I'm curious if I can repeat the problem on another board but I'm won't try this until I have a good idea how to fix it the first one. I won't be able to work with on it for about two weeks. I will update the thread when I am able.
Thanks
Last week nothing I did could get the PC to communicate with the Prop.I tried downloading the program from the same PC but it could not find the chip. I disconnected the PropPlug and connected it to a different board and did an F10 and the program downloaded fine. Went back to the problem board nothing. The Prop Development software could not detect a chip.
Yesterday, I was in the process of building up a replacement board and while using the Parallax Terminal program to debug I thought, what the heck, and I tried the old board once again using the terminal program via my laptop. Communication was fine. I moved the PropPlug cable back to the original PC and it ran perfectly the rest of the day.
Now I don't know what is causing this, the Prop, the PropPlug, the PC.
Anyway, it sometimes takes me a few tries to get a Quickstart programmed on one computer...
I'm pretty sure it's a latency issue. I can see the red and green lights of the FTDI chip flashing, so I know the Prop is trying to talk.
But, the Prop tool is sometimes not waiting long enough and reports it Not Found before giving it enough time...
Here is a link to a great paper on debugging USB enumeration in Windows 7 http://msdn.microsoft.com/en-us/windows/hardware/gg463163.
Do both boards have the same USB interface hardware? Is it FTDI232R?