Serial communication woes...
Wuerfel_21
Posts: 5,053
Hello,
after a long wait, I've finally been able to assemble those PCBs I ordered (thread link).
Initially, reset-on-RTS did not work, but i could upload programs by pressing reset in the right moment. Since my soldering is pretty bad, i suspected a bad joint. This suspicion was true: the reset transistor's emitter wasn't actually connected to ground. After fixing this, it does reset when RTS is released (the program currently in EEPROM has video output). However, now it won't upload anything, even when I disable the automatic reset and manually press reset, as I did previously!
So far i've tried:
- Inverting RTS in FTPROG
- Changing max bus power from 90mA to 500mA in FTPROG
- Wiggling the cable
- Looking at the RX line on a scope - inconclusive (only have access to analog scopes)
- Checking conductivity from connector to propeller
- Checked for shorts to ground, 3v3 and 5v
- Messing with the delay setting in prop tool
- BST's upload/identify
- Connecting RX/TX together on the serial cable - loops back as expected
Any ideas?
after a long wait, I've finally been able to assemble those PCBs I ordered (thread link).
Initially, reset-on-RTS did not work, but i could upload programs by pressing reset in the right moment. Since my soldering is pretty bad, i suspected a bad joint. This suspicion was true: the reset transistor's emitter wasn't actually connected to ground. After fixing this, it does reset when RTS is released (the program currently in EEPROM has video output). However, now it won't upload anything, even when I disable the automatic reset and manually press reset, as I did previously!
So far i've tried:
- Inverting RTS in FTPROG
- Changing max bus power from 90mA to 500mA in FTPROG
- Wiggling the cable
- Looking at the RX line on a scope - inconclusive (only have access to analog scopes)
- Checking conductivity from connector to propeller
- Checked for shorts to ground, 3v3 and 5v
- Messing with the delay setting in prop tool
- BST's upload/identify
- Connecting RX/TX together on the serial cable - loops back as expected
Any ideas?
Comments
UPDATE 2: I uploaded "Parallax Serial Terminal Demo v1.0" and got interesting results: When RTS is connected, i get an ð (0xF0) every second on the serial terminal. So the issue seems to be with the PC receiving data from the prop?
UPDATE 3: The actual status of RTS makes no difference: inverted, not inverted, on, off - same results
UPDATE 4: Using the jumper to disconnect reset-on-RTS from the reset line works, too. EDIT: As in serial rx/tx works. Uploading obvs. needs manually timed reset button press.
Phil
-Phil
-Phil
THE RESISTI-JUMPER
Only genuine with cold solder joints....
(no, it's not just a hacked up stacking header soldered to a random resistor. Where would you get that idea?)