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 - SailingNut

1
Bus Pirate Support / Re: UART Bridge in 6.1 r1676
Unfortunately I couldn't really see any difference when printing on the screen. I think that it may be sending additional characters.

I will have to try it with a loop back when I have some time.

EDIT: I just thought about it. It is likely an issue with the .NET string being represented as Unicode. Testing will confirm.
2
Bus Pirate Support / Re: UART Bridge in 6.1 r1676
I was able to answer my own question!

It does maintain a different baud rate for the device under test.

It turns out that my program was having some issues. In .NET sending a string to the serial port like so:

Code: [Select]
            sp.Write("xffxd7");

 is different than sending as follows:
Code: [Select]
            byte[] cmd = { 0xff, 0xd7 };
            sp.Write(cmd, 0, 2);

Where sp is the serial port.
3
Bus Pirate Support / UART Bridge in 6.1 r1676
Hi all!

I've done a bunch of searching the forums and can't find an answer to my question.

What I want to know is when the BP is in UART bridge mode does the "device connection" (from the cable that I have attached to my device under test) retain it's previously set baud rate?

I have been able to use the terminal and manually send control codes to the LCD that I am working with, but when I enter UART bridge mode (using code that I wrote) sending the same commands fail to work properly.

TIA for any and all help!

( ! ) 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.01262300224session_write_close ( )...(null):0
20.01292431824ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01292432600Database_MySQL->query( ).../DatabaseHandler.php:119
40.05882571344Database_MySQL->error( ).../Db-mysql.class.php:273