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

Linux/TDA2PXEVM: Which source files do OV2775_TIDA1130 use?

$
0
0

Part Number: TDA2PXEVM

Tool/software: Linux

Hi,

I got this hardware below.

a. TDA2Px EVM x 1
b. Fusion Card/EVM x 1
c. TIDA OV2775 cameras (with Fakra cables) x 1

I can capture the image from OV2775_TIDA1130 in Linux in vision_sdk with ISS Usecases, (TDA2Px ONLY)/1CH ISS Capture + ISP + DISPLAY. Now I want to port my customer camera.Before that, I want to learn the framework. And I think this usecase is good to use.

At first I thought the driver sources is in vision_sdk/apps/src/rtos/iss/src/sensor/ov2775 .But it seems I was wrong, I modified the code, and rebuild and copied the app.out to evm and ran it.It didn't work as I wanted.

I compared the md5 of app.out before modify and after. It hasn't changed.

So,Which source files do OV2775_TIDA1130 use?

Thanks and Regards

CalmCar


Linux/AM5728: GPMC Wait pin control

$
0
0

Part Number: AM5728

Tool/software: Linux

Hi Champs,

We have two kind of question for wait pin control

1) Wait pin monitor timing

When GPMC read, wait pin monitor timing defined RDACCESSTIME and "GPMC_CONFIG1_i[19:18]. ( in this case, 0x2: start 3clock before  of GPMC_CLK.

On the other hand , when GPMC write it defined WRACCESSTIME and this is fixed value. This monitor start timing in write mode is same as read monitor.

However, we couldn't detect wait pin monitor at write mode.  Because, we didn't understand write access time parameter correctly. 

Could you please tell us correct wait pin monitor at write mode ? 

2) Wait signal 

Currently, we are using two devices at CS0 and CS2. This device need external wait pins.

When we define to use WAIT0 in  CS0 and CS2 at Linux device tree, it occure error.

So, this error due to AM57xx GPMC has two external wait pin and 8CS reasion. 

This mesan, can't we share WAIT0 pin between CS0 and CS2 ?

TDA2E: MMWCAS-DSP-EVM Bring up

$
0
0

Part Number: TDA2E

Hello

I have as MMWCAS-DSP-EVM and want to use this to run RADAR Use case under the PROCESSOR_SDK_RADAR_03_07_00_00.

I have compiled the PROCESSOR_SDK_RADAR_03_07_00_00 with use case for tda2xx_cascade_bios_radar and then followed following the steps mentioned in VisionSDK_UserGuide_TDA2xx.pdf

1) section 3.6 (Load using SD card )

2) 3.6.1 (Option 1: Steps to prepare a bootable SD card )

3) 3.6.3 (Steps to generate MLO)

4) 3.6.4 (Steps to generate appImage)

5) 3.6.5 (SD Card setup)

Now when i try to plug the SD card into the MMWCAS-DSP-EVM board doesn't boot up.

If anybody can tell me what is the issue it will be really helpful for me.

Br

Deepak Joshi

AM5726: How can I get Debug messages on MLO

$
0
0

Part Number: AM5726

Hello,

How can I generate debug output within the MLO?
So far I have activated the "Low-level debugging functions" and specified the address of the UART3 0x48020000.

Unfortunately this is not enough to generate messages via printf or printascii.

best regards

RTOS/TDA2P-ACD: 12bit monochrome image after issISP is bad. how to fix it ??

$
0
0

Part Number: TDA2P-ACD

Tool/software: TI-RTOS

i captured raw frame frome ar0144 sensor  passedby isscaputre   , i changed the raw image to yuv image , the image is ok .  but after issISP the image is bad .as follow the first is afterisp , the second is aftercapture 

the raw frame is 12bit monochrome image im 16bit container  .  the raw frame i upload here , you can check .  i set the ispmode is ISSM2MISP_LINK_OPMODE_12BIT_MONOCHROME . 

the dataformat is          info->dataFormat                  = SYSTEM_DF_BAYER_BGGR;
         info->bpp                              = SYSTEM_BPP_BITS12;

how to fix it ?  thanks . 

(Please visit the site to view this file)

TDA2EVM5777: Interfacing with vehicle CAN

$
0
0

Part Number: TDA2EVM5777

Hello,

TI TDA2 EVM has two CAN interfaces: DCAN1 and DCAN2.

I want to receive information from vehicle CAN on one of these two interfaces, and use that information in an algorithm running on the DSP core.

I have the following questions:

1. How can I physically connect these interfaces (DCAN1/DCAN2) to the vehicle CAN? Is there any reference which explains how to do this?

2. Are there any use-cases in Vision SDK that show how to receive/transmit CAN data?

Thank you.

AM5728: Build error when updating pinmux

$
0
0

Part Number: AM5728

Hello everybody

I am stuck at an error while updating the pinmux information for a setup of am572xx board connected with a ADC data acquisition board through an adaptor board. I have updated existing board .c and .h board files in the board library. Then I did the following steps in the terminal in the packages directory to rebuild the pdk

  1. pdksetupenv.bat
  2. gmake board_lib LIMIT_SOCS=am572x LIMIT_BOARDS=idkAMM572x

As you can see, I am getting compilation errors that I cannot resolve myself. Can you please advise on fixes to that?

Regards

Evgeny

66AK2H12: 66K2H Delineation error (2)

$
0
0

Part Number: 66AK2H12

Hi Champs,

We still continue previous e2e thread "Delineation error".

Our customer continue debug and found some another point.

1)

As I told previous thread, Delineation error occurred SRIO Lane2. Also, customer found "8b/10b decode" error at lane 3.

Usually, K2H LANEn_STAT0 value is addr(0x0290e070) -> 0x02107f88

ERR_CNT value is higher.

Is this "ERR_CNT" count Non convert table value that decode "8B10B" in DSP ?

2)

This ERR_CNT count up to 15. Also, CHG_SYSC=1.

So, Do you have any suspect point ? We would like to separate Hardware issue or register setting .

Regards,

Kaz


RTOS/OMAP-L138: FTP - problems with transfer and frame check

$
0
0

Part Number: OMAP-L138

Tool/software: TI-RTOS

Hi,

I'm using the latest SDK and I have a problem with FTP.

When I am using recv(), the data is receive correct but the transfer is slow (very slow).

The second problem is with ethernet frame check sequence (is incorrect). What is the best way to solve these problems?

After the writing, sometimes the transfer is OK (speed is OK, but frame check is still incorrect).

This image shows a screenshot of WireShark and shows a good transfer

and this image shows a screenshot of WireShark and shows a failed transfer:

Best regards,

Patryk

RTOS/TDA2SX: Changes required for new board

$
0
0

Part Number: TDA2SX

Tool/software: TI-RTOS

Hi,

I am currently building a custom board by referring to the TDA2x EVM.

I  would like to know the initial board bring up steps.

1) What all things are to be noted ?

For custom board schematic, I did pinmuxing manually in uboot (mux_data.h) and kernel device tree. Since, custom-board.pinmux file is not generating complete device tree and mux data except mmc.

2) Is there anything changes required in u-boot dts ?

3) Any Clock / PLL values need to set ?

4) Where i have to initialize VIP Ports (Uboot / Kernel) ?  Camera VIN/VOUT pins mentioned in mux_data.h.

 

Regards,

Arunkumar V N

Linux/TCI6638K2K: Issue with PPS generation using 1588 PTP protocol

$
0
0

Part Number: TCI6638K2K

Tool/software: Linux

Hi,

With respect to the above Issue, we saw that our PTP is not generating the PPS pulse exactly at every one second, It has some added delay, which may be in microseconds or nanoseconds. The pulse shifts at a rate of 40 microsecond per second, currently we are using SYSCLK2, so  I doubted on CPTS reference clock and its frequency then I tried with different clock i.e. SYSCLK3 and TSERFCLK and multiple frequency values as mentioned in MCSDK explore, I found the same with all tries can any one suggest why this pulse is not exactly generating at one second.

and, I need a couple of understandings what is exactly cpts_rftclk_sel, cpts_rftclk_freq and cpsw_cpts_rft_clk in the device tree.

Thank you

Deepak

Linux: Processor SDK Linux V6 AM57xx: linux-devkit

$
0
0

Tool/software: Linux

Hello,

I have installed Processor SDK Linux RT am57xx from software-dl.ti.com/processor-sdk-linux-rt/esd/AM57X/latest/exports/ti-processor-sdk-linux-rt-am57xx-evm-06.00.00.07-Linux-x86-Install.bin on Ubuntu LTS without errors. Right after the installation, the subdirectory linux-devkit/sysroots looks quite different from previous versions - the x86_64-arago-linux directory is missing completely, which means that the cross compiler is not there at all; and the other dir is named armv7at2hf... in contrast to armv7ahf... earlierdays. Am I supposed to install the cross toolchain separate, although the SW download page explicitly says " (all of the below compoonents are bundled within the Linux SDK Essentials package)" ? 

Thanks for some insight & best regards,

Stefan

Linux/DM3730: dm3730 qt4.7

$
0
0

Part Number: DM3730

Tool/software: Linux

I want dm 3730 to support qt4.7 I need openg2.0 support. i do not need touch screen support,here is my configure

./configure -prefix /opt/qt-embedded/ \
-opensource -release -shared -qt3support -webkit -system-nas-sound -qt-zlib \
-optimized-qmake -confirm-license \
-xplatform qws/linux-omap3-g++ \
-embedded arm  \
-depths 16 \
-release \
-glib \
-fast \
-no-pch \
-dbus \
-force-pkg-config \
-phonon \
-phonon-backend \
-qt-libjpeg \
-qt-libpng \
-qt-libtiff \
-multimedia \
-qt-libmng \
-qt-freetype \
-qt-mouse-linuxtp \
-qt-mouse-pc \
-exceptions \
-opengl \
-openvg \
-xmlpatterns -no-mmx -no-3dnow -no-sse -no-sse2 -no-sse3 -no-sse4.1 -no-sse4.2 -no-avx -no-openssl -no-cups -no-ssse3 \
-no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-sqlite_symbian -no-sql-tds \
-make examples -make demos -make docs -nomake tools -no-qvfb -no-openssl \
-qt-gfx-linuxfb \
-v

I meet some questions:

1) should I need configure -platform qws/linux-x86-g++ ?

2) should I need configure  -plugin-gfx-powervr?

3)is dm3730 omap35x? I do not know their relationship

4)if I want to run OpenGL-based qt apps in dm3730, should I need run code :

cat > /etc/powervr.ini << _EOF 
[default] 
WindowSystem=libpvrQWSWSEGL.so 
_EOF

please tell me , thank you very much

66AK2H14: ARM Cycle Delay

$
0
0

Part Number: 66AK2H14

Hello, I found an example of a cycle delay for and ARM core and the trouble is when I read the cycle count register is returns zero. Here is my code:

#include <ti/csl/csl_tmr.h>

static unsigned int ReadTime32(void)
{
unsigned int timeVal;

__asm__ __volatile__ ("MRC p15,0,%0,c9,c13,0\t\n" : "=r"(timeVal));

return timeVal;


}

void CycleDelay(unsigned int iCount)
{
if(iCount <=0)
{
return;
}
unsigned int start = ReadTime32();

while((ReadTime32() - start) < iCount);
}


#define CSL_GPIO_CFG_REGS 0x0260BF00
#define CSL_GPIO_DIR (*(unsigned int*)(CSL_GPIO_CFG_REGS + 0x010))
#define GPIO_SET_DATA (*(unsigned int*)(CSL_GPIO_CFG_REGS + 0x018))
#define GPIO_CLEAR_DATA (*(unsigned int*)(CSL_GPIO_CFG_REGS + 0x01C))

int main(void)
{
int i;

CSL_GPIO_DIR = 0xFFFE;

while(1)
{
GPIO_SET_DATA = 0x1;
CycleDelay(1000);
GPIO_CLEAR_DATA = 0x1;
for (i=0;i<100;i++);
}

return 0;
}

Here is my design:

(Please visit the site to view this file)

The example I found did not list the main() so maybe there is some other things I need to do to get things working.

Thank you very much,

Joe

AM3359: AM3359:Ec Master Demo Stop.

$
0
0

Part Number: AM3359

Hello,

    I want to establish ethercat communication between S700 kollmorgan drive as slave and Am3359  board as master. I followed all the instruction given in "EtherCAT® Master Reference Design for AM335x CPSW".

When I load the programme I got following error message on putty:-

boardname: A335_ICE version: 2.1A

SYS/BIOS EcMaster Sample application

0000000174: Full command line: -auxclk 2000 -v 2 -t 10000 -perf -cpsw 1 1 1 m cu stom am33XX 1 1 0

0000000174: Run demo now with cycle time 2000 usec

0000000174: Using AuxClock

0000000174: OsMeasGet100kHzFrequency(): 600 MHz

0000000174: ==========================

0000000174: Initialize EtherCAT Master

0000000174: ==========================

0000000174: EC-Master V3.0.1.12 (Protected) for SYSBIOS Copyright acontis techno logies GmbH @ 2018

0000001838: EtherCAT network adapter MAC: 2C-6B-7D-4A-27-1D

0000001861: Protected version, stop sending ethernet frames after 60 minutes if not licensed!

0000001949: Bus scan successful - 1 slaves found

0000001950: ******************************************************************** **********

0000001950: Slave ID............: 0x00000000

0000001950: Bus Index...........: 0

0000001950: Bus AutoInc Address.: 0x0000

0000001950: Bus Station Address.: 0x03e9 (1001)

0000001950: Bus Alias Address...: 0x0000 ( 0)

0000001950: Vendor ID...........: 0x0000006A = Unknown

0000001950: Product Code........: 0x03000600 = Unknown

0000001950: Revision............: 0x00000001 Serial Number: 0

0000001950: ESC Type............: IPCORE (0x4) Revision: 2 Build: 0

0000001950: Connection at Port A: yes (to 0x00010000)

0000001950: Connection at Port D: no (to 0xFFFFFFFF)

0000001950: Connection at Port B: no (to 0xFFFFFFFF)

0000001950: Connection at Port C: no (to 0xFFFFFFFF)

0000001950: Line Crossed........: no

0000001950: Cfg Station Address.: 0x03e9 (1001)

0000001950: PD IN Byte.Bit offset: 0.0 Size: 64 bits

0000001950: PD OUT Byte.Bit offset: 0.0 Size: 48 bits

0000001950: =====================

0000001950: Start EtherCAT Master

0000001950: =====================

0000001959: Master state changed from <UNKNOWN> to <INIT>

0000002011: Master state changed from <INIT> to <PREOP>

0000002088: Master state changed from <PREOP> to <SAFEOP>

0000002295: Master state changed from <SAFEOP> to <OP>

0000002296:

0000002296: Job times during startup <INIT> to <OP>:

0000002296: ==================================================================== ========

0000002296: PerfMsmt 'JOB_ProcessAllRxFrames' (min/avg/max) [usec]: 0.6/ 25. 2/ 59.4

0000002296: PerfMsmt 'JOB_SendAllCycFrames ' (min/avg/max) [usec]: 0.4/ 8. 8/ 22.9

0000002296: PerfMsmt 'JOB_MasterTimer ' (min/avg/max) [usec]: 0.4/ 17. 6/ 77.4

0000002296: PerfMsmt 'JOB_SendAcycFrames ' (min/avg/max) [usec]: 0.5/ 11. 7/ 33.3

0000002296: PerfMsmt 'Cycle Time ' (min/avg/max) [usec]: 1116.7/1852. 5/2007.5

0000002296: PerfMsmt 'myAppWorkPd ' (min/avg/max) [usec]: 0.6/ 1. 4/ 3.3

0000002296:

0000004296: ==================================================================== ========

0000004296: PerfMsmt 'JOB_ProcessAllRxFrames' (min/avg/max) [usec]: 14.2/ 17. 6/ 48.8

0000004296: PerfMsmt 'JOB_SendAllCycFrames ' (min/avg/max) [usec]: 9.2/ 9. 9/ 19.8

0000004296: PerfMsmt 'JOB_MasterTimer ' (min/avg/max) [usec]: 9.4/ 10. 8/ 20.3

0000004296: PerfMsmt 'JOB_SendAcycFrames ' (min/avg/max) [usec]: 1.5/ 4. 1/ 24.0

0000004296: PerfMsmt 'Cycle Time ' (min/avg/max) [usec]: 1990.8/1999. 0/2006.3

0000004296: PerfMsmt 'myAppWorkPd ' (min/avg/max) [usec]: 0.8/ 0. 9/ 1.3

0000006296: ==================================================================== ========

0000006296: PerfMsmt 'JOB_ProcessAllRxFrames' (min/avg/max) [usec]: 14.2/ 17. 7/ 48.8

0000006296: PerfMsmt 'JOB_SendAllCycFrames ' (min/avg/max) [usec]: 9.1/ 9. 9/ 20.0

0000006296: PerfMsmt 'JOB_MasterTimer ' (min/avg/max) [usec]: 9.4/ 10. 8/ 20.3

0000006296: PerfMsmt 'JOB_SendAcycFrames ' (min/avg/max) [usec]: 1.5/ 4. 0/ 24.0

0000006296: PerfMsmt 'Cycle Time ' (min/avg/max) [usec]: 1990.6/1998. 9/2006.8

0000006296: PerfMsmt 'myAppWorkPd ' (min/avg/max) [usec]: 0.7/ 0. 9/ 1.6

0000008296: ==================================================================== ========

0000008296: PerfMsmt 'JOB_ProcessAllRxFrames' (min/avg/max) [usec]: 14.2/ 17. 6/ 48.8

0000008296: PerfMsmt 'JOB_SendAllCycFrames ' (min/avg/max) [usec]: 9.1/ 9. 9/ 20.4

0000008296: PerfMsmt 'JOB_MasterTimer ' (min/avg/max) [usec]: 9.3/ 10. 8/ 20.3

0000008296: PerfMsmt 'JOB_SendAcycFrames ' (min/avg/max) [usec]: 1.5/ 4. 1/ 24.0

0000008296: PerfMsmt 'Cycle Time ' (min/avg/max) [usec]: 1990.6/1998. 9/2007.2

0000008296: PerfMsmt 'myAppWorkPd ' (min/avg/max) [usec]: 0.7/ 0. 9/ 10.1

0000010296: ==================================================================== ========

0000010296: PerfMsmt 'JOB_ProcessAllRxFrames' (min/avg/max) [usec]: 14.2/ 17. 6/ 48.8

0000010296: PerfMsmt 'JOB_SendAllCycFrames ' (min/avg/max) [usec]: 9.1/ 9. 9/ 20.4

0000010296: PerfMsmt 'JOB_MasterTimer ' (min/avg/max) [usec]: 9.3/ 10. 7/ 20.3

0000010296: PerfMsmt 'JOB_SendAcycFrames ' (min/avg/max) [usec]: 1.5/ 4. 1/ 24.0

0000010296: PerfMsmt 'Cycle Time ' (min/avg/max) [usec]: 1990.2/1998. 9/2007.7

0000010296: PerfMsmt 'myAppWorkPd ' (min/avg/max) [usec]: 0.7/ 1. 0/ 10.2

0000012296:

0000012296: Job times before shutdown

0000012296: ==================================================================== ========

0000012296: PerfMsmt 'JOB_ProcessAllRxFrames' (min/avg/max) [usec]: 14.2/ 17. 6/ 48.8

0000012296: PerfMsmt 'JOB_SendAllCycFrames ' (min/avg/max) [usec]: 9.1/ 10. 0/ 20.4

0000012296: PerfMsmt 'JOB_MasterTimer ' (min/avg/max) [usec]: 9.3/ 10. 7/ 20.3

0000012296: PerfMsmt 'JOB_SendAcycFrames ' (min/avg/max) [usec]: 1.5/ 4. 1/ 24.0

0000012296: PerfMsmt 'Cycle Time ' (min/avg/max) [usec]: 1990.2/1998. 9/2007.8

0000012296: PerfMsmt 'myAppWorkPd ' (min/avg/max) [usec]: 0.7/ 0. 9/ 10.2

0000012296: ========================

0000012296: Shutdown EtherCAT Master

0000012296: ========================

0000012318: Master state changed from <OP> to <INIT>

0000012580: EcMasterDemo stop.

 will  I have to make any changes in  the Ec master demo code for communicate with kollmorgan drive?? If yes, how can I write parameters in code ( in which function)?? Why EcMaster Demo Stop while  communicate with drive??

Please help me


AM6528: AM6528 Power Consumption Summary

AM5728: How can i check v4l2 subdevice and VIP configuration

$
0
0

Part Number: AM5728

Hello

In our custom board, we use ADV7180. There is /dev/video1 and v4l2-ctl --list-devices : vip:vin3a is ok. 

but when i want to run a gst pipe in terminal, it returns internal error. 

my Questions:

1- If ADV7180 configuration are correct, but vin3a-d0~vin3a-d7

not connected, what will happen for v4l2?

2- Dts parameters like channels, pclk, cvbs,.... are not used in adv7180 driver, Are these items specific to a chip or v4l2 or VIP? And where can i find the parameter list?

I apologize for the irregular questions. 

66AK2G12: 66AK2G12, evaluation board , DDR3 termination

$
0
0

Part Number: 66AK2G12

Hi .

I am using "66AK2G12 "device . As two device evaluation boards are available on TI platform by Mistral solutions.

1-- MS_TI_K2GEVM

2- MS_TI_k2GICE.

There is a difference in DDR3 termination section of board interfacing with SoC. In first board capacitors terminated with "DGND" 

While on other board DDR3 termination section capacitor terminated with "1.35V " net name as (VDDS_DDR_K2G). 

Please someone elaborate what is difference in both techniques  or which one is better.?

Schematic cutout of both are Attached below.

TDA3XEVM: Vision SDK ADC Buffer Format and 1FFT Buffer Format

$
0
0

Part Number: TDA3XEVM

HI,

I would like to find out the buffer format of 2 sets of data in the processing flow in Vision SDK.

1. ADC buffer format - what does it look like when this buffer is captured in the issCapture Link and is fed to the FFT link for example? Is this buffer a simple flat 1D buffer with no special structure in that doppler index 0 - range bins 0-255, doppler index 1 - range bins 0-255, etc...?

2. The 1st FFT Intermediate Buffer format? Is this simply a flat 1D buffer same as above?

Thanks,

--Khai

TDA2EVM5777: Capture Link can not send link cmd SYSTEM_CMD_NEW_DATA in livds_vip_single_cam_view_sgx_display usecase

$
0
0

Part Number: TDA2EVM5777

Hi,

I'm trying to run lvds_vip_single_cam_view_sgx_display usecase.

When captureLink get first frame from camera and send SYSTEM_CMD_NEW_DATA cmd to next link after process that frame, 

'[HOST] [IPU2  ]     48.452205 s:  UTILS: MBX: Utils_mbxSendCmd(): Msg Alloc Failed (0)!!!' this error message was showed continuously and usecase was stucked.

I didn't change any  structure of chain, so i couldn't what caused this error message.

Any suggestion?

Regards, 

Yoo

Viewing all 17527 articles
Browse latest View live


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