Advertisement
Guest User

Untitled

a guest
Aug 4th, 2011
976
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.14 KB | None | 0 0
  1. 3 Mobile Broadband Dongle - ZTE MF627 USB Modem
  2.  
  3. Hardware
  4. ========
  5.  
  6. Chip Function
  7. ---- --------
  8. MSM6246 Main CPU
  9. RTR6285 3G Tranceiver with GPS
  10. SAMSUNG K5D1258AC8-D075 Combination NAND flash and SDRAM, unknown size
  11. 7M5012 Power amplifier (Quad-band GSM)
  12. AVAGO ACPM-7381 Power amplifier (UMTS 2100MHz)
  13. PM6658 Power controller
  14.  
  15. Operation
  16. =========
  17.  
  18. Upon first connection the device appears as a USB storage CDROM device. This CD
  19. contains the drivers for Windows and Linux. To switch the modem in to a normal
  20. mode use usb_modeswitch package with the following config:
  21.  
  22. --- begin switch-zte.conf ---
  23. ########################################################
  24. # ZTE MF628+ (tested version from Telia / Sweden)
  25. #
  26. # Contributor: Joakim Wennergren
  27. #
  28. # Also applies to MF627 (Tested 3 UK) JF
  29.  
  30. DefaultVendor= 0x19d2
  31. DefaultProduct= 0x2000
  32.  
  33. TargetVendor= 0x19d2
  34. TargetProduct= 0x0031
  35.  
  36. MessageEndpoint=0x01
  37. MessageContent="55534243123456782000000080000c85010101180101010101000000000000"
  38. --- end switch-zte.conf ---
  39.  
  40. Then: sudo usb_modeswitch -c switch-zte.conf
  41.  
  42. It also may be possible to get the same result by sending a SCSI eject command.
  43.  
  44. Now the modem will reregister on USB. You should see three USB serial devices
  45. and the USB storage will still appear. You should have:
  46.  
  47. /dev/ttyUSB0 Diagnostic port
  48. /dev/ttyUSB1 NMEA port (not really NMEA)
  49. /dev/ttyUSB2 Modem port
  50.  
  51. Ports 1 and 2 respond to AT commands, port 0 is silent. Port 1 is called the
  52. NMEA port by Windows driver but does not seem to really do NMEA - maybe it can
  53. be enabled?
  54.  
  55. You can permanently disable the CD autorun mode with the AT+ZCDRUN=8 command.
  56. Other things you can do with that command:
  57.  
  58. AT+ZCDRUN=4 Query autorun state: 1=Open/On 0=Close/Off
  59. AT+ZCDRUN=8 Close autorun state (CD mode off)
  60. AT+ZCDRUN=9 Open autorun state (CD mode on)
  61.  
  62. AT+ZCDRUN=E Enter download mode
  63. AT+ZCDRUN=F Exit download mode
  64.  
  65. When "AT+ZCDRUN=8" both modem and CD appear on USB. When in download mode, CD
  66. device will never appear.
  67.  
  68. Other values output some version strings:
  69.  
  70. AT+ZCDRUN=A 3Connect 1.1.0 BL 62:3Connect 1.1.0 BL 62
  71. AT+ZCDRUN=B 3Connect Version 2.5.3(86 r66):3Connect Version 2.5.3(86 r66)
  72. AT+ZCDRUN=C 3UK_PC_LinuxUIV1.0.0B10:3UK_PC_LinuxUIV1.0.0B09
  73. AT+ZCDRUN=D 3UK_UK_P673A4V1.0.0B08
  74.  
  75. Flashing
  76. ========
  77.  
  78. Firstly, flashing did not work for me. It fails at "skip to armprg.bin"
  79. armprg.bin looks like a second stage flash program to be uploaded and run on
  80. the modem.
  81.  
  82. When you run the FlashUpdater.exe the firmware files are extracted to:
  83. C:\Program Files\Windows Service\MF626newversion
  84.  
  85. And this is what you get:
  86.  
  87. Size Name What
  88. ---- ---- ----
  89. 40 amsshd.mbn ?
  90. 13809070 amss.mbn Main firmware (ARM LSB ELF)
  91. 81064 armprg.bin Second stage flash tool
  92. 12141568 efs.mbn Software install CD ISO + header
  93. 40 oemsblhd.mbn ?
  94. 211420 oemsbl.mbn ?
  95. 464 partition.mbn ?
  96. 1337 qcsblhd_cfgdata.mbn ?
  97. 45211 qcsbl.mbn ?
  98. 61440 ResetUSB.dll Used to force reenumeration of device
  99.  
  100. Disassembly
  101. ===========
  102.  
  103. The top of the case (with "3" printed on it) is attached to the green part by
  104. two screws at the end nearest the USB connector. To open, go in by the memory
  105. card slot and unclip the far end of the top casing. Go around and carefully
  106. unclip all the clips but the top won't come off yet because of the screws.
  107. The plastic SIM card punch-out is useful for this.
  108.  
  109. Now you have the top part-way off, look at the far end, and find the large black
  110. clip holding the bottom black casing on. Lever it with a screw driver to open
  111. up a crack and then unclip all around with the credit card.
  112.  
  113. Once the bottom case is off you will see the screws. Undo those and the top will
  114. come off.
  115.  
  116. Test Points
  117. ===========
  118.  
  119. With the case off you should see some test points near the USB connector:
  120.  
  121. A B C D E F G H I
  122. O O O O O O O O O
  123. J K L M
  124. o o o o
  125. N
  126. o
  127. O P Q R S
  128. o o o o o
  129. \_________/
  130. | |
  131. | || || |
  132. |_______|
  133.  
  134. Readings:
  135. --------
  136. A GND
  137. B 0v
  138. C 0v
  139. D 2.53v
  140. E 2.53v
  141. F 2.53v
  142. G 0v
  143. H 2.6v - resets device if shorted/pulled low
  144. I GND
  145.  
  146. J 4.8v
  147. K 0v
  148. L 0v
  149. M 0v
  150.  
  151. N GND
  152.  
  153. O 3.88v
  154. P 3.88v
  155. Q 0v
  156. R 0v
  157. S 0.22v
  158.  
  159. AT Commands
  160. ===========
  161.  
  162. AT+CLAC outputs this list:
  163.  
  164. &C
  165. &D
  166. &E
  167. &F
  168. &S
  169. &V
  170. &W
  171. E
  172. I
  173. L
  174. M
  175. Q
  176. V
  177. X
  178. Z
  179. T
  180. P
  181. \Q
  182. \S
  183. \V
  184. %V
  185. D
  186. A
  187. H
  188. O
  189. S0
  190. S2
  191. S3
  192. S4
  193. S5
  194. S6
  195. S7
  196. S8
  197. S9
  198. S10
  199. S11
  200. S30
  201. S103
  202. S104
  203. +FCLASS
  204. +ICF
  205. +IFC
  206. +IPR
  207. +GMI
  208. +GMM
  209. +GMR
  210. +GCAP
  211. +GSN
  212. +DR
  213. +DS
  214. +WS46
  215. +CBST
  216. +CRLP
  217. +CV120
  218. +CHSN
  219. +CSSN
  220. +CREG
  221. +CGREG
  222. +CFUN
  223. +GCAP
  224. +CSCS
  225. +CSTA
  226. +CR
  227. +CEER
  228. +CRC
  229. +CMEE
  230. +CGDCONT
  231. +CGDSCONT
  232. +CGTFT
  233. +CGEQREQ
  234. +CGEQMIN
  235. +CGQREQ
  236. +CGQMIN
  237. +CGEREP
  238. +CGPADDR
  239. +CGDATA
  240. +CGCLASS
  241. +CGSMS
  242. +CSMS
  243. +CMGF
  244. +CSAS
  245. +CRES
  246. +CSCA
  247. +CSMP
  248. +CSDH
  249. +CSCB
  250. +FDD
  251. +FAR
  252. +FCL
  253. +FIT
  254. +ES
  255. +ESA
  256. +CMOD
  257. +CVHU
  258. +CSQ
  259. +ZRSSI
  260. +CBC
  261. +CPAS
  262. +CPIN
  263. +CMEC
  264. +CKPD
  265. +CGATT
  266. +CGACT
  267. +CGCMOD
  268. +CPBS
  269. +CPBR
  270. +ZCPBR
  271. +ZUSIM
  272. +CPBF
  273. +CPBW
  274. +ZCPBW
  275. +CPMS
  276. +CNMI
  277. +CMGL
  278. +CMGR
  279. +CMGS
  280. +CMSS
  281. +CMGW
  282. +CMGD
  283. +CMGC
  284. +CNMA
  285. +CMMS
  286. +CHUP
  287. +CCFC
  288. +CCUG
  289. +COPS
  290. +CLCK
  291. +CPWD
  292. +CUSD
  293. +CAOC
  294. +CACM
  295. +CAMM
  296. +CPUC
  297. +CCWA
  298. +CHLD
  299. +CIMI
  300. +CGMI
  301. +CGMM
  302. +CGMR
  303. +CGSN
  304. +CNUM
  305. +CSIM
  306. +CRSM
  307. +CCLK
  308. +CLVL
  309. +CMUT
  310. +CLCC
  311. +COPN
  312. +CPOL
  313. +CPLS
  314. +CTZR
  315. +CTZU
  316. +CLAC
  317. +CLIP
  318. +COLP
  319. +CDIP
  320. +CTFR
  321. +CLIR
  322. $QCSIMSTAT
  323. $QCCNMI
  324. $QCCLR
  325. $QCDMG
  326. $QCDMR
  327. $QCDNSP
  328. $QCDNSS
  329. $QCTER
  330. $QCSLOT
  331. $QCPINSTAT
  332. $QCPDPP
  333. $QCPDPLT
  334. $QCPWRDN
  335. $QCDGEN
  336. $BREW
  337. $QCSYSMODE
  338.  
  339. Grepping the firmware amms.mbn shows these commands:
  340.  
  341. +ZDON
  342. +ZSNT
  343. +ZPINPUK
  344. +ZBANDI
  345. +ZSTOPT
  346. +ZSTART
  347. +ZPAS
  348. +ZSMSD
  349. +ZNVR
  350. +ZINFO
  351. +ZDIAG
  352. +ZCDRUN
  353. +ZVN
  354. +ZOPRT
  355. +ZCIN
  356. +ZSPD
  357. +ZPCB
  358. +ZSNT
  359. +ZRST
  360. +CLVL
  361. +CMUT
  362. +VTS
  363. +ZDET
  364. +CMVL
  365. +ZECC
  366. +ZSTM
  367. +ZSELI
  368. +ZSELM
  369. {o
  370. +ZBK
  371. up
  372. +ZINPR
  373. +ZINKR
  374. Wr
  375. +ZDISTR
  376. +ZSEC
  377. +ZNCK
  378. (0,1)
  379. SM
  380. DC
  381. FD
  382. LD
  383. MC
  384. ME
  385. RC
  386. EN
  387. ON
  388. (3)
  389. (72,73,74,96,97,98)
  390. IP
  391. PPP
  392. IPV6
  393. ("IP","PPP","IPV6")
  394. &+
  395. +CSQ
  396. +ZRSSI
  397. +CBC
  398. +CPAS
  399. +CPIN
  400. `*
  401. X*
  402. +CMEC
  403. x@
  404. +CKPD
  405. P+
  406. D+
  407. +CGATT
  408. ,*
  409. D
  410. +CGACT
  411. 8*
  412. #D
  413. +CGCMOD
  414. [,D
  415. +CPBS
  416. t<
  417. +CPBR
  418. +ZCPBR
  419. +ZUSIM
  420. +CPBF
  421. +CPBW
  422. +ZCPBW
  423. +CPMS
  424. x<
  425. +CNMI
  426. +CMGL
  427. +CMGR
  428. +CMGS
  429. +CMSS
  430. +CMGW
  431. +CMGD
  432. +CMGC
  433. +CNMA
  434. +CMMS
  435. +FTS
  436. l=
  437. +FRS
  438. p=
  439. +FTH
  440. t=
  441. +FRH
  442. x=
  443. +FTM
  444. |=
  445. +FRM
  446. p(
  447. +CHUP
  448. {C
  449. +CCFC
  450. "!
  451. p*
  452. +CCUG
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement