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

TDA3XEVM: TDA3x EVE simulator on Windows, RuntimeLibrary error

$
0
0

Part Number: TDA3XEVM

Hi All.

I have a problem to build EVE simulator.

My Visual Studio version is 2017 and SDK version is PROCESSOR_SDK_RADAR_03_07_00_00.

I did all steps defined in: eve_software_getting_stared.pdf, but while compilation i got the next error:

"algframework.lib(bam_utils.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug'".

I followed the next suggestion, from forum history, but it doesn't help.

The suggestion is:

"Change Line 156 :
COMPILER_FLAGS += /EHsc /TP /W0 /DHOST_EMULATION /c /nologo /Ox /D_NDEBUG /MT /Gm /Zi /D_HOST_BUILD /D_HAS_ITERATOR_DEBUGGING=0 /D_ITERATOR_DEBUG_LEVEL=0

to

COMPILER_FLAGS += /EHsc /TP /W0 /DHOST_EMULATION /c /nologo /Ox /D_NDEBUG /MD /Gm /Zi /D_HOST_BUILD /D_HAS_ITERATOR_DEBUGGING=0 /D_ITERATOR_DEBUG_LEVEL=0

Change Line 160 :
COMPILER_FLAGS += /EHsc /TP /W0 /DHOST_EMULATION /c /nologo /Od /D_DEBUG /MTd /Gm /Zi /RTC1 /D_HOST_BUILD

to

COMPILER_FLAGS += /EHsc /TP /W0 /DHOST_EMULATION /c /nologo /Od /D_DEBUG /MDd /Gm /Zi /RTC1 /D_HOST_BUILD"

Please help to solve with current issue.

Best regards,

Sergey.

P.S

my make rules files in attachment(Please visit the site to view this file)


MCASP3 can't generate DMA interrupt

$
0
0

Hi Sir,

Processor is DRA78X,PDK is 4.3.05.

We use MCASP3 as rx,mcasp1 as tx in our project,both them use DSP1 EDMA, mcasp1 tx can generate edma callback generate,but mcasp3 rx can't generate edma callback.

I attach the mcasp3/dsp1 irq/dsp1 edma registers,please help us to check it.

Best Regards,

He Weibing

(Please visit the site to view this file)

DRA76P: DRA76P: HDMI Display inverted color

$
0
0

Part Number: DRA76P

Hi,

Using SDK 3.02  with prebuild android 8.1.1 :

We are trying to boot Android on a custom board based on DRA76P with HDMI display only:

Display OK but color are inverted :

hdmi0: connector@1 {
compatible = "hdmi-connector";
label = "hdmi";

type = "a";
port {
hdmi_connector_in: endpoint {
remote-endpoint = <&hdmi_out>;
};
};
};


&dss {
status = "ok";
vdda_video-supply = <&ldo5_reg>;

ports {
#address-cells = <1>;
#size-cells = <0>;

status = "disabled";

port@lcd3 {
reg = <2>;

dpi_out3: endpoint {
data-lines = <24>;
};
};
};
};

&hdmi {
//vdda-supply = <&ldo1_reg>;
vdda-supply = <&vio_1v8>;

port {
hdmi_out: endpoint {
remote-endpoint = <&hdmi_connector_in>;
};
};
};

Do you know how to fix HDMI colors issue ?

Regards,

Chokri 

CCS/IWR1642BOOST: Clustering/Tracking/Classification code ?

$
0
0

Part Number: IWR1642BOOST

Tool/software: Code Composer Studio

Hello,

I want to develop an application to do object classification with the IWR1642BOOST.

I read documentations about clustering and tracking to understand how it works.

I need the functions codes (clustering and tracking, for classification I'll do it on my own) to see in detail how it's implemented but I have never found any functions codes in demos like people counting or traffic monitoring.

Where can I find these codes ?

PS : I have already read other topics and it says (in 2017 or 2018) that the new release will contain this code. But I think it will be later.

Thanks.

TDA3MV: Interrupts for Dual Clock Comparator (DCC) on TDA3MV

$
0
0

Part Number: TDA3MV

Hello,

I have configured Dual Clock Comparator (DCC) on TDA3x to generate DCCx_IRQ_ERROR (x:1-7) to generate interrupts in case of clock drifts.
is connected to IRQ_CROSSBAR_234 (and so forth) which is not mapped by default to any device INTC. I have mapped them to IPU_IRQ_60  (and so forth) on my system. 

Using the sysbios apis I configuring the hwi in my system. Code snipnet as below


Hwi_Params hwiParams;
Hwi_Params_init(&hwiParams);
hwiParams.enableInt = false;
hwiParams.maskSetting = Hwi_MaskingOption_SELF;

m_hwiHandle = Hwi_create(60, &DssIsr, &hwiParams, NULL);

UINT32 isNotEnabled = Hwi_enableInterrupt(60);

Issue : The issue which I encounter is the Hwi_enableInterrupt does not enable the interrupt and the API always return 1.

Question1: DCCx_IRQ_ERROR can be mapped to any device? (In my case IPUx)

Question2: Do we need to map DCCx_IRQ_ERROR interrupts through Error Signaling Module (ESM) module as given in SPRAC27 or can it be used as a standalone?

Thanks

Richard






 

PROCESSOR-SDK-AM65X: How to add new module to the PDK

$
0
0

Part Number: PROCESSOR-SDK-AM65X

In the PDK setup article http://software-dl.ti.com/processor-sdk-rtos/esd/docs/06_00_00_07/rtos/index_overview.html#pdk-example-and-test-project-creation the pdkProjectCreate.sh script is used, in order to configure existing modules in the project.

We are trying out this PDK project to build RTOS, and we of course will need to extend the project with our own new modules.

Unfortunately doing this manually is not that straightforward.

Because this make-based PDK project does a lot of hidden things to connect all the inter-module dependencies.

The question is: Is there a tool like pdkProjectCreate.sh, which will allow to create new empty modules, and automatically modify/configure the dependencies between existing ones? If not - then is there another easy way to add dependencies to the project? Or is it not supposed to be extended at all, because it is just a reference implementation?

AM3351: RGMII Clock Skew Control

$
0
0

Part Number: AM3351

Hi,

We are looking to see if there is a way to control the RGMII clock skew on the TI side with the AM335X and how to control it with the most amount of granularity. Is there a way to set the internal delays of the RGMII beyond using phy-mode = "rgmii-id", "rgmii-tx", "rgmii-rx" parameters - something with more granularity where I can specify the amount of delay? Thanks!

Regards,


Garret

TDA4VM: Problems with fetching of components from TI git for Yocto build and question about Device Tree configs

$
0
0

Have 3 customer questions below, after working with our TDA4 EVM - they have run into some problems regarding Yocto build and device trees:

  1. After running TOOLCHAIN_BASE=$HOME MACHINE=j7-evm bitbake -k tisdk-rootfs-image

they managed to successfully execute 84% of the tasks from the script. However, with some of them (428 remaining) they were not able to proceed due to errors during fetching of the components from the TI’s git repository (log file attached), even after completely omitting their internal network firewalls and proxies (they used private connection for that) and nothing has changed.

Here is the log file:

(Please visit the site to view this file)

  1. After recording the Linux image provided by TI and trying to run the board from the uSD card, they were stuck at “Waiting for root device PARTUUID=dd8d2221-02...”. They have changed the Device Tree configuration in uEnv.txt file to:

overlay_files=

fdtfile=k3-j721e-proc-board-beta.dtb

and only after that they were able to boot to desktop.

Can you give them some further details (other than the ones contained in TI docs at docs/linux/How_to_Guides_Target.html#how-to-change-dtb-and-dtbo-files) on which device tree to choose if they want to utilize things like the CAN interface(s)?

  1. Finally, they were wondering what are the possibilities for running two systems simultaneously on TDA4 – a POSIX OS at performance side and a safety OS on safety side? Is that possible? What config is required in terms of flash memory (MMC card) for that?


AM3715: Issue using pusb.exe to RAM load a bootloader on Windows 10.

$
0
0

Part Number: AM3715

I am trying to RAM load my bootloader on to some existing HW using pusb.exe on Windows 10.  I follow the process I have always used, but I see a dialog on the Windows PC stating a USB device has malfunctioned.

When I repeat on a Windows 7 PC, I have no issues. My company has been using this technique to bring up "virgin" boards for many years.

Is there any changes to the pusb.exe tool, or the driver?

I am wondering if MicroSoft has increased security on the USB ports, rendering pusb.exe incapable of RAM loading a Bootloader.

Any insight would be helpful.

TMS320C5517: C5517 core current measurement

$
0
0

Part Number: TMS320C5517

hi,

I am using a spectrum digital EVM5517 board for evaluation purposes. I wish to measure the DSP core current when certain algorithm is running. From the EVM schematics, looks like it can be read through the I2C interface IC U5. If yes, what are the steps to obtain a current measurement? Is there any example projects for this type of current measurements through I2C ?

Regards,

Dileepan.

AM3359: AM3359 ICE EVM Pre-loaded SW

$
0
0

Part Number: AM3359

Team, can you please point me to the pre-loaded example that comes with the ICE EVM. As mentioned in section 8.1 of the EVM guide, there is a default image. Is the source project in the SDK and if so which (Linux, RT Linux, or RTOS)? Thanks.

AM5728: IPU under Linux -- remoteproc0: Failed to find resource table

$
0
0

Part Number: AM5728

I'm trying to run a "hello world" TIRTOS app on the m4 IPU, launched from Linux/remoteproc.

I am able to execute on m4 through JTAG, so the binary seems ok. (assuming same m4 binary for jtag and from-linux launch?)

symlink in /lib/firmware points to the bin....
root@am57xx:/lib/firmware# ls -la ... lrwxrwxrwx 1 root root 28 Aug 1 01:39 dra7-ipu1-fw.xem4 -> /home/root/m4images/test.out

root@am57xx:/sys/bus/platform/drivers/omap-rproc# echo 58820000.ipu > unbind
root@am57xx:/sys/bus/platform/drivers/omap-rproc# echo 58820000.ipu > bind

results in dmesg:

940910] remoteproc remoteproc0: releasing 58820000.ipu
[1118401.756555] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
[1118401.756681] remoteproc remoteproc0: 58820000.ipu is available
[1118401.759810] remoteproc remoteproc0: powering up 58820000.ipu
[1118401.759829] remoteproc remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 1759120
[1118401.759947] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
[1118401.759968] remoteproc remoteproc0: Failed to find resource table

Seems that I'm close, what am I missing?

Thanks!!

~mm

940910] remoteproc remoteproc0: releasing 58820000.ipu
[1118401.756555] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
[1118401.756681] remoteproc remoteproc0: 58820000.ipu is available
[1118401.759810] remoteproc remoteproc0: powering up 58820000.ipu
[1118401.759829] remoteproc remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 1759120
[1118401.759947] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
[1118401.759968] remoteproc remoteproc0: Failed to find resource table

AM6526: Power consumption spreadsheet for the AM65xx

$
0
0

Part Number: AM6526

Hi,

Does TI have a power consumption spreadsheet for the AM65xx family?.

thanks

Compiler/TMS320C6654: I2C bit rate is not as expected

$
0
0

Part Number: TMS320C6654

Tool/software: TI C/C++ Compiler

Hi,

I noticed that the software bit rate configuration of DSP is different from actual frequency of I2C clock.

I use provided I2C driver from TI and my relevant configuration is the following.

void initI2C(){
    I2C_HwAttrs   i2c_cfg;
    /* Get the default I2C init configurations */
    I2C_socGetInitCfg(0, &i2c_cfg);
    I2C_Params_init(&i2cParams);
    I2C_transactionInit(&i2cTransaction);
}

int i2c_doProcess(I2C_FUNCPtr i2cSetup){
    volatile int ret = 1;
    initI2C();
    i2c_bitrateSet(I2C_400kHz);
    i2c_handle = I2C_open(0, &i2cParams);

    /* peripheral setting */
    i2cSetup(&i2cTransaction);

    int status = I2C_transfer(i2c_handle, &i2cTransaction);

    if(!status){
        ret = 0;
    }

    I2C_close(i2c_handle);

    return ret;
}

As above, software configuration is I2C_400kHz however actual freq is approximately 330kHz.

At the default case, expected value is 100kHz however actual freq is approximately 90kHz.

Why does the differ cause ?

AM5749: How to merge a reshape layer into a softmax layer in caffe model?

$
0
0

Part Number: AM5749

Hi,

I had a problem doing quantization for a detection network in caffe in which I would like to use a reshape layer followed by a softmax layer. I got an error code of -1100 during the quantization process using SDK tool. I referred to AM5749 as well as this link (http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components_TIDL.html) which shows that using reshape layer with softmax layer is feasible in SSD "context". So I just want to know is it possible to do it the same way in my case since it's similar as in SSD.

(Please visit the site to view this file)

I have enclosed the caffe .prototxt and .caffemodel in case you need to do an analysis.

mnet.prototxt : structure file for network with reshape and softmax

mnet_no_reshape.prototxt: structure file for network without reshape and softmax

mnet.caffemodel: weights file for network both with and without reshape and softmax

RETINA.BIN and RETINA.PRM: output file of quantization

Would appreciate if you could give a better explanation how to use reshape followed by softmax. Thanks in advanced!


AM3352: DDR3 Routing

$
0
0

Part Number: AM3352

Hi, 

We have been trying to follow the datasheet for DDR3 routing and it appears that the suggestion is to route the DQ and DQS of the same byte group to be routed in the same layer. 
However, the reference design from http://www.ti.com/tool/TMDSSK3358 seems to be routed across different layers. We were just wondering if we have interpreted the guidelines correctly, or if routing across different layers violates the specifications.

Any help with this regard is appreciated. 

Thanks
Pranesh

AM5729: DSP SPI and Clock interfaces

$
0
0

Part Number: AM5729

Hi.

We are looking to port existing DSP code to this chip. We are using the BeagleBone AI to start and may build our own board later if needed.

Our existing DSP application communicates with external devices over SPI. Does the DSP on the AM5729 have first-class access to the SPI bus? Is there an example of how to set this up?

We need the DSP clock to lock to GPS. Does the DSP on the AM5729 have an external clock reference we can adjust at runtime?

Thanks,

Harry

AM5716: USB LLD for M4 core in pdk_arm57xx_1_0_14

$
0
0

Part Number: AM5716

Hi,

I am trying to create CCS USB RTOS examples for M4 core in AM5716 as describing C:\ti\pdk_am57xx_1_0_14\packages\ti\drv\usb\docs\ReleaseNotes_USB_LLD.pdf.

The program is C:\ti\pdk_am57xx_1_0_14\packages\ti\drv\usb\example\usb_dev\bulk.

I could make CCS project under MyExampleProjects to use

C:\ti\pdk_am57xx_1_0_14\packages>pdkProjectCreate AM571x idkAM571x little usb example m4

and then created

C:\ti\pdk_am57xx_1_0_14\packages\MyExampleProjects\USB_DevBulk_idkAM571x_m4ExampleProject.

After that, I imported this project in CCS and tried to compile it on CCS ver8.3. But I got some errors.

Please see attached file.

/cfs-file/__key/communityserver-discussions-components-files/791/8666.build_5F00_error.txt  

Could you please advise me to avoid the errors? 

I could compile and got .out  files in case of USB_DevBulk_evmAM572x_armExampleProject and USB_DevBulk_idkAM571x_armExampleProject.

Best Regards,

M.Ohhashi

AM5728: OpenCV build error

$
0
0

Part Number: AM5728


Download the tiopencv-3.1.1.0 source code, compile using cmake-gui, the configuration information is as follows:

General configuration for OpenCV 3.1.0 =====================================
Version control: unknown

Platform:
Host: Linux 3.19.0-25-generic x86_64
Target: arm-linux
CMake: 3.12.2
CMake generator: Unix Makefiles
CMake build tool: /usr/bin/make
Configuration: Release

C/C++:
Built as dynamic libs?: YES
C++ Compiler: /home/tronlong/ti-processor-sdk-linux-am57xx-evm-03.01.00.06/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ (ver 5.3.1)
C++ flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -fomit-frame-pointer -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG
C++ flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -fomit-frame-pointer -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG
C Compiler: /home/tronlong/ti-processor-sdk-linux-am57xx-evm-03.01.00.06/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc
C flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -ffunction-sections -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG
C flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -ffunction-sections -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG
Linker flags (Release):
Linker flags (Debug):
Precompiled headers: YES
Extra dependencies: OpenCL
3rdparty dependencies: zlib libjpeg libwebp libpng libtiff libjasper IlmImf

OpenCV modules:
To be built: core flann imgproc ml photo video imgcodecs shape videoio highgui objdetect superres ts features2d calib3d stitching videostab
Disabled: world
Disabled by dependency: -
Unavailable: cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev java python2 python3 viz

GUI:
QT: NO
GTK+: NO
GThread : NO
GtkGlExt: NO
OpenGL support: NO
VTK support: NO

Media I/O:
ZLib: zlib (ver 1.2.8)
JPEG: libjpeg (ver 90)
WEBP: build (ver 0.3.1)
PNG: build (ver 1.6.19)
TIFF: build (ver 42 - 4.0.2)
JPEG 2000: build (ver 1.900.1)
OpenEXR: build (ver 1.7.1)
GDAL: NO

Video I/O:
DC1394 1.x: NO
DC1394 2.x: NO
FFMPEG: NO
codec: NO
format: NO
util: NO
swscale: NO
resample: NO
gentoo-style: NO
GStreamer: NO
OpenNI: NO
OpenNI PrimeSensor Modules: NO
OpenNI2: NO
PvAPI: NO
GigEVisionSDK: NO
XIMEA: NO

Parallel framework: pthreads

Other third-party libraries:
Use IPP: NO
Use Eigen: NO
Use Cuda: NO
Use OpenCL: YES
Use custom HAL: NO

OpenCL:
Version: static
libraries: OpenCL
Use AMDFFT: NO
Use AMDBLAS: NO

Python 2:
Interpreter: /usr/bin/python2.7 (ver 2.7.6)

Python 3:
Interpreter: /usr/bin/python3.4 (ver 3.4)

Python (for build): /usr/bin/python2.7

Java:
ant: NO
JNI: NO
Java wrappers: NO
Java tests: NO

Matlab: Matlab not found or implicitly disabled

Tests and samples:
Tests: YES
Performance tests: YES
C/C++ Examples: NO

Install path: /home/tronlong/3d_lib/tiopencv-3.1.1.0/build

cvconfig.h is in: /home/tronlong/3d_lib/tiopencv-3.1.1.0/build
-----------------------------------------------------------------

Configuring done

during the compilation process, report the following error:

please help see what caused it? How should I modify it? Thank you!

TDA2PXEVM: How to fix CPU's operating frequency in TDA2P?

$
0
0

Part Number: TDA2PXEVM

Hi,

I'm using TDA2P EVM and VisionSDK 3.07.

The operating frequency of CPU in TDA2P can be changed automatically according to it's load by default.

I want to fix this and so could you tell me how to fix the operating frequency.

I tried following command, but the file did not accepted my change.        

      # echo 1000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

Thanks,

Koji

Viewing all 17527 articles
Browse latest View live


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