Project Blacksphere Intro Hardware Nokia OS Software Debug Tracing Knok Linux MADos DCT3 lowlevel lib Sendcode Glossary of Terms Todo Credits Forum Guestbook

Debug Tracing

On popular demand I uploaded a proof of concept patch to the gammu 0.7.9 source code. It compiles cleanly under Linux (and and Windows VC6++ but see below under Compilation)

Short description

N*kia used a simple remote logging facility for debugging their DCT3 firmwares remotely, but forgot(?) to remove this when going into production. Hence, you can enable it with a simple *BUS command.

With debug tracing, you can trace the execution of the firmware almost everywhere, providing enormous amounts of information.

Download

Get it here:

Version 3 released 2003-11-10 Download

New in v3:

New in v2:

Compilation

It is no longer provided as patch, so you don't need to apply it, just extract.

Use 'make'. This is the only supported way right now.

You should be able to compile this under MS C++ by loading the .dsp file, but the wmx-* files in gammu/depend need to be added to the project. No guarantees, let me know if you have any luck.

Usage

The debug trace process is started with:

# gammu/gammu --nokiadebug nhm5_587.txt v20-25,v18-19

This will activate debug tracing of packet type 18-19 and 20-25 verbosely.

Packets will be printed to standard output. You can stop at any moment by pressing CTRL-C

An XML log of GSM L1/L2 packets will be written to out.xml when packet type 18-19 are enabled verbosely. This is for use with OpenGPA.

To enable only types 18 and 19 use:

# gammu/gammu --nokiadebug nhm5_587.txt v18-19

Documentation

There is not much documentation right now, only some source code comments, and of course my Debug Tracing section on this site

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.