And a little more on the FM Radio

by no2chem 18. April 2009 17:37

So, maybe my last post wasn’t that accurate – it looks like maybe commands were being sent; but the debug message wasn’t being printed. Nonetheless, I’ve identified the key difference between the first step of initialization on the Diamond and the Touch Pro:

CDMA Touch Pro:

00:00:00 [D:BT] [FM00:06:54:547] fmSendInitScript
00:00:00 [D:BT] [FM00:06:54:552] Send HCI opcode(fd37)+++
00:00:00 [D:BT] [FM]len:(1)
00:00:00 [D:BT] [FM]00
00:00:00 [D:BT] [FM00:06:54:553] Send HCI opcode(fd37)---
+sio_rs232_dm_transmit()
sio_rs232_dm_transmit 1
sio_rs232_dm_transmit 1
[BTU]sio_rs232_dm_transmit():send 5
sio_rs232_dm_transmit 3
3.sio_rs232_dm_transmit():uart_dm_imr=0x9
+Tx call dmov_transfer
-Tx call dmov_transfer
-sio_rs232_dm_transmit()


CDMA Diamond:

00:00:00 [D:BT] [FM00:02:40:644] fmSendInitScript
00:00:00 [D:BT] [FM00:02:40:647] Send HCI opcode(fd37)+++
00:00:00 [D:BT] [FM]len:(1)
00:00:00 [D:BT] [FM]0c
00:00:00 [D:BT] [FM00:02:40:647] Send HCI opcode(fd37)---
23:37:24 [D:BT] [BTU]SystemIdleTimerReset
+sio_rs232_dm_transmit()
sio_rs232_dm_transmit 1
sio_rs232_dm_transmit 1
[BTU]sio_rs232_dm_transmit():send 5
sio_rs232_dm_transmit 3
23:37:24 [D:BT] [BTU]SystemIdleTimerReset
3.sio_rs232_dm_transmit():uart_dm_imr=0x9
+Tx call dmov_transfer
-Tx call dmov_transfer
-sio_rs232_dm_transmit()

As to why the Diamond transmits 0x0c as its first byte while the Touch Pro transmits 0x0, I don’t know. I suppose it’s a pretty important difference though – maybe its reading from the wrong init script?

The next send is difference as well:

CDMA Touch Pro:

00:00:00 [D:BT] [FM00:06:54:727] fmSendInitScript
00:00:00 [D:BT] [FM00:06:54:728] Send HCI opcode(fd35)+++
00:00:00 [D:BT] [FM]len:(193)
00:00:00 [D:BT] [FM]00 00 00 00 00 10 00 01 35 fd c1 65 be 00 00 00 00 00 00 00 00 27 01 a0 02 99 01 a0 bb cc 00 03 00 05 01 a0 00 00 00 00 00 00 00 00 bb cc 00 06 bc 03 03 c1 be f0 02 61 36 03 03 43 bb cc 00 09 00 27 01 a0 00 00 00 00 80 00 00 f3 bb cc 00 0c a8 06 01 3c 32 44 00 ea 0a 00 01 52 bb cc 00 0f c6 00 02 23 d8 12 02 1d 4b 00 02 22 bb cc 00 12 80 0c 00 f2 d6 00 01 53 d8 16 02 1d bb cc 00 15 00 21 01 a0 f8 01 02 23 b8 03 03 c2 bb cc 00 18 3c 1b 03 c2 4d b4 02 70 c6 00 02 23 bb cc 00 1b e8 1e 02 1d de b4 02 61 00 1f 01 a0 bb cc 00 1e de b4 02 60 56 03 03 42 00 24 01 a0 bb cc 00 21 b8
00:00:00 [D:BT] [FM00:06:54:734] Send HCI opcode(fd35)---

CDMA Diamond:

00:00:00 [D:BT] [FM00:02:40:824] Send HCI opcode(fd35)+++
00:00:00 [D:BT] [FM]len:(193)
00:00:00 [D:BT] [FM]0c 20 0d ba 4c 7a fe 01 35 fd c1 65 be 00 00 00 00 00 00 00 00 27 01 a0 02 99 01 a0 bb cc 00 03 00 05 01 a0 00 00 00 00 00 00 00 00 bb cc 00 06 bc 03 03 c1 be f0 02 61 36 03 03 43 bb cc 00 09 00 27 01 a0 00 00 00 00 80 00 00 f3 bb cc 00 0c a8 06 01 3c 32 44 00 ea 0a 00 01 52 bb cc 00 0f c6 00 02 23 d8 12 02 1d 4b 00 02 22 bb cc 00 12 80 0c 00 f2 d6 00 01 53 d8 16 02 1d bb cc 00 15 00 21 01 a0 f8 01 02 23 b8 03 03 c2 bb cc 00 18 3c 1b 03 c2 4d b4 02 70 c6 00 02 23 bb cc 00 1b e8 1e 02 1d de b4 02 61 00 1f 01 a0 bb cc 00 1e de b4 02 60 56 03 03 42 00 24 01 a0 bb cc 00 21 b8
00:00:00 [D:BT] [FM00:02:40:829] Send HCI opcode(fd35)---

Anyway, I’ll have to figure out exactly why they’re different. Looking carefully, it looks like for whatever reason the first few bytes of the Touch Pro’s script is zero’d out --- the rest appears nearly identical. Which might be the crucial difference. Well, once I figure out, I’ll be sure to let you know.

Tags:

Comments


April 10. 2009 17:06 | Reply
cornelious2
I just checked that hex and after the first 7 numbers it is not just nearly identical.  It is in fact fully identical.  


United States Ruined 
April 11. 2009 01:02 | Reply
Ruined
Any chance this difference is coming from the BRF6350 init file, TIInit_5_3_53.bts, around line 3539 is what I believe is the device configuration(this is in the device specific config section). I have tried changing this to match the Diamonds TIInit_5_3_53.bts with no luck. But I'm not sure if this would require additional signing or if there are addition changes required.  


April 11. 2009 02:01 | Reply
no2chem
I believe this is actually coming from FM_on_2_1 (or something like that). There's two versions - one for version 2 chips and one for version 1 chips - we have a version 2 chip (Firmware 2.11?)


Canada John 
April 12. 2009 00:27 | Reply
John
no2chem

Do you know which version of the chip does the diamond uses?


April 12. 2009 04:30 | Reply
no2chem
they are both version 2 chips. I think the ELF uses a version 1 chip.


October 24. 2009 01:19 | Reply
tiffany jewelry
good


September 10. 2011 04:48 | Reply
discount north face jackets
http://www.discountnorthface.net
The North Face is offering a specialist in outdoor clothing


October 1. 2011 19:48 | Reply
camper boots
Shop shoes.com for a great selection of Camper shoes for men and women with free shipping and a 110% price guarantee!


October 4. 2011 22:26 | Reply
cheap moncler jacket
interesting post,please share us more


October 15. 2011 10:59 | Reply
tnfsiyuan
In order to approach to fashion, then turned into North Face Outlet Online Store which look like more stylish. For youngers, they prefer purchase money on moncler jackets, because it designed more fashion than north face jackets. North Face Outlet reduce using fluffy coating for the within that facilitates preserve normal method temperature.But for olders, they prefer north face jackets.


December 1. 2011 07:34 | Reply
websites designer
This is an awesome post, and you chose great topics for all of your posts in the blog. It has been a nice experience visiting your blog and I would like to return here for more new articles.

Add comment


(Will show your Gravatar icon)
Type If you can out:

  Country flag

biuquote
  • Comment
  • Preview
Loading



Disclaimer
Windows Mobile is a registered trademark of Microsoft Corporation in the United States and other countries.

Wei Enterprises is not affiliated in any way with Microsoft, HTC, Sprint, or any other wireless carrier/phone manufacturer otherwise mentioned on this site.

Copyright 2012 2009 Wei Enterprises