Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,781,289 Members 36,049 Now Online
XDA Developers Android and Mobile Development Forum

UART Pinout

Tip us?
 
Renate NST
Old
#11  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 794
Posts: 1,971
Join Date: Feb 2012
Location: Boston
Here's a really poor photo of my setup.
My next cell phone must have auto-focus and macro mode.
Attached Thumbnails
Click image for larger version

Name:	connector.jpg
Views:	691
Size:	113.3 KB
ID:	1556238  

The Following User Says Thank You to Renate NST For This Useful Post: [ Click to Expand ]
 
bisbal
Old
#12  
Member
Thanks Meter 7
Posts: 48
Join Date: Nov 2011
Excellent setup, especially for the ribbon cable! It seems something nice its going to happen in the next days
 
Renate NST
Old
(Last edited by Renate NST; 30th January 2014 at 04:32 PM.)
#13  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 794
Posts: 1,971
Join Date: Feb 2012
Location: Boston
Just a bit of an update.
If you want to do your own level shifting you've got access to two UARTs.
The MSP stuff is I2C to the MSP430 microprocessor that handles the touch screen.
You could eavesdrop on that and have a little multitouch pad.
I'm still trying to see which of the rest of the pins are for JTAG on U151.
The other 4 pins on U2713 are 3.3 level but don't come from the TXB0104 level shifter.

The Following User Says Thank You to Renate NST For This Useful Post: [ Click to Expand ]
 
Renate NST
Old
(Last edited by Renate NST; 31st January 2014 at 04:56 PM.) Reason: More pins found
#14  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 794
Posts: 1,971
Join Date: Feb 2012
Location: Boston
The JTAG stuff is apparently on the 22 pin, 0.5 mm pitch CON6.

 
Renate NST
Old
(Last edited by Renate NST; 19th July 2014 at 04:39 AM.)
#15  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 794
Posts: 1,971
Join Date: Feb 2012
Location: Boston
The four side buttons are on CON6 too.

The Following User Says Thank You to Renate NST For This Useful Post: [ Click to Expand ]
 
Renate NST
Old
#16  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 794
Posts: 1,971
Join Date: Feb 2012
Location: Boston
I've looked at this a bit and I've determined that using UART2 is a dead end.
The TXB0104 is neither powered nor enabled until late in the boot sequence.
Using the default UART1 is a much better choice.
Yes, you could modify things to use UART2 over UART1 but it's an uphill battle.

u-boot has a nice command interface where you can do lots of stuff (edited a bit):
Code:
Texas Instruments X-Loader 1.41 (Dec  7 2012 - 14:34:26)
Starting OS Bootloader from EMMC ...

U-Boot 1.1.4-carbon1.2_1.2.1.24^{} (Dec  7 2012 - 14:34:22)

OMAP3630-GP rev 2, CPU-OPP2 L3-165MHz
OMAP3621-Gossamer 1.2 Version + mDDR (Boot NAND)
DRAM:  256 MB
In:    serial
Out:   serial
Err:   serial
Hardware arch: GOSSAMER rev: EVT3
Power button is not pressed
pmic watchdog time 0
Power Button Active
gossamer charger init
Booting from eMMC

OMAP36XX GOSSAMER # help
?       - alias for 'help'
autoscr - run script from memory
base    - print or set address offset
battery   - gas gauge BQ27520 info
bdinfo  - print Board Info structure
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootm   - boot application image from memory
calc    - perform mathematical operation
charger   - charger BQ24073 info
clock   - Manage system clocks
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
date    - get/set/reset date & time
echo    - echo args to console
epd tests dspon dspoff image1 image2
exit    - exit script
fastboot- use USB Fastboot protocol
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
fatsave - save binary file to a dos filesystem
ggflash - flash bq27500 from .dffs script
go      - start application at address 'addr'
gpio   - set/display gpio pins
help    - print online help
ibatck  - used to track battery id
ibus    - Select i2c Bus
icrc32  - checksum calculation
iloop   - infinite loop on address range
imd     - i2c memory display
iminfo  - print header information for application image
imm     - i2c memory modify (auto-incrementing)
imw     - memory write (fill)
inm     - memory modify (constant address)
iprobe  - probe to discover valid I2C chip addresses
itest   - return true/false on integer compare
loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
md      - memory display
mm      - memory modify (auto-incrementing)
mmcinit - initialize mmc
mmc     - Read/write/Erase mmc
mspflash- used to flash a new msp430 firmware file
mtest   - simple RAM test
mw      - memory write (fill)
nm      - memory modify (constant address)
printenv- print environment variables
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv  - set environment variables
setenvmem  - set environment variable from memory
sleep   - delay execution for some time
test    - minimal test like /bin/sh
version - print monitor version
OMAP36XX GOSSAMER #

The Following User Says Thank You to Renate NST For This Useful Post: [ Click to Expand ]
 
Renate NST
Old
#17  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 794
Posts: 1,971
Join Date: Feb 2012
Location: Boston
Just adding the battery pinout to the diagram for completeness.
Attached Thumbnails
Click image for larger version

Name:	nookpinout.png
Views:	109
Size:	3.0 KB
ID:	2859089  

The Following 2 Users Say Thank You to Renate NST For This Useful Post: [ Click to Expand ]
 
bisbal
Old
#18  
Member
Thanks Meter 7
Posts: 48
Join Date: Nov 2011
Excellent! I recently bought a JTAG (http://www.ebay.co.uk/itm/Altera-FPG...item257fc5c582)

I will give it a go... is there anything you'd like me to do?

Cheers

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes