Forums - FAQ: Mini Diagnostic Monitor (Mini-dm.exe)

9 posts / 0 new
Last post
FAQ: Mini Diagnostic Monitor (Mini-dm.exe)
brianp
Join Date: 5 Dec 12
Posts: 41
Posted: Thu, 2013-10-10 18:48

1. What is mini-dm.exe?
   Mini-dm.exe is a mini diagnostic monitor provided to customers to display DSP diagnostic messages on Target.
 
2. How to use mini-dm.exe on Target?
   Hardware Requirements (Assumption : The target device is loaded with Metabuild already) :
     o Target Device.
     o USB Cable

   Software requirements
     o ADSP Image for debugging.
     o Android Drivers installed in the machine.     

   Steps To Run mini-dm.exe :
     a. After pushing DSP split binaries on target and connecting the device to computer via USB, open Device Manager in windows
     b. Look at the “Ports (COM & LPT)” entry. You should see an entry that has Qualcomm Diagnostics port it its name. Note that c
        com port. For example COM14
     c. Start audio pplayback on target device.
     d. Start mini-dm.exe like this:
         Open Command Prompt and navigate to bin folder respectively.
           For 8960 - cd lpass_proc\adsptest_cosim\bin
           For 8974 - cd adsp_proc\avs\aDSPSim\bin

         mini-dm.exe --comport <comm port from device manager>

         You should see diag output from the target almost immediately on the command prompt

     e. To enable color coding in diag output, use the following command
          mini-dm.exe --color 1 --comport <comm port from device manager>

3. How to use mini-dm.exe on Simulator?
   Software requirement :
     o ADSP image working with working version of Test Framework

   Steps to run mini.dm.exe :
     a. Open Command prompt and navigate to bin folder
        i.  For 8960 - cd lpass_proc\adsptest_cosim\bin
        ii. For 8974 - cd adsp_proc\avs\aDSPSim\bin
     b. Run mini-dm.exe from this session of command prompt
     c. Open a second command prompt window
        i.  For 8960 - cd lpass_proc\adsptest_cosim\
        ii. For 8974 - cd adsp_proc\avs\aDSPSim\

     d. Execute the following command
          adsptest-run.cmd --diag -dm-type 2
     e. Diagnostic messages will appear on command prompt
 

  • Up0
  • Down0
Eric Liang
Join Date: 5 Dec 13
Posts: 2
Posted: Wed, 2014-01-15 19:45

What about making my own DSP logs for mini-dm ?  How to ?

  • Up0
  • Down0
Kiran.Chandramohan
Join Date: 6 May 14
Posts: 9
Posted: Tue, 2015-03-31 12:08

Hi,

What do you mean by a Metabuild ? How do I know whether the target device is already loaded with the Metabuild ?

Also, in the Device Manager, I dont have an entry in Ports(COM & LPT) that says Qualcomm. However, in other devices there are 4 Android and an Unknown device lists. 

--Kiran

  • Up0
  • Down0
swaroop
Join Date: 28 Oct 15
Posts: 7
Posted: Tue, 2016-04-26 15:57

How can i obtain mini-dm.exe?

Thanks

  • Up0
  • Down0
Edith
Join Date: 16 Mar 16
Posts: 11
Posted: Wed, 2016-06-01 08:39

Note: In order to run mini-dm on VirtualBox you need to use USB1.0 ports.

  • Up0
  • Down0
kanyijr
Join Date: 7 Aug 13
Posts: 1
Posted: Tue, 2016-09-06 10:43

Mini-dm does not display FARF messages for the MDP 820 tablet.  Below is the procedure:-

-I installed Hexagon SDK 3.0 on Linux.

-Compiled and pushed the binary and library to the MDP 820 tablet..

-Run mini-dm

Mini-dm starts and displays the following output:-

~/Qualcomm/Hexagon_SDK/2.0/tools/mini-dm/Linux_Debug$ ./mini-dm 

Device found with Product ID 0x9039. Continuing...

 

mini-dm is waiting for a DMSS connection..
 
I also installed Hexagon SDK 3.0 on windows and tried mini-dm but got similar results.
 

I verified the that mini-dm worked and displayed FARF messages for the same binary compiled and run on the older DragonBoard™ 800 Development Kit.

Has anyone got mini-dm working on the MDP 820 tablet.?

thanks

 
 
  • Up0
  • Down0
ANN
Join Date: 21 Dec 16
Posts: 22
Posted: Mon, 2017-01-23 23:05
Hello,
 
I am using Hexagon SDK 2.0 on MSM8952 (snapdragon 617) device.
 
I am trying to get diagnostic messages generated by Hexagon DSP with mini-dm tool.  
 
~/Qualcomm/Hexagon_SDK/2.0/tools/mini-dm/Linux_Debug$ ./mini-dm
No devices found
 
but lsusb lists the device.
 
Please help me to resolve what is going wrong.
 
Thank you.
-Anuradha.
 
  • Up0
  • Down0
skunkoor
Join Date: 18 Aug 20
Posts: 2
Posted: Wed, 2022-10-19 00:56

I am not getting all the messages from ADSP proc, 
Can you help me?

Also it be great if you can point to any POC in qualcomm whom i can ask queries!


Thanks, 
Shruti K

  • Up0
  • Down0
skunkoor
Join Date: 18 Aug 20
Posts: 2
Posted: Wed, 2022-10-19 00:56

I am not getting all the messages from ADSP proc, 
Can you help me?

Also it be great if you can point to any POC in qualcomm whom i can ask queries!


Thanks, 
Shruti K

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.