Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-18-2010, 10:33 PM   #1
blkhawk
Bit Wrangler
blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.
 
blkhawk's Avatar
 
Posts: 31
Karma: 93324
Join Date: Sep 2010
Device: Oasis
Lightbulb Kindle 3 serial plug designs

Hi,

I thought i might as well post the mechanical design I use for my Kindle serial plug since the other plug designs i have seen here do not contain the notch you need to insure a good connection with the 2 serial pins.

You can see why you need the notch when you take apart the socket the K3 has. I wish i had done that at the start because i had lots of headscrating moments why the damn plug would work one moment and not the next.

It also led me to discard a perfectly good sparkfun level converter as "broken".

Right now i use a Bus Pirate to interface the kindle.

To etch you need the following:

Etching solution (natriumpersulafte)
a single sided copper clad board (a really small piece of that board really)

a laserprinter
a page of *inkjet* glossy photo paper
an old toothbrush

print the .brd file with EAGLE in Black+White to the paper and iron it to the copper side of the board. The printout should look like the png I included.

use some warm running water and the toothbrush to remove the paper.

etch the board in the etching solution and then cut the board down like the one in the attached photo. Your board will also be probably too thick. you need to file it down by 1/3 if you have standard thickness board.

after that attach a suitable 1.8v serial adapter or level converter and enjoy.

-blkhawk

[ad] come to #kindle @ irc.freenode.net [/ad]
Attached Thumbnails
Click image for larger version

Name:	k3-adapter.png
Views:	1376
Size:	299 Bytes
ID:	58440   Click image for larger version

Name:	oldplug.jpg
Views:	2590
Size:	22.6 KB
ID:	58442  
Attached Files
File Type: zip k3-adapter.zip (2.5 KB, 1809 views)
blkhawk is offline   Reply With Quote
Old 09-20-2010, 08:32 PM   #2
dinkus
Junior Member
dinkus began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2010
Device: kindle 3
thanks blkhawk. Your method of etching sounds much easier than ones I've found online requiring UV lights and transparencies - that is, unless thats what you mean by "etch the board.."

To use the bus pirate for the serial port, how do you configure it? Based on reading I've done, seems like you need to use the open collector and UART mode and feed the bp a constant 1.8v source? Do you have an easy suggestion for the 1.8v beyond a bench supply?

As should be clear I have very little electronics experience. I see there's now a much easier way to hack the kindle 3 but this looks like a good way to learn and have some fun.
dinkus is offline   Reply With Quote
Old 09-20-2010, 08:41 PM   #3
Tiersten
Guru
Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.
 
Posts: 987
Karma: 8641
Join Date: Aug 2010
Device: Kindle 3G+WiFi
The laser printer toner method is good for small runs of reasonably simple PCBs but if you want to do more then you'd want to use photoresist and a mask with UV exposure.

The Kindle supplies 1.8V on one of the plug connectors. Picture here.

Last edited by Tiersten; 09-20-2010 at 08:43 PM.
Tiersten is offline   Reply With Quote
Old 09-21-2010, 12:58 AM   #4
blkhawk
Bit Wrangler
blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.
 
blkhawk's Avatar
 
Posts: 31
Karma: 93324
Join Date: Sep 2010
Device: Oasis
Quote:
Originally Posted by dinkus View Post
thanks blkhawk. Your method of etching sounds much easier than ones I've found online requiring UV lights and transparencies - that is, unless thats what you mean by "etch the board.."
no, I meant by etching put it in hot etching solution and stir it.

Quote:
Originally Posted by dinkus View Post
To use the bus pirate for the serial port, how do you configure it? Based on reading I've done, seems like you need to use the open collector and UART mode and feed the bp a constant 1.8v source? Do you have an easy suggestion for the 1.8v beyond a bench supply?
yes, start UART mode with "m3" then choose baudrate "9". the Rest of the settings are default. Enable pullup Resistors with "P" then Start the transparent UART Bridge mode with "(3)".
You can get the constant 1.8v directly from the kindle. the shortest pin on my mask has 1.xv on it.
blkhawk is offline   Reply With Quote
Old 05-29-2011, 05:44 PM   #5
yifanlu
Kindle Dissector
yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.
 
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
Sorry for bumping an old thread, but if anyone can make a plug for me (even better if an entire cable), I can pay them. I would love to have one for experimenting with the Kindle 3, but I don't have any of the materials to make one.
yifanlu is offline   Reply With Quote
Old 06-15-2011, 09:24 AM   #6
seaniko7
wannabe developer
seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.
 
seaniko7's Avatar
 
Posts: 192
Karma: 156548
Join Date: Mar 2011
Device: Kindle: 2xKeyboard, Classic, 2xTouch, 2xPW, PW2; Onyx: Boox M92
This one flies to you, yifanlu.
Attached Thumbnails
Click image for larger version

Name:	K3-plug.jpg
Views:	5407
Size:	393.0 KB
ID:	72810  
seaniko7 is offline   Reply With Quote
Old 06-15-2011, 11:05 AM   #7
yifanlu
Kindle Dissector
yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.
 
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
Quote:
Originally Posted by seaniko7 View Post
This one flies to you, yifanlu.
Thank you so much! Now I can do some of the kernel hacking that I wanted to do, but was afraid of bricking.
yifanlu is offline   Reply With Quote
Old 06-15-2011, 02:20 PM   #8
mark03
Enthusiast
mark03 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Jun 2011
Device: Kindle 3 wifi
At the risk of hijacking the thread, does anyone know if there are other serial interfaces available inside the Kindle 3?

The i.MX35 has three UARTs, and it's easy to find which balls the signals are on from the Freescale's tech docs, but I have no way of knowing if those balls are routed anywhere. Amazon's kernel is finding all three and assigning them ttymxc0, ttymxc1, and ttymxc2. Of course, the console getty process runs on ttymxc0.

I've thought of hooking up a GPS with serial output, but it seems pretty dangerous to disable the serial console for that purpose. It's the last line of defense if I do something stupid and need u-boot access. Looking at all those test points on the PCB, I wonder if some of them are ttymxc1 or ttymxc2? Anyone know?
mark03 is offline   Reply With Quote
Old 06-15-2011, 02:29 PM   #9
yifanlu
Kindle Dissector
yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.
 
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
Quote:
Originally Posted by mark03 View Post
At the risk of hijacking the thread, does anyone know if there are other serial interfaces available inside the Kindle 3?

The i.MX35 has three UARTs, and it's easy to find which balls the signals are on from the Freescale's tech docs, but I have no way of knowing if those balls are routed anywhere. Amazon's kernel is finding all three and assigning them ttymxc0, ttymxc1, and ttymxc2. Of course, the console getty process runs on ttymxc0.

I've thought of hooking up a GPS with serial output, but it seems pretty dangerous to disable the serial console for that purpose. It's the last line of defense if I do something stupid and need u-boot access. Looking at all those test points on the PCB, I wonder if some of them are ttymxc1 or ttymxc2? Anyone know?
Even if you disable the serial console in the kernel, it still works on the uBoot bootloader which allows you to upload a new kernel.
yifanlu is offline   Reply With Quote
Old 06-15-2011, 03:11 PM   #10
seaniko7
wannabe developer
seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.
 
seaniko7's Avatar
 
Posts: 192
Karma: 156548
Join Date: Mar 2011
Device: Kindle: 2xKeyboard, Classic, 2xTouch, 2xPW, PW2; Onyx: Boox M92
How about using usb serial interface, mark03 ?
seaniko7 is offline   Reply With Quote
Old 06-15-2011, 04:47 PM   #11
mark03
Enthusiast
mark03 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Jun 2011
Device: Kindle 3 wifi
@yifanlu, hey, good point! So I could disable the console in inittab and not really lose anything (I use ssh over usbnet)? Hopefully the u-boot output wouldn't confuse the freshly-started GPS module during boot.

@seaniko7, do you mean internally or externally? I am hoping to fit this inside the Kindle in the space normally occupied by the 3G card (I have the wifi-only model). I could potentially get USB from the mini-pcie connector pads, but usb-serial inside the case would add space and complexity.

I'm still curious about all those TPs. Wish someone would leak a schematic I'm looking for a good place to piggyback I2C also. (Leading contender thus far is the WM8960 codec.)
mark03 is offline   Reply With Quote
Old 06-15-2011, 05:18 PM   #12
seaniko7
wannabe developer
seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.
 
seaniko7's Avatar
 
Posts: 192
Karma: 156548
Join Date: Mar 2011
Device: Kindle: 2xKeyboard, Classic, 2xTouch, 2xPW, PW2; Onyx: Boox M92
@mark03, actually im talking about usb serial mode. You can access it just like usbnetwork. (/usr/sbin/usbserial)
seaniko7 is offline   Reply With Quote
Old 06-15-2011, 05:30 PM   #13
Matan
Enthusiast
Matan can spell AND pronounce 'liseuse.'Matan can spell AND pronounce 'liseuse.'Matan can spell AND pronounce 'liseuse.'Matan can spell AND pronounce 'liseuse.'Matan can spell AND pronounce 'liseuse.'Matan can spell AND pronounce 'liseuse.'Matan can spell AND pronounce 'liseuse.'Matan can spell AND pronounce 'liseuse.'Matan can spell AND pronounce 'liseuse.'Matan can spell AND pronounce 'liseuse.'Matan can spell AND pronounce 'liseuse.'
 
Posts: 42
Karma: 39432
Join Date: May 2011
Device: none
Quote:
Originally Posted by seaniko7 View Post
@mark03, actually im talking about usb serial mode. You can access it just like usbnetwork. (/usr/sbin/usbserial)
But in this mode the Kindle is a USB device, so it needs to connect to a USB host. It can't be used for connecting to peripherals such as a GPS module.
Matan is offline   Reply With Quote
Old 06-15-2011, 05:52 PM   #14
seaniko7
wannabe developer
seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.
 
seaniko7's Avatar
 
Posts: 192
Karma: 156548
Join Date: Mar 2011
Device: Kindle: 2xKeyboard, Classic, 2xTouch, 2xPW, PW2; Onyx: Boox M92
@Matan, uh you're right, but he can still use it to check bootup process after uBoot start.
seaniko7 is offline   Reply With Quote
Old 06-15-2011, 06:24 PM   #15
mark03
Enthusiast
mark03 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Jun 2011
Device: Kindle 3 wifi
Great. It's good to have options.

Still, it would be even better if the other two UARTs' txd/rxd were accessible on the board. We need some awesome Russians with needles!
mark03 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle DX-G serial console ebs Kindle Developer's Corner 53 12-03-2018 12:04 PM
Kindle 3 issues - what serial #? lvovsky Amazon Kindle 2 09-15-2010 10:20 PM
Kindle 3 serial numbers Tiersten Amazon Kindle 0 09-05-2010 10:01 AM
Kindle 1 slip case - Waterfield Designs crionox Amazon Kindle 5 02-13-2010 03:43 PM
Amazon may plug in-book advertising into Kindle Kris777 News 3 07-12-2009 07:52 PM


All times are GMT -4. The time now is 02:31 AM.


MobileRead.com is a privately owned, operated and funded community.