Quantcast
Channel: Processors forum - Recent Threads
Viewing all 17527 articles
Browse latest View live

[TDA4M] Is TIDL support the sparse convolution?

$
0
0

Hello.

Is the sparse convolution supported at TIDL(00.09.00)?

I can find out kernel type can be set TIDL_sparse when importing model with TIDL import tool.

Regards.


AM3352: MMC1 pinmux

$
0
0

Part Number: AM3352

Hi,

SDK:ti-sdk-am335x-evm-06.00.00.00-Linux-x86-Install.bin

The customer has a custom board. He want to connect emmc with mmc1. He has modified mux.c.

static struct module_pin_mux mmc1_pin_mux[] = {
        {OFFSET(gpmc_ad11), (MODE(2) | RXACTIVE | PULLUP_EN)},        /* MMC1_DAT3 */
        {OFFSET(gpmc_ad10), (MODE(2) | RXACTIVE | PULLUP_EN)},        /* MMC1_DAT2 */
        {OFFSET(gpmc_ad9), (MODE(2) | RXACTIVE | PULLUP_EN)},        /* MMC1_DAT1 */
        {OFFSET(gpmc_ad8), (MODE(2) | RXACTIVE | PULLUP_EN)},        /* MMC1_DAT0 */
        {OFFSET(gpmc_csn1), (MODE(2) | RXACTIVE | PULLUP_EN)},        /* MMC1_CLK */
        {OFFSET(gpmc_csn2), (MODE(2) | RXACTIVE | PULLUP_EN)},        /* MMC1_CMD */
        {OFFSET(gpmc_csn0), (MODE(7) | RXACTIVE | PULLUP_EN)},        /* MMC1_WP */
        {OFFSET(gpmc_advn_ale), (MODE(7) | RXACTIVE | PULLUP_EN)},        /* MMC1_CD */
        {OFFSET(mcasp0_aclkx), (MODE(6) | RXACTIVE| PULLUP_EN)},
        {-1},
};

configure_module_pin_mux(mmc1_pin_mux);

Then he execute below instruction but failed.

=> mmc dev 1

He found the programme crash in mmc_init_setup, he can not access any register of mmc1.

Does he need to configure mmc1 node in DTS?

TMS320DM8167: Power requirements

$
0
0

Part Number: TMS320DM8167

Hi Team,

Please help me answer the follow question from my customer, thank you so much.

1. What are the power requirements for TMS320DM8167?
    Are there any requirements regarding ripple voltage for each power supply used?
2. The TMS320DM8167 microcontroller requires a power supply sequence. I input 3.3V first. Is it possible that 3.3V will sneak into the 1.8V power supply?

Best Regards,
Tom Liu

CCS/AM5748: TMDSIDK574 power adapter

$
0
0

Part Number: AM5748

Tool/software: Code Composer Studio

I bought the TMDSIDK574, but the power adapter was not officially available.I have an am335x evm power adapter (output 5v 3A), can it be used in TMDSIDK574? If not, do I have to buy a power supply for 5V 4A? It's still 5vdc, no more than 6.5amp ?

TDA2EXEVM: What does the tidl_od_openvx usecase mean in PROCESSOR_SDK_VISION_03_07_00_00?

$
0
0

Part Number: TDA2EXEVM

Hi,

I found two more usecases of TIDL in the PROCESSOR_SDK_VISION_03_07_00_00 release.

What do these two usecases mean? I couldn't find any explanation for that. How do I configure these two instances to run on TDA2EXEVM?

thank you !

TCI6638K2K: DOME configuration influence communication between ARM and DSP

$
0
0

Part Number: TCI6638K2K

Dear colleague,

Our customers want to use the last configuration that places "HOST" in the back in ARM end. But if they use this configuration, ARM can't send data to DSP.

Because of their DSP configuration use the last configuration, and can't place "HOST " in the front in ARM, otherwise, it will influence DP library.

So how to change ARM configuration to achieve communication?

(Please ignore commas and comma formatting in the last configuration.)

Thanks a lot!

C:\ti\mcsdk_bios_3_00_03_15\demos\image_processing\ipc\evmtci6638k2k\slave

AM3358: I2C access from PRU

$
0
0

Part Number: AM3358

Gentlemen,

I am working on a BeagleBone Black whose PRU needs to collect data from 2 sensors: one via SPI, the other via I2C.
My BBB comes with a Debian 9.5. 

I use that distribution's "TI pru-software-support-package", which allows one to compile C-code for the PRU using "clpru" directly on the BBB.

This package includes a very handy header file called 
/usr/lib/ti/pru-software-support-package/include/am335x/sys_mcspi.h
It provides the entire register set for the McSPI, using structs and unions.

Could you please provide me with the corresponding file (or link) with the definitions for the I2C-peripheral's register space?

Much obliged, Borys

PROCESSOR-SDK-DRA7X: Error building meta-ros layer : meta-oe not configured

$
0
0

Part Number: PROCESSOR-SDK-DRA7X

I am trying to add meta-ros layer, to yocto project(yocto version rocko).

I downloaded meta-ros from git and added the path to bblayes.conf. 

Added the following line to yocto-layers/build/conf/local.conf:    += "packagegroup-ros-world"

I run the command './build-core-sdk.sh dra7xx-evm' from the folder "cd yocto-layers". But the build fails saying that Cannot include Eigen/core, which lies inside eigen3.

It seems meta-oe is not configured( as given below) and libeigen recipe is a part of meta-oe.

But meta-oe is added  in bblayers.conf

# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "7"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

# Layers configured by oe-core-setup script
BBLAYERS += " \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-arago/meta-arago-distro \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-arago/meta-arago-extras \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-browser \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-qt5 \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-openembedded/meta-networking \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-openembedded/meta-gnome \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-ti \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-linaro/meta-linaro-toolchain \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-linaro/meta-optee \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/oe-core/meta \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-openembedded/meta-python \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-openembedded/meta-oe \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-openembedded/meta-multimedia \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-ros \
"

----------------------------------------------------------------------------------------------------------------------------------------------------

[PSDKLA]> . conf/setenv
[PSDKLA]> cp conf/local.conf conf/local.conf.pristine
[PSDKLA]> MACHINE=dra7xx-evm bitbake tisdk-rootfs-image
NOTE: Started PRServer with DBfile: /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 32993, PID: 7659
Loading cache: 100% |#####################################################################################################| Time: 0:00:01
Loaded 4138 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: Multiple providers are available for runtime python-bson (python-bson, python-pymongo)
Consider defining a PREFERRED_RPROVIDER entry to match python-bson

Build Configuration:
BB_VERSION           = "1.36.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-14.04"
TARGET_SYS           = "arm-linux-gnueabi"
MACHINE              = "dra7xx-evm"
DISTRO               = "arago"
DISTRO_VERSION       = "2018.10"
TUNE_FEATURES        = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU           = "hard"
meta-arago-distro    
meta-arago-extras    = "HEAD:3ddc75f5cd3d432d84a9af9b583711bddc11fd4e"
meta-browser         = "HEAD:26d50665e2f7223c5f4ad7481a8d2431e7cb55fb"
meta-qt5             = "HEAD:d8b531530fa42b59aa0a5b123d87a30d749cbcc4"
meta-networking      
meta-gnome           = "HEAD:eae996301d9c097bcbeb8046f08041dc82bb62f8"
meta-ti              = "HEAD:d693f95bcb4b00cff41d3a07c7495f5cc50aa818"
meta-linaro-toolchain
meta-optee           = "HEAD:75dfb67bbb14a70cd47afda9726e2e1c76731885"
meta                 = "HEAD:8a2c177c7dad5c838b3c6abd3088a2bc3896a6a3"
meta-python          
meta-oe              
meta-multimedia      = "HEAD:eae996301d9c097bcbeb8046f08041dc82bb62f8"
meta-ros             = "master:7d24d8c960a7ae9eb65789395965e8f1b83b366e"

Initialising tasks: 100% |################################################################################################| Time: 0:01:04
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: eigen-conversions-1.11.9-r0 do_compile: Function failed: do_compile (log file is located at /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/eigen-conversions/1.11.9-r0/temp/log.do_compile.7760)
ERROR: Logfile of failure stored in: /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/eigen-conversions/1.11.9-r0/temp/log.do_compile.7760

compilation terminated.
| make[2]: *** [CMakeFiles/eigen_conversions.dir/src/eigen_kdl.cpp.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| In file included from /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/eigen-conversions/1.11.9-r0/geometry-1.11.9/eigen_conversions/src/eigen_msg.cpp:31:0:
| /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/eigen-conversions/1.11.9-r0/geometry-1.11.9/eigen_conversions/include/eigen_conversions/eigen_msg.h:46:10: fatal error: Eigen/Core: No such file or directory


------------------------------------------------------------

 Processor SDK Linux Automotive release on a Ubuntu host machine following the instructions from, http://processors.wiki.ti.com/index.php/DRA7xx_GLSDK_Software_Developers_Guide

The Processor SDK Linux Automotive installer is ti-processor-sdk-linux-automotive-dra7xx-evm-5.00.00.01-installer.bin.


TMS320C6748: Texas Instruments IMGLIB

CCS/TMS320C6748: Request an example code for TCP/IP SERVER

$
0
0

Part Number: TMS320C6748

Tool/software: Code Composer Studio

Hello

I need  an example code for TCP/IP SERVER.

Do you Provide an example code?

Thanks.

TDA2EVM5777: why (sizeof (gBoardTda2xxI2cInstData) / sizeof (Bsp_BoardI2cInstData))=1

$
0
0

Part Number: TDA2EVM5777

Hi,

I ues vsdk3.06  linux

  When I initialized with Board_init(); I only successfully initialized BSP_DEVICE_I2C_INST_ID_0, I found that pI2cData->numInst=1;

  pI2cData->numInst is assigned by (sizeof (gBoardTda2xxI2cInstData) / sizeof (Bsp_BoardI2cInstData)).

  I found (sizeof (gBoardTda2xxI2cInstData) / sizeof (Bsp_BoardI2cInstData))=1; why? Need to correct it there? I did not see this problem when I run vps_examples_captureVip on ccs alone.

Board_init():

 if (nIsI2cInitReq == (uint32_t) TRUE)
        {
            Vps_printf(" BOARD: I2c Init progress !!!\n");
            pI2cData = Bsp_boardGetI2cData();
            Vps_printf("pI2cData->numInst=%d\n",pI2cData->numInst);
            if (NULL == pI2cData)
            {
                Vps_printf(" BOARD: Bsp_boardGetI2cData() failed !!!\n");
                nStatus = SYSTEM_LINK_STATUS_EFAIL;
                break;
            }

            if (pI2cData->numInst > BSP_DEVICE_I2C_INST_ID_MAX)
            {
                Vps_printf(" BOARD: ERROR: I2C num instances exceeded "
                           "BSP_DEVICE_I2C_INST_ID_MAX !!!\n");
                nStatus = SYSTEM_LINK_STATUS_EFAIL;
                break;
            }

            if (NULL == pI2cData->instData)
            {
                Vps_printf(" BOARD: ERROR: I2C instance data is NULL  !!!\n");
                nStatus = SYSTEM_LINK_STATUS_EFAIL;
                break;
            }

            for (nInstCnt = 0u; nInstCnt <pI2cData->numInst ; nInstCnt++)//
            {
                pI2cInstData = &pI2cData->instData[nInstCnt];
                Vps_printf("pI2cInstData->instId=%d BSP_DEVICE_I2C_INST_ID_MAX=%d\n",
                            pI2cInstData->instId,BSP_DEVICE_I2C_INST_ID_MAX);
                if (pI2cInstData->instId > BSP_DEVICE_I2C_INST_ID_MAX)
                {
                    Vps_printf(" BOARD: ERROR: I2C num instances exceeded "
                               "BSP_DEVICE_I2C_INST_ID_MAX !!!\n");
                    nStatus = SYSTEM_LINK_STATUS_EFAIL;
                    break;
                }

                i2cInitParams[nInstCnt].opMode       = HSI2C_OPMODE_INTERRUPT;
                i2cInitParams[nInstCnt].isMasterMode = (uint32_t) TRUE;
                i2cInitParams[nInstCnt].is10BitAddr = (uint32_t) FALSE;
                i2cInitParams[nInstCnt].i2cBusFreq   =
                    (lld_i2c_busspeed) pI2cInstData->busClkKHz;
                i2cInitParams[nInstCnt].i2cIntNum     = pI2cInstData->intNum;
                i2cInitParams[nInstCnt].i2cOwnAddr    = 0xCC;
                i2cDevInitParams[nInstCnt].initParams = &i2cInitParams[nInstCnt];
                i2cDevInitParams[nInstCnt].hsi2c_sem  = BspOsal_semCreate(1, TRUE);
                i2cDevInitParams[nInstCnt].instId     = pI2cInstData->instId;
                Vps_printf("i2cDevInitParams[%d].instId=%d\n",nInstCnt,pI2cInstData->instId);
                Vps_printf("i2cInitParams[%d].i2cBusFreq=%d\n",nInstCnt,
                          (lld_i2c_busspeed) pI2cInstData->busClkKHz);

   
            }

            if (pI2cData->numInst > 0u)
            {              
                   nStatus = I2c_GlobalInit(pI2cData->numInst,
                    &i2cDevInitParams[0u]);
                if (SYSTEM_LINK_STATUS_SOK != nStatus)
                {
                    Vps_printf(" BOARD: ERROR: I2C Init failed!!!\n");
                    break;
                }
                else 
                {
                    Vps_printf(" BOARD: ok: I2C Init done!!!\n");
                    break;
                }
            }

(sizeof (gBoardTda2xxI2cInstData) / sizeof (Bsp_BoardI2cInstData))=1:

const Bsp_BoardI2cData *Bsp_boardGetI2cDataTda2xx(void)
{
   printf("(sizeof (gBoardTda2xxI2cInstData) / sizeof (Bsp_BoardI2cInstData))=%d\n",
        (sizeof (gBoardTda2xxI2cInstData) / sizeof (Bsp_BoardI2cInstData)));
   printf("sizeof (gBoardTda2xxI2cInstData)=%d sizeof (Bsp_BoardI2cInstData)=%d\n ",
            sizeof (gBoardTda2xxI2cInstData),sizeof (Bsp_BoardI2cInstData));
    return (&gBoardTda2xxI2cData);
}


static Bsp_BoardI2cInstData gBoardTda2xxI2cInstData[] =
{
#ifndef BSP_DISABLE_I2C0
    {
        BSP_DEVICE_I2C_INST_ID_0,           /* instId */
        SOC_I2C1_BASE,                      /* baseAddr */
        CSL_INTC_EVENTID_I2CINT1,           /* intNum */
        400U                                /* busClkKHz */
    },
#endif  /* #ifndef BSP_DISABLE_I2C0 */
#ifndef BSP_DISABLE_I2C1
    {
        BSP_DEVICE_I2C_INST_ID_1,           /* instId */
        SOC_I2C2_BASE,                      /* baseAddr */
        CSL_INTC_EVENTID_I2CINT2,           /* intNum */
        400U                                /* busClkKHz */
    },
#endif  /* #ifndef BSP_DISABLE_I2C1 */
#if defined (SOC_TDA2XX) || defined (SOC_TDA2PX) || defined (SOC_DRA75x) || defined (SOC_TDA2EX)
#ifndef BSP_DISABLE_I2C2
    {
        BSP_DEVICE_I2C_INST_ID_2,           /* instId */
        SOC_I2C3_BASE,                      /* baseAddr */
        CSL_INTC_EVENTID_I2CINT3,           /* intNum */
        400U                                /* busClkKHz */
    },
#endif  /* #ifndef BSP_DISABLE_I2C2 */
#if defined (TDA2XX_MC_BUILD)
    {
        BSP_DEVICE_I2C_INST_ID_4,           /* instId */
        SOC_I2C5_BASE,                      /* baseAddr */
        CSL_INTC_EVENTID_I2CINT4,           /* intNum */
        400U                                /* busClkKHz */
    },
#else
#ifndef BSP_DISABLE_I2C3
    {
        BSP_DEVICE_I2C_INST_ID_3,           /* instId */
        SOC_I2C4_BASE,                      /* baseAddr */
        CSL_INTC_EVENTID_I2CINT4,           /* intNum */
        400U                                /* busClkKHz */
    },
#endif  /* #ifndef BSP_DISABLE_I2C3 */
#endif
#endif

#if defined (SOC_TDA2PX)
#ifndef BSP_DISABLE_I2C4
    {
        BSP_DEVICE_I2C_INST_ID_4,           /* instId */
        SOC_I2C5_BASE,                      /* baseAddr */
        CSL_INTC_EVENTID_I2CINT5,           /* intNum */
        400U                                /* busClkKHz */
    }
#endif
#endif
};

static Bsp_BoardI2cData     gBoardTda2xxI2cData =
{
    /* numI2c */
   (sizeof (gBoardTda2xxI2cInstData) / sizeof (Bsp_BoardI2cInstData)),
    /* i2cData */
    gBoardTda2xxI2cInstData,
    /* probeInstId */
#if defined (SOC_TDA2PX)
    BSP_DEVICE_I2C_INST_ID_4,
#else
    BSP_DEVICE_I2C_INST_ID_1,
   // BSP_DEVICE_I2C_INST_ID_0,
#endif
};
typedef struct
{
    UInt32 instId;
    /**< I2C controller number. */
    UInt32 baseAddr;
    /**< I2C peripheral base address. */
    UInt32 intNum;
    /**< I2C Interrupt number. */
    UInt32 busClkKHz;
    /**< I2C bus clock in KHz. */
} Bsp_BoardI2cInstData;

Run result output:

[HOST] [IPU2  ]     19.659580 s:  BOARD: Board Init in progress !!!
 [HOST] [IPU2  ]     19.660068 s:  BOARD: Board Init Done !!!
 [HOST] [IPU2  ]     19.660129 s:  BOARD: I2c Init progress !!!
 [HOST] [IPU2  ]     19.660434 s: (sizeof (gBoardTda2xxI2cInstData) / sizeof (Bsp_BoardI2cInstData))=1
 [HOST] [IPU2  ]     19.660739 s: sizeof (gBoardTda2xxI2cInstData)=16 sizeof (Bsp_BoardI2cInstData)=16
 [HOST] [IPU2  ]     19.660830 s: pI2cData->numInst=1
 [HOST] [IPU2  ]     19.660891 s: pI2cInstData->instId=1 BSP_DEVICE_I2C_INST_ID_MAX=10
 [HOST] [IPU2  ]     19.661196 s: i2cDevInitParams[0].instId=1
 [HOST] [IPU2  ]     19.661318 s: i2cInitParams[0].i2cBusFreq=400
 [HOST] [IPU2  ]     19.661471 s:  BOARD: ok: I2C Init done!!!

 

Rebuild the demo of refresh-screen with th error: Makefile.build:10: recipe for target 'qmake' failed

$
0
0

Hi

all,i have installed the TI SDK of ti-processor-sdk-linux-am437x-evm-06.00.00.07 in ubuntu LTS 16.04.02 for my platform am4378.

rebuild the linux is OK like this:

make linux

NO ERROR.

but rebuilding the demo of refresh-screen encounter error  as follow:

=============================
Building Refresh Screen
=============================
make[1]: Entering directory '/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/example-applications/refresh-screen-2.0'
/bin/sh: 51: export: --sysroot: bad variable name
Makefile.build:10: recipe for target 'qmake' failed
make[1]: *** [qmake] Error 2
make[1]: Leaving directory '/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/example-applications/refresh-screen-2.0'
Makefile:147: recipe for target 'refresh-screen' failed
make: *** [refresh-screen] Error 2

what something i missed?

run export command in shell:

declare -x AR="arm-linux-gnueabihf-ar"
declare -x AS="arm-linux-gnueabihf-as"
declare -x CC="arm-linux-gnueabihf-gcc --sysroot=/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi"
declare -x CFLAGS=" -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi"
declare -x CLUTTER_IM_MODULE="xim"
declare -x COMPIZ_CONFIG_PROFILE="ubuntu"
declare -x CONFIGURE_FLAGS="--target=arm-linux-gnueabi --host=arm-linux-gnueabi --build=x86_64-linux --with-libtool-sysroot=/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi"
declare -x CONFIG_SITE="/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/site-config-armv7at2hf-neon-linux-gnueabi"
declare -x CPATH="/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include:"
declare -x CPP="arm-linux-gnueabihf-gcc -E --sysroot=/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi"
declare -x CPPFLAGS=" -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi"
declare -x CXX="arm-linux-gnueabihf-g++ --sysroot=/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi"
declare -x CXXFLAGS=" -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi"
declare -x DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-w9VDHtTHDh"
declare -x DEFAULTS_PATH="/usr/share/gconf/ubuntu.default.path"
declare -x DESKTOP_SESSION="ubuntu"
declare -x DISPLAY=":0"
declare -x GDB="arm-linux-gnueabihf-gdb"
declare -x GDMSESSION="ubuntu"
declare -x GDM_LANG="en_US"
declare -x GNOME_DESKTOP_SESSION_ID="this-is-deprecated"
declare -x GNOME_KEYRING_CONTROL=""
declare -x GNOME_KEYRING_PID=""
declare -x GPG_AGENT_INFO="/home/psuser/.gnupg/S.gpg-agent:0:1"
declare -x GTK2_MODULES="overlay-scrollbar"
declare -x GTK_IM_MODULE="ibus"
declare -x GTK_MODULES="gail:atk-bridge:unity-gtk-module"
declare -x HOME="/home/psuser"
declare -x IM_CONFIG_PHASE="1"
declare -x INSTANCE=""
declare -x JOB="dbus"
declare -x LANG="en_US.UTF-8"
declare -x LANGUAGE="en_US"
declare -x LD="arm-linux-gnueabihf-ld --sysroot=/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi"
declare -x LDFLAGS=" --sysroot=/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi"
declare -x LESSCLOSE="/usr/bin/lesspipe %s %s"
declare -x LESSOPEN="| /usr/bin/lesspipe %s"
declare -x LOGNAME="psuser"
declare -x LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:"
declare -x MANDATORY_PATH="/usr/share/gconf/ubuntu.mandatory.path"
declare -x NM="arm-linux-gnueabihf-nm"
declare -x OBJCOPY="arm-linux-gnueabihf-objcopy"
declare -x OBJDUMP="arm-linux-gnueabihf-objdump"
declare -x OECORE_ACLOCAL_OPTS="-I /home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/share/aclocal"
declare -x OECORE_DISTRO_VERSION="2019.05"
declare -x OECORE_NATIVE_SYSROOT="/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/x86_64-arago-linux"
declare -x OECORE_SDK_VERSION="2019.05"
declare -x OECORE_TARGET_SYSROOT="/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi"
declare -x OE_QMAKE_AR="arm-linux-gnueabihf-ar"
declare -x OE_QMAKE_CC="arm-linux-gnueabihf-gcc --sysroot=/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi"
declare -x OE_QMAKE_CFLAGS=" -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi"
declare -x OE_QMAKE_CXX="arm-linux-gnueabihf-g++ --sysroot=/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi"
declare -x OE_QMAKE_CXXFLAGS=" -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi"
declare -x OE_QMAKE_HOST_BINDIR_QT="/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/"
declare -x OE_QMAKE_INCDIR_QT="/usr/include/"
declare -x OE_QMAKE_LDFLAGS=" --sysroot=/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi"
declare -x OE_QMAKE_LIBDIR_QT="/usr/lib"
declare -x OE_QMAKE_LINK="arm-linux-gnueabihf-g++ --sysroot=/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi"
declare -x OE_QMAKE_MOC="/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/moc"
declare -x OE_QMAKE_PATH_HOST_BINS="/usr/bin"
declare -x OE_QMAKE_PREFIX_QT="/usr"
declare -x OE_QMAKE_QDBUSCPP2XML="/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/qdbuscpp2xml"
declare -x OE_QMAKE_QDBUSXML2CPP="/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/qdbusxml2cpp"
declare -x OE_QMAKE_QT_CONFIG="/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/usr/lib//mkspecs/qconfig.pri"
declare -x OE_QMAKE_RCC="/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/rcc"
declare -x OE_QMAKE_STRIP="echo"
declare -x OE_QMAKE_UIC="/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/uic"
declare -x OE_QMAKE_UIC3="/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/uic3"
declare -x OLDPWD="/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit"
declare -x PATH="/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/:/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabi:/usr/bin:/home/psuser/bin:/home/psuser/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/x86_64-arago-linux"
declare -x PKG_CONFIG_ALLOW_SYSTEM_LIBS="1"
declare -x PKG_CONFIG_PATH="/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/usr/lib/pkgconfig"
declare -x PKG_CONFIG_SYSROOT_DIR="/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi"
declare -x PS1="\\[\\e[32;1m\\][linux-devkit]\\[\\e[0m\\]:\\w> "
declare -x PWD="/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07"
declare -x QMAKESPEC="/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/usr/lib//mkspecs/linux-oe-g++"
declare -x QMAKE_DEFAULT_INCDIRS=""
declare -x QMAKE_DEFAULT_LIBDIRS=""
declare -x QT4_IM_MODULE="xim"
declare -x QT_ACCESSIBILITY="1"
declare -x QT_CONF_PATH="/usr/bin/qt.conf"
declare -x QT_IM_MODULE="ibus"
declare -x QT_LINUX_ACCESSIBILITY_ALWAYS_ON="1"
declare -x QT_QPA_PLATFORMTHEME="appmenu-qt5"
declare -x RANLIB="arm-linux-gnueabihf-ranlib"
declare -x REAL_MULTIMACH_TARGET_SYS="armv7at2hf-neon-linux-gnueabi"
declare -x SDK_PATH="/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit"
declare -x SDK_PATH_NATIVE="/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/x86_64-arago-linux"
declare -x SDK_PATH_TARGET="/home/psuser/ti-processor-sdk-linux-am437x-evm-06.00.00.07/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi"
declare -x SDK_SYS="x86_64-arago-linux"
declare -x SESSION="ubuntu"
declare -x SESSIONTYPE="gnome-session"
declare -x SESSION_MANAGER="local/ubuntu:@/tmp/.ICE-unix/1666,unix/ubuntu:/tmp/.ICE-unix/1666"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"
declare -x STRIP="arm-linux-gnueabihf-strip"
declare -x TERM="xterm-256color"
declare -x TOOLCHAIN_PREFIX="arm-linux-gnueabihf-"
declare -x TOOLCHAIN_SYS="arm-linux-gnueabihf"
declare -x UPSTART_SESSION="unix:abstract=/com/ubuntu/upstart-session/1000/1432"
declare -x USER="psuser"
declare -x VTE_VERSION="4205"
declare -x WINDOWID="18874612"
declare -x XAUTHORITY="/home/psuser/.Xauthority"
declare -x XDG_CONFIG_DIRS="/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg"
declare -x XDG_CURRENT_DESKTOP="Unity"
declare -x XDG_DATA_DIRS="/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop"
declare -x XDG_GREETER_DATA_DIR="/var/lib/lightdm-data/psuser"
declare -x XDG_MENU_PREFIX="gnome-"
declare -x XDG_RUNTIME_DIR="/run/user/1000"
declare -x XDG_SEAT="seat0"
declare -x XDG_SEAT_PATH="/org/freedesktop/DisplayManager/Seat0"
declare -x XDG_SESSION_DESKTOP="ubuntu"
declare -x XDG_SESSION_ID="c2"
declare -x XDG_SESSION_PATH="/org/freedesktop/DisplayManager/Session0"
declare -x XDG_SESSION_TYPE="x11"
declare -x XDG_VTNR="7"
declare -x XMODIFIERS="@im=ibus"

Thanks!

TDA2PXEVM: PSDK_3.5 WDR mode issue

$
0
0

Part Number: TDA2PXEVM

Hey,

I am using TDA2PXEVM with PSDK3.5 and an imx390 sensor.

I am trying to setup wdr mode (one or two pass) for the imx390 sensor.  When selecting wdr mode in iss settings and starting the standard ISSCAPTURE_ISP_SIMCOP_DISPLAY usecase I get an assertion:

To fix this I had to add the following lines in vpscore_isscommon.c(every line with Nico Hack was added by me):

After adjusting the pitch to the actual resolution of my sensor and setting wrDmaCtx[1U] = FALSE the usecase runs without problems in wdr mode.

I wonder why something like the pitch is hardcoded here, shouldn´t it be set by the sensor specifications?

Concerning the wrDmaCx, I added this line because in the call of Vps_Hal_isscalUpdateBufAdr(), the second if is TRUE ( so status = FVID2_EBADARGS, which is the cause of my assertion) in case I don´t set wrDmaCx[1] to FALSE, because it is otherwise filled with a number >= VPS_ISS_CAL_MAX_STREAMS.

Can you help me clarify some things here? I don´t really like my solution, it feels like a dirty hack.

best regards,

Nicolas Rausch

SYSBIOS: Illegal priority call to llEnter()

$
0
0

Part Number: SYSBIOS

Hello I am having issues with my software.

What I am trying to accomplish is add support for normal Ethernet via tthe AM335x build in PRUs (I already have Ethernet via CPSW running correctly). We have a board that has 2 fiber optics PHYs connected to the PRU MII interface. So I have taken the application that we have already running on our own board and started to add code from the TI example project (NIMU_ICSS_BasicExample_icev2AM335x_wSoCLib_armExampleproject) to my code. While adding the code, I can see that sometimes I get into a situation where I get the following on the debug output in CCS:

00000.500 llEnter: Illegal priority call to llEnter()

00000.506 llExit: Illegal call to llExit()

This does not seem to be related to things that I do in the code, there is some outside trigger causing this to happen and I don't know what it is.

What I have done to check that it is probably no my code that causes it, is the following:

  • From a point where I once again got the above message, I reverted back to the state of the software where I did not have this problem and nothing related to PRUs in my code
  • I ensured that my code was still running correctly and not giving me that message by cleaning the project, building it and running it on my target. Everything was working as it should work.
  • Then I started slowly adding code in 'baby steps'. After every step, I cleaned the project, then build it again and loaded it onto the target via the CCS environment. When loaded, I started the application and check that A) I did not get the message about priority and B) The software was still working correctly.
  • I kept on doing these 'baby steps' until I got to the point that nearly everyting was in my code. The only things missing were loading the PRUs with firmware (PRUICSS_pruWriteMemory) and enabling the PRUs again (PRUICSS_pruEnable)..
    Reaching this point still did not give me the 'Illegal priority' error message, 2 other things were broken though (my CPSW Ethernet interface no longer established a connection to my PC and I could no longer open the UART that we have connected to an RS-485 driver). This is something to look at later on, but not my issue for now.
  • At this point I turned off my board for a complete reset and then turned it on again. Next I started my 'Target configuration' again to connect to the board and then loaded the software (without any compiling/rebuilding -> so same binary) into the board again. However running the software now resulted in the above mentioned error message about 'Illegal priority'. And now I am unable to the software running again, rebuilding the software or restarting the hardware does not help.
  • From this point I will change back my code back to the starting position again, to find out when it will run again, but this is a time consuming process and I know that the 'illegal priority' error will pop-up again when I add PRU functionality.

So I have some questions:

  1. How is it possible that I get this error message ? Because it has nothing to do with any priority of any of my own tasks.
  2. Is it possible that the reset triggers something which caused my problem ? Or the better question might me, is it possible that my incremental building back up my software can somehow prevent this error from occuring, because there is something left behind in memroy ? And the hardware reset will ofcourse clear out the entire memory, so no settings are left behind.
  3. What can I do to prevent this issue ? Because what I have read about this error message is that it is caused by creating/running a task with a priority higher than allowed by the configuration in the .cfg file and since it is not one of my tasks, it is hard for me to change task priorities, as the tasks must be in the TI PDK.
    FYI, I have not set the maximum task priority level in my .cfg file, so it is at its default level.

My configuration is the following:

  • Code Composer Studio: Version: 8.2.0.00007
  • TI library versions:
    • EDMA3 low level driver 2.12.5
    • NDK 3.40.1.01
    • SYSBIOS 6.73.0.12
    • System Analyzer 2.30.1.02
    • am335x PDK 1.0.12
  • XDCtools version 3.50.7.20_core
  • Compiler: gcc-arm-none-eabi-6-2017-q1-update
  • Our board contains
    • an AM3356
    • DDR3 RAM
    • Flash for the bootloader
    • an SD-Card that normally contains the application, but it is now loaded by CCS
  • I am using an XDS200 debugger to interface with the hardware from CCS

Is there anyone that can help me resolve this ?

Kind regards,

   Han Hoekstra

AM5728: Loading "GPIO_LedBlink" test example firmware from Linux

$
0
0

Part Number: AM5728

Hi,

I managed to run "GPIO_LedBlink_idkAM572x_m4TestProject" example which is part of SDK RTOS. I used CCS and XDS100v2 debug probe (part of IDK AM5728).

Now I need to somehow take the .out binary file and load it from Linux at runtime (similarly to the procedure described in "mesageq02" example). Is the code ready for such an operation or does it require changing anything? What are the steps?

KIT: TI IDK AM5728

HOST: Ubuntu 16.04 LTS

Any help is appreciated

Filip


DRA71XEVM: DDR &EMMCproblem

$
0
0

Part Number: DRA71XEVM

hi  Team:

1. in the DRA71XEVM,The DDR use 4*8bit DDR3,if I use 2*16bit  DDR3 or  1*32bit  DDR3,Which is better performance?

2. if I use 2*16bit  DDR3,I can use Choose any one  for use?

3. The EMMC is Standard  for V4.5,it support for  Standard V5.0.V5.1 V4.4?

AM3359: SYSBOOT values change unexpectedly

$
0
0

Part Number: AM3359

Hi Everybody,

I have Connected SYSBOOT[7:0] pins of AM3359 to either pull-up to 3.3V with 100K or pulldown with 10K to GND as per boot requirement!

When I tried to "Connect Target" using XDS 100v2 in CCS,  the SYSBOOT registers gets red wrongly in tool !

It does not follow the external pull-up/pull down!

I went on randomly decreasing value of resistors for some pins, it ended up in fixing the issue temporarily: as detailed below

SYSBOOT[4] pin pulled HIGH (3.3V) directly (without 100K) and SYSBOOT[5] pin pulled DOWN (GND) without 10K

 

But, this will not be sufficient as I have multiplexed these pins with FPGA. So I need PULLUP/DOWN after AM335x boot is over.

 

Please help me to fix it without removingPULLUP/DOWN

 

Thanks,

Ganesh

Compiler/DRA745: vsdk: generate symbol error

$
0
0

Part Number: DRA745

Tool/software: TI C/C++ Compiler

I want to generate a struct. than link to a special section.

Do as below:

struct my_resource_table{
int a;
int b;

};

#pragma DATA_SECTION(ti_ipc_remoteproc_ResourceTable, ".resource_table")
struct my_resource_table ti_ipc_remoteproc_ResourceTable = {
2,3

};

add link: --retain=.resource_table

cmd file add: .resource_table: {} > RESOURCE  type = NOINIT

This can be found in obj file, but not found in map file.

obj log as below:

ubntu18:~/workspace_v9/m4/Debug$ readelf -S m4.obj | grep resour
[ 4] .resource_table PROGBITS 00000000 000064 000004 00 WA 0 0 2

ubntu18:~/workspace_v9/m4/Debug$ cat m4.map | grep res

We can found .resource_table in vsdk m4 image, So I need to add the .resource_table in my map file. Need your help to check why can not find .resource_table in map file. and how to add .resource_table in map file?

Widic

TDA4: MMA performance benchmarks

$
0
0

Question: Can something like max pooling or ReLU run on MMA and what would be the efficiency hit be relative to a c7x?  

PROCESSOR-SDK-DRA8X: need Jacinto 7 design document

$
0
0

Part Number: PROCESSOR-SDK-DRA8X

Where can I get DRA829J doucument?

  • datasheet, app notes
  • eval. board schematic, layout, sw package

Thanks

Max

Viewing all 17527 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>