Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - torwag

91
Bus Pirate Support / Re: how to reconnect after changing UART speed on PC side?
[quote author="ian"]
You procedure is:
1. setup UART
2. hit b and choose a PC-side baud rate
3. close terminal/reconfigure terminal for the new PC-side speed
4. connect again and hit space, but nothing happen
[/quote]

1. Check
2. Check
3. Check
4. Freeze
See output (not much to see)

HiZ>b                                                                                                                                                                 
Set serial port speed: (bps)                                                                                                                                         
 1. 300                                                                                                                                                               
 2. 1200                                                                                                                                                             
 3. 2400                                                                                                                                                             
 4. 4800                                                                                                                                                             
 5. 9600                                                                                                                                                             
 6. 19200                                                                                                                                                             
 7. 38400                                                                                                                                                             
 8. 57600                                                                                                                                                             
 9. 115200
10. BRG raw value

(9)>8
Adjust your terminal
Space to continue

I tried to press space before and after setting the speed. Basically as soon as I change the speed there is no response anymore, no echoing of key-presses too
If I reset (poweroff/poweron) the buspirate, I get key-press echo again for both wrong and right speed settings.
I tried other speeds as well with the same result

Bus Pirate v3a
Firmware v5.10 (r559)  Bootloader v4.3
DEVID:0x0447 REVID:0x3003 (24FJ64GA002 A3)

Hmmm can't see what I am doing wrong

Thanks for helping

Torwag
92
Bus Pirate Support / Re: how to reconnect after changing UART speed on PC side?
Hi BrentBXR,

thanks for the reply. Yep, indeed I read Taykens post. The difference between the Arduino and the AVR is simply the bootloader. Its looking for a bitstream via the serial connection right after an reset.
This is, it does not need an AVR programmer but only a simple serial connection.

I thing I can manage to get it running. In the "worst" case I switch over to the ICSP connector and use the buspirate as a AVR programmer as you mentioned in your post. However, I'm still curious why I can't access my serial terminal anymore after I changed the speed of the buspirate.

This has nothing do to with AVR, its simply my terminal is frozen after I change the speed.

Any ideas ?

Torwag
93
Bus Pirate Support / how to reconnect after changing UART speed on PC side?
Hi,

just was trying to use the buspirate  in transparent UART mode to program an Arduino which comes without USB interface (no USB serial bridge). I followed Ians description in a similar post.
As far as I understood, I have to enter UART mode, and make sure the buspirate is using the same speed on the PC side, the actual software (Arduino IDE or AVRdude) are using (using the "b" command). The buspirate tells me...
Please adjust your terminal settings
Press space to continue.

However, whatever I tried I was not able to reconnect. I can open the serial port, but there is no communication with the buspirate. No garbage, nothing, simply plain dead. There is even no echo of any key-press.

I used screen and minicom with no luck.
PB v3a is on the last firmeware-version 5.10 (IIRC)
Host is Arch Linux

Thanks for helping

Torwag

CC. I basically, do not see the reason why I have to change the speed twice. First I set it up for UART mode and then for the PC side. I can see some use for the terminal mode. However, as soon as someone starts the transparent macro, I would say there is no need for different speeds. Can't we simply set the PC-site datarate to whatever was selected in the UART mode within the macro? Guess this might be something many people trap into.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01352300016session_write_close ( )...(null):0
20.01392431640ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01392432416Database_MySQL->query( ).../DatabaseHandler.php:119
40.05832571176Database_MySQL->error( ).../Db-mysql.class.php:273