0
rafaelSorel

uart over SD port.

Recommended Posts

Hello Guys , 

 

I have ordered Micro SD Card Breakout for Exporting UART and JTAG Pins to get serial output on the SD card port without making any welding on the box.

I have test it and it seems to work. The problem is that the output is some king of unreadable characters.

 

I don't know whether it is a config issue or something else ?

 

Does any one have used the UART over SD port ?

 

Thanks,

Share this post


Link to post
Share on other sites

Euuhh ??? SD Card slot doesn't have any UART and JTAG pins, it is either SPI or SDIO ...

Do you mean a breakout board that is using some SPI to UART bridge such SC16IS760 chip ?

In this case, your need to make sure that your kernel has this chip kernel driver built-in.

I've no idea about JTAG ...

 

Share this post


Link to post
Share on other sites

Depends on what SoC your tv box has and which pins the SD slot connect to.

Eg: If it were an old A20 chip, the SDC0 pins on port PF are shared with UART0 and JTAG

To switch the functionality of these pins you need the correct FEX/DeviceTree settings.

Share this post


Link to post
Share on other sites

Well it was a connector issue, I have changed connector and it worked like a charm, I have tested the device connector on S905, S905X and S905W with a success.

 

This is good news because we don't need anymore to weld any thing on the board to get a serial output, we could even setenv on u-boot without booting on android or even root it.

 

For those who are interested here is the link from where I have ordered the devices:

Micro-SD-Card-Breakout-for-Exporting-UART-and-JTAG

 

Have a nice uarting :)

Share this post


Link to post
Share on other sites
1 hour ago, rafaelSorel said:

I have tested the device connector on S905, S905X and S905W with a success.

I assume you had to use different pins for the S905, it appears they have TX on the D3 pin and RX on D2

A20's have RX and TX on D3 and CLK.

 

You'd need to update uboot to use the different uart though, wouldn't you?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
0