If anyone would like to move this along, we could use a program to talk to the UART device. This would be on COM* for windows or /dev/ttyUSB* for Linux. If someone would be so kind as to begin on this program, we can move along development with a full open source stack.
This method would work like this:
Device---UART-to-USB---computer
The UART-to-USB controller can be any device out there which can perform the communications. Some of the recommended devices would be "The Bus Pirate", "Android ADK"or "Arduino Mega". Both of these devices are capable of communicating over UART and both follow the "Open Hardware/Open Source" standards.
Here's what we need for a basic UART resurrector program.
A complete UART program would work the same, however it would bit-bang Rebello's HIBL into the serial device instead of 0's, then wait for 5 seconds and bit-bang a modified SBL into the COM Port. Or... just bitbang the modified SBL into the COM Port.
Of course we have all the details for USB-OTG, so if we can find the USB-OTG device, we can do it with existing methods. The problem is that we don't know where the USB-OTG device enumerates. So, the next best option is to use some open-hardware, open-source, cheap UART converters to upload software.
This method would work like this:
Device---UART-to-USB---computer
The UART-to-USB controller can be any device out there which can perform the communications. Some of the recommended devices would be "The Bus Pirate", "Android ADK"or "Arduino Mega". Both of these devices are capable of communicating over UART and both follow the "Open Hardware/Open Source" standards.
Here's what we need for a basic UART resurrector program.
Do wait for AA on com device
Send AA
loop1:
Do wait for AA or CC.
If AA send AA. Goto loop1
If CC send CC followed by 4 length bytes.
If get another CC send CC followed by 4 length bytes.
Then follow it with lots of 0x00
A complete UART program would work the same, however it would bit-bang Rebello's HIBL into the serial device instead of 0's, then wait for 5 seconds and bit-bang a modified SBL into the COM Port. Or... just bitbang the modified SBL into the COM Port.
Of course we have all the details for USB-OTG, so if we can find the USB-OTG device, we can do it with existing methods. The problem is that we don't know where the USB-OTG device enumerates. So, the next best option is to use some open-hardware, open-source, cheap UART converters to upload software.
Last edited: