Project Blacksphere Intro Hardware 331x/3330 ARM DSP Code Blocks Shared Mem GSM MDI MDI locals (send) MDI types (receive) MDI types (send) Memory Map Phone models Peripherals Nokia OS Software Glossary of Terms Todo Credits Forum Guestbook

MDI locals (send)

These are subtypes of MDI send type 0x70.
Nokia calls these 'locals' for some reason, but it are mostly debug measurement and security commands.
The 'type' here is the first octet of the MDI packet. Length and offsets are including this byte.

Type Size Description
01 6 Do reads from Cobba 3 words: 0x01XX 0xYYYY 0xZZAA

XX is command code, a value between 0x00-0x04 (0x04 is 'read cobba register')
YYYY is parameter
ZZ is number of 'samples' in one packet
AA is 0x01 (number of times?)
02 Unk. Do writes to Cobba
04 2 Set monitoring flag This bitfield can also be set via FBUS (packet 0xF4/0x00)
00000100 Disable MDI from MCU to DSP
00001000 Enable serial MDI sniff
00100000 Do not sniff MDI types 0x50, 0x9C
01000000 Do not sniff MDI types 0x05, 0x9A, 0x4D
0A 2 Get value Parameter:
0x0A Get dsp version
0B 2 Something with audio path Parameter always 0x00
0D 2 Test aliveness Parameter = 0x00
Replies with MDI 0x74/0x0D, with initialisation result:
0x00 means succesful
0x01 means Cobba serial I/O rest error
0x02 means Cobba parallel (register) I/O test error
0E 2 Something with audio path Parameter always 0x00
10 2 Set debug flag Parameter is bitfield
11000000 Measure AFC
11 2 Local mode Parameter:
0x00 Request codeblock 0x0D
0x00 Request codeblock 0x0E
12 2 Sleep mode
13 6 Set MSID Creates encoded MSID(From flash chk4+cobba4+sig3+random1)
It replies with Local MDI 0x74/0x34 (Size 0x10)
0x00 2b   0x340E (subtype 0x34, subsize 0x0E)
0x02 2b    0x0083
0x04 4b    Flash chk
0x08 4b    Cobba ID
0x0C 2b   0xACAD
0x0E 2b   0xABxx (where xx is random from pa13)
14 14 Set FAID Decodes/checks the encoded FAID
15 22 Set IMEI Decodes/checks the encoded IMEI and store in RAM
16 26 Set SIML Decodes/checks the encoded SPLOCK(2x12 bytes) from EEPROM

Last updated: 2005-02-21 14:19

This site is the result of a great deal of assembly code reading, research, countless (mostly futile) searches for data sheets, cross-referencing and analysing. If you use this information in any way please mention wumpus <blacksphere@goliath.darktech.org> (and others in the credits section) in the credits of your program/document. And tell me :) If you have more information please contribute. If you just copy this, stick your name on it and call it yours I hope you get your genitals bitten off by a three headed monkey. Have a nice day.

No mobile phones were harmed in the production of this site.