Forums - Hexagon StandAlone Application

14 posts / 0 new
Last post
Hexagon StandAlone Application
khushi.shah
Join Date: 15 Jun 15
Posts: 14
Posted: Wed, 2015-07-29 06:58

Hi,

       I want to build stand alone application which will execute on DSP. I can only see the build procedure of stand alone application in documentation but not about how to run on target?

  • Up0
  • Down0
jmay Moderator
Join Date: 11 Sep 13
Posts: 34
Posted: Wed, 2015-07-29 14:19

Please follow the calculator walkthrough in the Hexagon SDK:

/docs/calculator_android.html

  • Up0
  • Down0
khushi.shah
Join Date: 15 Jun 15
Posts: 14
Posted: Wed, 2015-07-29 22:26

Hi,

                  calculator example shows application building through rpc . Hexagon SDK supports stand alone  application building. So i am able to build  but not provided any way to run it on target testing.

  • Up0
  • Down0
jmay Moderator
Join Date: 11 Sep 13
Posts: 34
Posted: Thu, 2015-07-30 11:23

I'm not following the question, please elaborate.

In general, the calculator example will build an android app (stand alone) which will call via FastRPC to the DSP to do work.  The calculator walkthrough script will build both sides, push the components to target, and run the tests on target.

  • Up0
  • Down0
khushi.shah
Join Date: 15 Jun 15
Posts: 14
Posted: Thu, 2015-07-30 22:09

Refer this link so that question will be clear

https://developer.qualcomm.com/forum/qdn-forums/mobile-technologies/mult...

 

Refer this document

Hexagon Stand Alone Application

  • Up0
  • Down0
jmay Moderator
Join Date: 11 Sep 13
Posts: 34
Posted: Fri, 2015-07-31 11:06

I understand the question now, thanks.

Stand-alone applications are applications that run on the Hexagon Simulator only.  They run raw (you implement main()) and link with a standalone.a library that contains basic OS functinality to support your main() implementation (heap, file, etc...).

You can essentually run any code you want via FastRPC, why do you want to run stand-alone applications on the hardware?

- Jack

  • Up0
  • Down0
khushi.shah
Join Date: 15 Jun 15
Posts: 14
Posted: Fri, 2015-07-31 22:10

Is there any way to link  stand alone application to Fast rpc ?

 

  • Up0
  • Down0
jmay Moderator
Join Date: 11 Sep 13
Posts: 34
Posted: Mon, 2015-08-03 10:51

What use case are you trying to create?

  • Up0
  • Down0
khushi.shah
Join Date: 15 Jun 15
Posts: 14
Posted: Mon, 2015-08-03 21:49

 I want  to do multithreading on dragon board 410c. I have tried downscale example  . It is not working .

  • Up0
  • Down0
jmay Moderator
Join Date: 11 Sep 13
Posts: 34
Posted: Tue, 2015-08-04 08:55

Follow the qurt_multithread example in the Hexagon SDK 2.0

As for downscale:

- did you run tools/scripts/downby2_walkthrough.cmd?

- Is calculator_walkthrough.cmd working?

- are you using the latest build from intrinsyc?

- did you push the aDSP image from the SDK (images/...) to the board?

 

 

  • Up0
  • Down0
khushi.shah
Join Date: 15 Jun 15
Posts: 14
Posted: Tue, 2015-08-04 22:00

I have calculator example  and it is working.

I have  pushed  the aDSP image from the SDK  to the board. downscaleBy2 example  is build on host machine but when i tried to board init failed giving -1 error.Same thing i tried on SD600 also.

  • Up0
  • Down0
khushi.shah
Join Date: 15 Jun 15
Posts: 14
Posted: Wed, 2015-08-05 00:13

I am trying to launch thread from calculator_sum function in calculator example.

  • Up0
  • Down0
jmay Moderator
Join Date: 11 Sep 13
Posts: 34
Posted: Wed, 2015-08-05 10:26

Are you using the tools/scripts/downby2_walkthrough.cmd script to test downscaleBy2 example?

  • Up0
  • Down0
khushi.shah
Join Date: 15 Jun 15
Posts: 14
Posted: Wed, 2015-08-05 11:27
Ya I tried that . but it is not working for sd600 and 410c. Is there any way to do multi threading on 410c?
  • 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.