Jun 29 2005, 09:04 AM
Post
#1
|
|
|
Group: Members Posts: 535 Joined: 7-March 04 Member No.: 2,195 |
Since I haven't yet read/seen any posts about success stories on the subj (except for someone who claimed he added a usb bt dongle, but didn't support it by any tech info/pics), I'm getting ready to perform a first surgery on my C1K. Time permitting, I hope to do it sometime next week (maybe on July 4th holiday weekend).
Here's a few thoughts I have on the subj: - There's a ffuart wired up to a port on the back of the C1K (so-called sharp i/o port) that has all modem control lines. I'm leaving it as a last resort (if everything else fails), since I want to retain it for rs232 comm. - There's a btuart in PXA270 that has CTS/RTS control lines, but it's unknown if Sharp traced it on PCB. I would guess that it would make sense to have it traced just in case, i.e. planning for future models with built-in BT, but with Sharp you never know... - Well, it leaves us with stuart that is wired up to IRDA transmitter/diode, but doesn't have any control lines, so hardware flow control is not possible. If btuart lines can't be traced, either rs232 or irda has to go. Personally, I don't use IRDA myself, so for me the choice is clear. But not having hardware flow control leaves us with a challange of fighting high interrupt latency of bloated Sharp's kernel to avoid fifo overruns. I took a look at Sharp's serial driver, and as usual with sharp it's ... well, not good. I had troubles with overruns even at modest speeds. Now, the good thing is that it;s Intel PXA270, not Sharp's proprientary hardware, so full tech specs are available. I spend a few hours on "unsharp'ing" the serial driver, so now it seems to run ok. I tested it @ 460800 and not getting overruns anymore. I still need to test it @ 921600 and implement suspend/resume hooks, maybe add some hooks to front LED to show activity, etc. Anyway, just thought it would be useful to have a dedicated thread where we all can share tech info and success stories. Please feel free to contribute... and I'll update you on status of my surgery. -albertr |
|
|
|
![]() |
Sep 1 2005, 07:19 AM
Post
#2
|
|
|
Group: Members Posts: 535 Joined: 7-March 04 Member No.: 2,195 |
What about stuart? In case you don;t need SIR.
-albertr |
|
|
|
Sep 1 2005, 09:01 AM
Post
#3
|
|
|
Group: Members Posts: 44 Joined: 31-October 04 From: Moscow,Russia Member No.: 5,286 |
QUOTE I believe the scoop is a proprientary Sharp's ASIC, so the datasheet most probably never would be published or made public. Yes it is an ASIC but by EPSON: http://www.eea.epson.com/go/Prod_Admin/Cat...ays.GA_SLA50000 This is a gate array and we probably will never know what sharp has putted into it. It is a pity. QUOTE What about stuart? In case you don;t need SIR. I'd better use FFUART since it have RTS/CTS lines. And stuart is such slow as ffuart is. |
|
|
|
Sep 1 2005, 12:18 PM
Post
#4
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
QUOTE(2x4ever @ Sep 1 2005, 06:01 PM) Yes it is an ASIC but by EPSON: http://www.eea.epson.com/go/Prod_Admin/Cat...ays.GA_SLA50000 This is a gate array and we probably will never know what sharp has putted into it. It is a pity. not necessarily.. it depends on how the gate array is programmed. if it's programmed by Epson, then we're out of luck. If it's a field programmable array and programmed on the board, then maybe just maybe Sharp don't protect the array so it could be read out again from its firmware. However, even if we did have the firmware file, it's a huge effort to reverse engineer the programmer's logic from it. sigh. |
|
|
|
Sep 1 2005, 12:26 PM
Post
#5
|
|
|
Group: Members Posts: 44 Joined: 31-October 04 From: Moscow,Russia Member No.: 5,286 |
QUOTE(speculatrix @ Sep 1 2005, 08:18 PM) not necessarily.. it depends on how the gate array is programmed. if it's programmed by Epson, then we're out of luck. If it's a field programmable array and programmed on the board, then maybe just maybe Sharp don't protect the array so it could be read out again from its firmware. However, even if we did have the firmware file, it's a huge effort to reverse engineer the programmer's logic from it. sigh. If i'm understanding a datasheet provided by epson right than it's programmed by Epson. I've just discovered that FFUART on my pxa250 is working very good at baud rates exceeding 230400. And that's strange because intel says allmost on every page of it's datasheet that you must not exceed this speed. Anyway i'll do more testing and if it will work stable enought than that will be a solution. |
|
|
|
Sep 1 2005, 01:25 PM
Post
#6
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
QUOTE(2x4ever @ Sep 1 2005, 09:26 PM) If i'm understanding a datasheet provided by epson right than it's programmed by Epson. it's unlikely then that the firmware can be recovered. :-( QUOTE I've just discovered that FFUART on my pxa250 is working very good at baud rates exceeding 230400. And that's strange because intel says allmost on every page of it's datasheet that you must not exceed this speed. Anyway i'll do more testing and if it will work stable enought than that will be a solution. I'd be concerned that this could damage the drivers in the long run, or simply cause overheating in localised hotspots on the CPU and damage it. I presume from your comments that you've successfully connected a BT module to your SL-C700. What module did you use, and do you have photos of how you connected it? Paul This post has been edited by speculatrix: Sep 1 2005, 01:26 PM |
|
|
|
Sep 1 2005, 02:02 PM
Post
#7
|
|
|
Group: Members Posts: 44 Joined: 31-October 04 From: Moscow,Russia Member No.: 5,286 |
QUOTE(speculatrix @ Sep 1 2005, 09:25 PM) I'd be concerned that this could damage the drivers in the long run, or simply cause overheating in localised hotspots on the CPU and damage it. I don't think so. I don't think that increasing speed of a couple of transistors can cause any overheating of the CPU even in localised hotspots. A CPU core isn't located just in the air. It's contained in a package that among other things is distributing a heat over the whole CPU. And since this CPU was not made using 90 nm tehnology not even 130 nm it has a big reserve for overheating. And i've not seen any rising temp. Anyway i'm still testing. QUOTE(speculatrix @ Sep 1 2005, 09:25 PM) I presume from your comments that you've successfully connected a BT module to your SL-C700. What module did you use, and do you have photos of how you connected it? I'm using USB Bluetooth Class 1 dongle from Billionton. http://2x4ever-vpn.compot.ru/zaurus/pics/dongle-zaurus.jpg I'll post some more images if you want. |
|
|
|
Sep 1 2005, 03:03 PM
Post
#8
|
|
|
Group: Members Posts: 535 Joined: 7-March 04 Member No.: 2,195 |
QUOTE(2x4ever @ Sep 1 2005, 05:02 PM) I'm using USB Bluetooth Class 1 dongle from Billionton. http://2x4ever-vpn.compot.ru/zaurus/pics/dongle-zaurus.jpg I'll post some more images if you want. I thought that Class 1 device would eat battery faster than Class 2 because of transmit power? Also peak power load is suppoosed to be higher. Where you woud attach that huge antenna? How fast you are able to run your ffuart? I'm getting 460800 on C1K ffuart (pxa270), but having problems @ 921600. -albertr |
|
|
|
Sep 1 2005, 03:31 PM
Post
#9
|
|
|
Group: Members Posts: 44 Joined: 31-October 04 From: Moscow,Russia Member No.: 5,286 |
QUOTE(albertr @ Sep 1 2005, 11:03 PM) I thought that Class 1 device would eat battery faster than Class 2 because of transmit power? Also peak power load is suppoosed to be higher. Yes i know(My tester shows 75 ma peak power load), but i like it QUOTE(albertr @ Sep 1 2005, 11:03 PM) Where you woud attach that huge antenna? I'll cut this plastic antenna cover out.QUOTE(albertr @ Sep 1 2005, 11:03 PM) How fast you are able to run your ffuart? I'm getting 460800 on C1K ffuart (pxa270), but having problems @ 921600. 921600 is working but i've not tested it with high traffic yet. |
|
|
|
Sep 1 2005, 03:55 PM
Post
#10
|
|
|
Group: Members Posts: 535 Joined: 7-March 04 Member No.: 2,195 |
QUOTE(2x4ever @ Sep 1 2005, 06:31 PM) 921600 is working but i've not tested it with high traffic yet. Very interesting... I assume that's with the serial driver from Sharp's 2.4.18 kernel? And with BCSP protocol (no hardware flow control)? -albertr |
|
|
|
Sep 1 2005, 04:05 PM
Post
#11
|
|
|
Group: Members Posts: 44 Joined: 31-October 04 From: Moscow,Russia Member No.: 5,286 |
|
|
|
|
Sep 1 2005, 04:29 PM
Post
#12
|
|
|
Group: Members Posts: 17 Joined: 16-August 04 Member No.: 4,302 |
QUOTE(2x4ever @ Sep 2 2005, 12:05 AM) QUOTE(albertr @ Sep 1 2005, 11:55 PM) QUOTE(2x4ever @ Sep 1 2005, 06:31 PM) 921600 is working but i've not tested it with high traffic yet. Very interesting... I assume that's with the serial driver from Sharp's 2.4.18 kernel? And with BCSP protocol (no hardware flow control)? -albertr Right. It looks very interesting. Can you write a guide how to do it? Or take a bit more pictures... I didn't understand, do you have any power control on your bluetooth now, or not? Thanks. Mikhail |
|
|
|
Sep 1 2005, 04:40 PM
Post
#13
|
|
|
Group: Members Posts: 44 Joined: 31-October 04 From: Moscow,Russia Member No.: 5,286 |
QUOTE(mikekostousov @ Sep 2 2005, 12:29 AM) It looks very interesting. Can you write a guide how to do it? Or take a bit more pictures... I didn't understand, do you have any power control on your bluetooth now, or not? Thanks. Mikhail I'll write a guide when i finish. There is nothing to write about for now. I'll provide some more pictures tomorrov (4:35:40 AM here and i'm going to sleep). The only power control i have for now is cutting wires |
|
|
|
Sep 1 2005, 05:15 PM
Post
#14
|
|
|
Group: Members Posts: 17 Joined: 16-August 04 Member No.: 4,302 |
QUOTE(2x4ever @ Sep 2 2005, 12:40 AM) I'll write a guide when i finish. There is nothing to write about for now. I'll provide some more pictures tomorrov (4:35:40 AM here and i'm going to sleep). I am now... I am falling to sleep... QUOTE(2x4ever @ Sep 2 2005, 12:40 AM) The only power control i have for now is cutting wires It's not so bad idea But, by the way, is it possible to use same gpio which are used for the Zaurus syncronization cable? I don't know much about it, but I think an ability... May be, you can use this? For example, if zaurus are in connection with computer there is no ability to change bluetooth power (it can be turned on - if you have Zaurus in the connection, so, perhaps you also have a power supply pluged in), but, when you have cable unpluged you can change power on the bluetooth... You can also take power from synchronization cable... To albert: Why you didn't want to create in your C1000 small usb hub and use it for usual usb connection with a usb bluetooth dongle? Mikhail |
|
|
|
albertr Stuffing Serial Bluetooth Module Inside C1k Casing Jun 29 2005, 09:04 AM
albertr Here's an output of running a serial BT module... Jun 29 2005, 09:18 AM
speculatrix way to go, Albert, good luck!
could you use t... Jun 30 2005, 04:51 AM
euroclie QUOTE(speculatrix @ Jun 30 2005, 02:51 PM)cou... Jun 30 2005, 05:12 AM
albertr C1K has two LEDs, both are software controlled, AF... Jun 30 2005, 05:17 AM
daniel3000 QUOTE(albertr @ Jun 30 2005, 03:17 PM)As far ... Jun 30 2005, 11:55 PM
speculatrix Here's a discussion I started, which floundere... Jun 30 2005, 02:05 PM
albertr I think doing 860 would be even more challenging t... Jun 30 2005, 04:55 PM
speculatrix QUOTE(albertr @ Jul 1 2005, 01:55 AM)I think ... Jun 30 2005, 10:23 PM
daniel3000 QUOTE(albertr @ Jul 1 2005, 02:55 AM)It looks... Jun 30 2005, 11:59 PM
Boris QUOTE(albertr @ Jul 1 2005, 06:55 AM)It looks... Jul 1 2005, 12:54 AM
speculatrix QUOTE(Boris @ Jul 1 2005, 09:54 AM)Nope, I... Jul 1 2005, 04:21 AM
albertr The backlight mod that you did is pretty cool. Com... Jul 1 2005, 04:52 AM
daniel3000 QUOTE(albertr @ Jul 1 2005, 02:52 PM)As far a... Jul 6 2005, 11:02 PM
Da_Blitz i am still intrested in the internal usb ports tha... Jul 1 2005, 07:35 PM
albertr Sorry, was busy with other projects last weekend..... Jul 6 2005, 04:54 PM
abegaza i like the idea here, but let me get a few things ... Jul 25 2005, 11:16 PM
polito I'm definitely interesting in what comes of al... Jul 29 2005, 11:07 PM
2x4ever Albertr at HPC.RU wrote:
QUOTEBTW, how did you ma... Aug 31 2005, 06:51 AM
albertr Thanks for sharing your experience! Now I see ... Aug 31 2005, 07:39 AM
2x4ever QUOTEThanks for sharing your experience! Now I... Aug 31 2005, 08:24 AM
albertr QUOTEYou may try to trace it another way: take dev... Aug 31 2005, 09:24 AM
2x4ever Any of BTUART pins can be used as usualy GPIO pins... Aug 31 2005, 09:40 AM
albertr Ahh, right! Sorry, I completely overlooked tha... Aug 31 2005, 12:17 PM
2x4ever QUOTE(albertr @ Aug 31 2005, 08:17 PM)Ahh, ri... Sep 1 2005, 06:43 AM

2x4ever It would be interesnting to fetch a datasheer for ... Sep 1 2005, 06:55 AM
speculatrix QUOTE(albertr @ Aug 31 2005, 09:17 PM)Ahh, ri... Sep 1 2005, 07:04 AM
2x4ever QUOTEah, apparently the 255 has 30% lower power co... Sep 1 2005, 07:24 AM
speculatrix http://repair4pda.org/disassembly_sharp.html Sep 1 2005, 07:05 AM
albertr I believe the scoop is a proprientary Sharp's ... Sep 1 2005, 07:18 AM
albertr QUOTE(mikekostousov @ Sep 1 2005, 08:15 PM)Wh... Sep 1 2005, 05:59 PM
2x4ever Sh*t. My bluetooth dongle is just sudenly stopped ... Sep 2 2005, 10:50 AM
albertr Ugh... In case you will be looking for a Class 2 d... Sep 2 2005, 11:48 AM
2x4ever Sorry, Albert, i don't know why but i can... Sep 2 2005, 12:38 PM
2x4ever I've bought the same billionton class 1 dongle... Sep 2 2005, 12:58 PM
albertr Yeah, BC2-Ext are getting hard to come by, since i... Sep 2 2005, 01:12 PM
2x4ever QUOTE(albertr @ Sep 2 2005, 09:12 PM)Yeah, BC... Sep 2 2005, 01:27 PM
2x4ever I've just bought a new NONAME dongle. I was un... Sep 3 2005, 05:47 AM
albertr It looks close to BC2-Ext reference design, but no... Sep 3 2005, 07:53 AM
2x4ever QUOTE(albertr @ Sep 3 2005, 03:53 PM)It looks... Sep 3 2005, 07:55 AM
albertr QUOTE(2x4ever @ Sep 3 2005, 10:55 AM)Yes, i... Sep 3 2005, 08:36 AM
2x4ever I have another porblem. After switching it to BCSP... Sep 3 2005, 08:05 AM
albertr QUOTE(2x4ever @ Sep 3 2005, 11:05 AM)I have a... Sep 3 2005, 08:44 AM
2x4ever QUOTE(albertr @ Sep 3 2005, 04:44 PM)Do you m... Sep 3 2005, 08:50 AM
albertr I don't use pskeys, but I believe it could be ... Sep 3 2005, 09:42 AM
2x4ever QUOTE(albertr @ Sep 3 2005, 05:42 PM)I don... Sep 3 2005, 10:43 AM
2x4ever Ok. I figured out. At the first look (internet sit... Sep 3 2005, 10:54 AM
albertr Correction: there're 17 soldering pads on the ... Sep 3 2005, 11:04 AM
2x4ever zharit' shashlik - is great All other things ... Sep 3 2005, 11:14 AM
albertr Here's the pics of DELL Truemobile 350 module ... Sep 3 2005, 05:54 PM
Da_Blitz Cant wait to see this working so i can do it mysel... Sep 4 2005, 05:01 PM
2x4ever I've contacted with an official Dell distribut... Sep 5 2005, 03:12 AM
mikekostousov QUOTE(2x4ever @ Sep 5 2005, 11:12 AM)I've... Sep 5 2005, 04:55 AM
2x4ever QUOTE(mikekostousov @ Sep 5 2005, 12:55 PM)QU... Sep 5 2005, 05:22 AM
mikekostousov QUOTE(2x4ever @ Sep 5 2005, 01:22 PM)QUOTE(mi... Sep 5 2005, 05:39 AM
mikekostousov For example:
http://www.maxim-ic.com/quick_view2.c... Sep 5 2005, 05:43 AM

2x4ever QUOTE(mikekostousov @ Sep 5 2005, 01:43 PM)Fo... Sep 5 2005, 06:12 AM
speculatrix QUOTE(mikekostousov @ Sep 5 2005, 02:39 PM)By... Sep 5 2005, 05:45 AM
albertr QUOTE(speculatrix @ Sep 5 2005, 08:45 AM)Sudd... Sep 5 2005, 06:17 AM
speculatrix QUOTE(albertr @ Sep 5 2005, 03:17 PM)QUOTE(sp... Sep 5 2005, 01:14 PM
albertr If BCSP protorol is used, then I don't believe... Sep 5 2005, 06:26 AM
2x4ever QUOTE(albertr @ Sep 5 2005, 02:26 PM)If BCSP ... Sep 5 2005, 06:35 AM
albertr Umm, I wasn't thinking about using the same se... Sep 5 2005, 06:45 AM
2x4ever QUOTE(albertr @ Sep 5 2005, 02:45 PM)Umm, I w... Sep 5 2005, 06:58 AM
speculatrix QUOTE(2x4ever @ Sep 5 2005, 03:58 PM)QUOTE(al... Sep 5 2005, 08:32 AM
2x4ever QUOTE(speculatrix @ Sep 5 2005, 04:32 PM)QUOT... Sep 5 2005, 09:05 AM
mikekostousov QUOTE(2x4ever @ Sep 5 2005, 05:05 PM)QUOTE(sp... Sep 5 2005, 10:14 AM
2x4ever QUOTE(mikekostousov @ Sep 5 2005, 06:14 PM)Ok... Sep 5 2005, 10:21 AM
2x4ever The whole schematic should be a somthing like this... Sep 5 2005, 11:00 AM
mikekostousov QUOTE(2x4ever @ Sep 5 2005, 07:00 PM)The whol... Sep 5 2005, 12:40 PM
albertr Ahh, now I see what you are saying... Sorry, I mis... Sep 5 2005, 03:38 PM
Da_Blitz try typing ledctl on your command line, should giv... Sep 5 2005, 07:09 PM
speculatrix I came across an advert for a company who sell emb... Sep 6 2005, 04:18 AM
2x4ever QUOTE(speculatrix @ Sep 6 2005, 12:18 PM)I ca... Sep 6 2005, 05:25 AM
albertr Can your friend's friend help with getting a h... Sep 6 2005, 05:07 AM
speculatrix QUOTE(albertr @ Sep 6 2005, 02:07 PM)Can your... Sep 6 2005, 05:38 AM
mikekostousov QUOTE(speculatrix @ Sep 6 2005, 01:38 PM)QUOT... Sep 7 2005, 12:25 PM
speculatrix not had a response from my contact, but he tends t... Sep 9 2005, 04:58 AM
speculatrix sorry, still no news Sep 12 2005, 04:15 AM
albertr Just got news from CSR (Thanks, Miguel!) - The... Sep 12 2005, 10:47 AM
2x4ever albertr, i need your help
It's seems that you... Sep 13 2005, 09:32 AM
Da_Blitz any one know if there is a second usb port with tr... Sep 12 2005, 07:03 PM
albertr Umm... weird. Is it in BCSP mode? Can you see if k... Sep 13 2005, 10:02 AM
2x4ever QUOTE(albertr @ Sep 13 2005, 06:02 PM)Umm... ... Sep 13 2005, 10:07 AM
2x4ever By the way: i've tried your desharpised serial... Sep 13 2005, 10:11 AM
albertr If you didn't solder it to ffuart, how about r... Sep 13 2005, 10:17 AM
2x4ever QUOTE(albertr @ Sep 13 2005, 06:17 PM)If you ... Sep 13 2005, 10:27 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 21st May 2013 - 07:04 PM |