This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ping example in userspace-dspbridge sample code

Hello, folks.

 

I'm trying to understand the dspbridge application structure using userspace-dspbridge sample code.

 

When I retrieve the code using git and tried the pre-compiled binaries on my beagleboard-XM, it works fine. (I tested with ping example)

However, when I build the code to generate my own binaries, it does not work properly. The followings are the output I get.

/workspace/devel/dsp/dspbridge_hl1oap$ sudo ./cexec.out ddspbase_tiomap>
DSP device detected !!
DSPProcessor_Start succeeded.
Hit any key to terminate cexec.

/workspace/devel/dsp/dspbridge_hl1oap$ sudo ./ping.out               
DSP device detected !!
DSPNode_Create failed: 0xffffffe3

Is there anybody who can help me with finding out what the returned value exactly means? I tried to find the right header file defining them, but failed.

 

FYI, the followings are contents of my product.mak file

# DSP BIOS
SABIOS_VER   = 5.33.04
SABIOS_VER_2 = 5_33_04

# CodeGen Tools
CGT55_VER = 3.2.2
# hl1oap
CGT6X_VER = 7.2.2

# Framework components
FC_VER = 1_10_04

# ---- Build targets ----
#

# define default targets that we need to build for
# this variable can be overriden from the command line to build only a subset
# of the targets.
XDCTARGETS = C64P

#define default tests for the Bridge DSP side test suite build
TESTBUILDTYPE = ALL

#define default Framework components package availability
FC_PACKAGE = TRUE

#define Load Monitor module
L_MONITOR = TRUE

#define DVFS module
SCALING = TRUE

#define INST2 module
INST2 = FALSE

And the kernel I used for the BB is 2.6.38.2-x1 which is from Robert Nelson's repository.

 

Ilkyoung.