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

AM3358: ERROR meta-linaro-toolchain sdk building


TMDXIDK5718: getting a delay while processing the data between two arm processors using TCP Socketprogramming

$
0
0

Part Number: TMDXIDK5718

In my project i am using two arm processors...one as Client and One as Server...i am sending the data from Client to Server using TCP/IP Socket Programming and i am processing the data at the server processor  ...... i am taking the output at the server.....for example i am sending the audio data at the client and trying to receive the same data at server...
while receiving the data i am getting the Delay of 2 to 3 seconds(rough estimation)....

i am running the whole process on GPP....

1.Why Delay is coming
2.How can i reduce the Delay time ?
3.How can i calculate the Delay exactly ?

4.am i delay becuase of GPP ?


--Hari

AM3351: Linux boot failure on custom board

$
0
0

Part Number: AM3351

Hi,

My customer using AM3351 reported boot-up issue on their board.

The software version is TI-PROCESSOR-SDK-LINUX-AM335X-EVM-04.01.00.06.
The board is custom and micro-SD boot is used.

There are a several failing pattern at boot-up.
a) Repeat “Starting kernel ...”
b) Stop at “random: crng init done” just after Arago Project logo.
c) Repeat “A start job is running for…”
d) Stop at “[FAILED] Failed to start Synchronize System and HW clocks.”

I will send you all 4 type logs as well as normal start-up log in separate e-mail.
Please review them and give your advice where needs to be checked.

Thanks and regards,
Koichiro Tashiro

AM3358: How to burn into custom board emmc from the already established the image of SD card.

$
0
0

Part Number: AM3358

Dear sir,

here i used this sdk "ti-processor-sdk-linux-am335x-evm-06.01.00.08" and i build all

MLO

u-boot.img

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

zImage

am335x-boneblack.dtb

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

and Modules installed rootfs

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

for custom SD-card : by using "create-sdcard.sh", i have created boot & rootfs partitions and copied above files properly.

after that inserted in to BBB board here it's working fine and i got login prompt : root@am335x-evm#.

when i remove my sd card and i checked again my kernel version it's not my custom kernel it's showing previous version.

so, now i want to let these all should be flash on-board eMMC. please tell me the procedure and

Thanks

hari

DRA746: [Navigation]: Navigation is crashing and crash is triggered by eglSwapBuffer.

$
0
0

Part Number: DRA746

Hello Team, 

We use custom h/w and software based on DRA746 and VSDK 3.04

We are facing multiple issues specific to Navigation use cases where weston is crashing. And getting the following backtrace  for weston crash:

(gdb) bt

#0  0xb6a17d74 in poll () at ../sysdeps/unix/syscall-template.S:84

#1  0xb6d3b574 in poll (__timeout=-1, __nfds=1, __fds=0xb118d9e4) at /data/work/Jenkins/workspace/SQUASHFS-MMT2020-SDK1/elina-distro/build-mmt2020-a880/tmp/sysroots/mmt2020-a880/usr/include/bits/poll2.h:46

#2  wl_display_poll (events=events@entry=1, display=0xb5c36660) at /usr/src/debug/wayland/1.11.0-r0/wayland-1.11.0/src/wayland-client.c:1593

#3  0xb6d3cb28 in wl_display_dispatch_queue (display=0xb5c36660, queue=0xb5c043c0) at /usr/src/debug/wayland/1.11.0-r0/wayland-1.11.0/src/wayland-client.c:1666

#4  0xb10069c4 in ?? () from mmt2020/usr/lib/libpvrws_WAYLAND.so

Backtrace stopped: previous frame identical to this frame (corrupt stack?)

(gdb) bt full

#0  0xb6a17d74 in poll () at ../sysdeps/unix/syscall-template.S:84

No locals.

#1  0xb6d3b574 in poll (__timeout=-1, __nfds=1, __fds=0xb118d9e4) at /data/work/Jenkins/workspace/SQUASHFS-MMT2020-SDK1/elina-distro/build-mmt2020-a880/tmp/sysroots/mmt2020-a880/usr/include/bits/poll2.h:46

No locals.

#2  wl_display_poll (events=events@entry=1, display=0xb5c36660) at /usr/src/debug/wayland/1.11.0-r0/wayland-1.11.0/src/wayland-client.c:1593

        pfd = {{fd = 255, events = 1, revents = 0}}

#3  0xb6d3cb28 in wl_display_dispatch_queue (display=0xb5c36660, queue=0xb5c043c0) at /usr/src/debug/wayland/1.11.0-r0/wayland-1.11.0/src/wayland-client.c:1666

        ret = <optimized out>

#4  0xb10069c4 in ?? () from mmt2020/usr/lib/libpvrws_WAYLAND.so

No symbol table info available.

Backtrace stopped: previous frame identical to this frame (corrupt stack?)

and from our analysis, it looks like that last graphic call from the navigation is eglSwapBuffer.

Could you please help us in analyzing this issue and also provide your inputs in generating the API call trace for navigation as in navigation multiple applications are involved and we can't use "

start_tracing.sh" directly for generating the call traces.


Regards,
Ikshwaku

"

Compiler/TDA2SX: TDA2SXBTQABCRQ1

$
0
0

Part Number: TDA2SX

Tool/software: TI C/C++ Compiler

Hello everyone!

          I want to know TDA2SX DDR interface data width configer mode, how to obtain ddr3 64bits or above? thanks!

TMS320DM8168: TMS320DM8168

$
0
0

Part Number: TMS320DM8168

I am using TMS320DM8168 for an Audio and Video Muxing. Basically, my Process is to Get Real-time Analog Audio and Video Signals, Mux them into an AVI File and store in SSD using SATA Interface. I am Confused with the Audio/Video Muxing Process. Is it Prossible to do that.? if yes, How?

TMS320DM8168: TMS320DM8168

$
0
0

Part Number: TMS320DM8168

Hi,

I am using TMS320DM8168 for an Audio and Video Muxing. Basically, my Process is to Get Real-time Analog Audio and Video Signals, Mux them into an AVI File and store in SSD using SATA Interface. I am Confused with the Audio/Video Muxing Process. Is it Prossible to do that.? if yes, How?


TMS320C6748: DSPF_sp_fftSPxSP time cost

$
0
0

Part Number: TMS320C6748

According to http://software-dl.ti.com/sdoemb/sdoemb_public_sw/dsplib/latest//exports/DSPLIB_C674x_TestReport.html 

the DSPF_sp_fftSPxSP cost 1069 clks when N=128 and 1965 clks when N=256.

I run the test project provided by TI, D:\ti\dsplib_c674x_3_4_0_0\packages\ti\dsplib\src\DSPF_sp_fftSPxSP.

Even with all optimization level -o3 and --opt_for_speed level 5, I can only get 1159 clks when N=128 and  2119 clks when N=256.

Why I cannot get 1069 and 1965 with the provided project?

Thank you.

TMS320C6655: LM10011 is really required ?

$
0
0

Part Number: TMS320C6655

LM10011 is really required ?

Compiler/TDA2PXEVM: error: cannot open source file .

$
0
0

Part Number: TDA2PXEVM

Tool/software: TI C/C++ Compiler

Hi all,

 I am using TI PROCESSOR_SDK_VISION_03_05_00_00 while trying to build it  following error are occurred.Please have look and provide solution on it asap.

  error: cannot open source file "ti/ndk/inc/netmain.h"


TCI6638K2K: SRIO dstID and srcID setting

$
0
0

Part Number: TCI6638K2K

Hi colleague,

Our customer is debugging SRIO interface. Mode configuration is 4 X1.

For example, DSP has 4 X1, ID are 0, 1, 2, 3

DSP connects to 4 FPGA, FPGA ID are 4, 5, 6, 7.

If they want ID0 send data to ID4, ID2 send data to ID6, ID3 send data to ID7, how to set SRIO dstID and srcID? 

Which function interface need to use?

Thanks a lot!

DRA746: Video seetk fail or hang.

$
0
0

Part Number: DRA746

Hi TI team,

There are two similar tickets(Seek failed and Seeck hang) in our side. We see a lot of memory alocate issue, and confirmed with MMT system team they configure the memory as TI suggestion. could you please help to check from your POV. Thanks.
Attach the logs here. (Please visit the site to view this file)
And videos to link transfer.harman.com/.../KmD5iaIi5J3YtJNOoiTQ3A .

Ticket 1: Seek failed
In seek_failed.txt, there are many memory allocate and ducati error when do seek for video file Raghu Dixit - Gudugudiya Sedi Nodo Cowshed Glastonbury 2011.mp4:
96869 2019/11/13 19:49:39.000000 1064.8214 68 ECU1 CrM API 2421 log info verbose 1 T8918 GSTLogs WARN ducati gstducatividdec.c(1483):gst_ducati_viddec_chain:<decoder> push from codec_process failed flushing
96877 2019/11/13 19:49:39.000000 1064.8347 69 ECU1 CrM API 2421 log info verbose 1 T2561 GSTLogs WARN ducati gstducatividdec.c(571):codec_process:<decoder> err=-1, extendedError=00040000
96878 2019/11/13 19:49:39.000000 1064.8348 70 ECU1 CrM API 2421 log info verbose 1 T2561 GSTLogs ERROR ducati gstducati.c(61):gst_ducati_log_extended_error_info: Bit 18 (00040000): stream end
96879 2019/11/13 19:49:39.000000 1064.8372 71 ECU1 CrM API 2421 log info verbose 1 T9651 GSTLogs WARN basesink gstbasesink.c(3374):gst_base_sink_chain_unlocked:<asink> warning: Internal data flow problem.
96880 2019/11/13 19:49:39.000000 1064.8373 72 ECU1 CrM API 2421 log info verbose 1 T9651 GSTLogs WARN basesink gstbasesink.c(3374):gst_base_sink_chain_unlocked:<asink> warning: Received buffer without a new-segment. Assuming timestamps start from 0.
96884 2019/11/13 19:49:39.000000 1064.8389 76 ECU1 CrM API 2421 log info verbose 1 T2561 GSTLogs WARN ducati gstducatividdec.c(571):codec_process:<decoder> err=-1, extendedError=00040000
96885 2019/11/13 19:49:39.000000 1064.8390 77 ECU1 CrM API 2421 log info verbose 1 T2561 GSTLogs ERROR ducati gstducati.c(61):gst_ducati_log_extended_error_info: Bit 18 (00040000): stream end
96886 2019/11/13 19:49:39.000000 1064.8404 78 ECU1 CrM API 2421 log error verbose 1 T2561 CgstPlayerApi::seek(): Seek failed
96887 2019/11/13 19:49:39.000000 1064.8404 101 ECU1 CrM CoMN 2421 log info verbose 1 T2561 HResult: Unknown
96888 2019/11/13 19:49:39.000000 1064.8405 110 ECU1 CrM HMPE 2421 log error verbose 1 T2561 CURIPlayer::SeekTo(): Seek failed
97094 2019/11/13 19:49:39.000000 1064.9337 91 ECU1 CrM API 2421 log info verbose 1 T8918 GSTLogs WARN waylandsink wlvideoformat.c(102):gst_wl_shm_format_to_video_format: gst video format not found
97097 2019/11/13 19:49:39.000000 1064.9466 94 ECU1 CrM API 2421 log info verbose 1 T8918 GSTLogs WARN waylandsink wlvideoformat.c(102):gst_wl_shm_format_to_video_format: gst video format not found
97112 2019/11/13 19:49:39.000000 1064.9568 95 ECU1 CrM API 2421 log info verbose 1 T9647 GSTLogs WARN bufferpool gstbufferpool.c(300):do_alloc_buffer:<vpebufferpool17> alloc function failed
97113 2019/11/13 19:49:39.000000 1064.9568 96 ECU1 CrM API 2421 log info verbose 1 T9650 GSTLogs WARN basesink gstbasesink.c(3374):gst_base_sink_chain_unlocked:<vsink> warning: Internal data flow problem.
97114 2019/11/13 19:49:39.000000 1064.9570 97 ECU1 CrM API 2421 log info verbose 1 T9650 GSTLogs WARN basesink gstbasesink.c(3374):gst_base_sink_chain_unlocked:<vsink> warning: Received buffer without a new-segment. Assuming timestamps start from 0.
97118 2019/11/13 19:49:39.000000 1064.9675 101 ECU1 CrM API 2421 log info verbose 1 T9647 GSTLogs WARN bufferpool gstbufferpool.c(300):do_alloc_buffer:<vpebufferpool17> alloc function failed

Ticket 2: Seek hang
In Seek_hang.txt, seek was hang when play file: NaJa (Full Song) - Pav Dharia - Latest Punjabi Songs - White Hill Music.mp4, found many allocate error in the logs:
151596 2019/11/14 17:25:04.000000 5419.0772 93 ECU1 CrM API 2488 log info verbose 1 T4330 GSTLogs WARN bufferpool gstbufferpool.c(300):do_alloc_buffer:<vpebufferpool1> alloc function failed
151759 2019/11/14 17:25:04.000000 5419.2259 94 ECU1 CrM API 2488 log info verbose 1 T4330 GSTLogs WARN bufferpool gstbufferpool.c(300):do_alloc_buffer:<vpebufferpool1> alloc function failed
151760 2019/11/14 17:25:04.000000 5419.2367 95 ECU1 CrM API 2488 log info verbose 1 T4330 GSTLogs WARN bufferpool gstbufferpool.c(300):do_alloc_buffer:<vpebufferpool1> alloc function failed
152369 2019/11/14 17:25:06.000000 5420.6470 152 ECU1 CrM HMPE 2488 log info verbose 1 T2729 CURIPlayer::seekTo() pos: 233000
152370 2019/11/14 17:25:06.000000 5420.6470 153 ECU1 CrM HMPE 2488 log info verbose 1 T2729 CURIPlayer::seekTo() playstate is 3, not cover targetPlayState:0

DRA756: Altium library files for DRA756BPGABCQ1

$
0
0

Part Number: DRA756

Hi,

I have 2 questions regarding DRA756:

  1. Where/ how can I get Altium library files for DRA756BPGABCQ1?
  2. Expected release/ samples date of DRA756BPGABCQ1?

With Regards,
Kristoffer

AM5728: USB2.0 LPM issue

$
0
0

Part Number: AM5728

In the previous thread, the USB driver software required patching since the AM5728 does not support USB2.0 LPM.

In the latest USB driver source code, it doesn't seem to check that the USB port (host) supports USB2.0 LPM before enabling USB2.0 hardware LPM.

https://elixir.bootlin.com/linux/v5.3.12/source/drivers/usb/core/hub.c#L4468

 /*
  * There are reports of USB 3.0 devices that say they support USB 2.0 Link PM
  * when they're plugged into a USB 2.0 port, but they don't work when LPM is
  * enabled.
  *
  * Only enable USB 2.0 Link PM if the port is internal (hardwired), or the
  * device says it supports the new USB 2.0 Link PM errata by setting the BESL
  * support bit in the BOS descriptor.
  */
 static void hub_set_initial_usb2_lpm_policy(struct usb_device *udev)
 {
  struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent);
  int connect_type = USB_PORT_CONNECT_TYPE_UNKNOWN;
 
  if (!udev->usb2_hw_lpm_capable || !udev->bos)
   return;
 
  if (hub)
   connect_type = hub->ports[udev->portnum - 1]->connect_type;
 
  if ((udev->bos->ext_cap->bmAttributes & cpu_to_le32(USB_BESL_SUPPORT)) ||
    connect_type == USB_PORT_CONNECT_TYPE_HARD_WIRED) {
   udev->usb2_hw_lpm_allowed = 1;
   usb_enable_usb2_hardware_lpm(udev);
  }
 }

Should the above source code be changed to not enable USB 2.0 hardware LPM in all cases?

Are there any changes required other than the above source code?

Our customer has a problem that some USB flash drive does not work with WEC7 on a custom board. If the WEC7 USB driver has the same issue, it will be changed with reference to the Linux USB driver.

Best regards,

Daisuke


AM4376: Configure frame sync of McASP

$
0
0

Part Number: AM4376

Hi,

We are using the AM437x ARM Cortex-A9 processor and are utilizing the McASP module for transferring I2S audio. Currently we are facing some problems and would need to configure McASP as clock master on I2S and to generate 25, alternatively 30, clock cycles per frame. For example, if we use a bit clock (XCLK) of 800 kHz, the generated sample rate need to be 16 kHz (16 kHz * 2 channels * 25 bits = 800 kHz).

Is there any way to accomplish this?

We have seen that transmit slot size (XSSZ in MCASP_XFMT register) is only configurable to 8/12/16/20/24/28/32 bits, but is there any way to still generate 25 clock cycles per frame even though data is only output on first 24 bits? Is there any padding configuration or similar?

We will be very thankful for a quick answer. Thanks!

Regards,
Magnus

TDA3XEVM: Capture upper 8-bits of monochrome RAW10 as U8

$
0
0

Part Number: TDA3XEVM

Hi,

We have some questions about the capture module of the TDA3.
 
We are using a monochrome image sensor using CSI2. These sensors work at RAW10.
 
We got a capture-CSI2-display-HDMI loopback example to work on the TDA3EVM but the captured image is stored in U16 format (i.e. stored in 10 bit LSB. upper 6 bits are 0)
 
Because our algorithm is optimized for working in U8. We would like to capture these monochrome images as RAW8 (i.e. shift right two bits) and store it in U8 format.
 
What we've tried:
  1. We've tried to store these as U8 by setting the packing to U8 in the CAL module but the lower 8-bits of the RAW10 are stored and there is no shift by 2. We might be able to compensate for this by lowering the gain in the sensor by 1/4 but we have not tried this.
  2. Use the ISP to convert it to YUV402 and use the Y component as this is stored as U8. However we do not understand the implication of the Bayer RGGB conversion forced upon the IPIPE module. We do not know how much quality degradation this will give us in the end.

We have the following questions:
  1. Is there a simple way of capture monochrome RAW10 directly from sensor and store these as U8 shifted right by 2. Would it be possible to configure a DMA to do this conversion?
  2. Is there a way of treating the incoming monochrome RAW10 without the Bayer filtering?
  3. How is the Bayer filtering affect our monochrome input?
  4. Is there any other recommended way of handling this?
Thanks in advance
Jean

Compiler/AM3359: Modbus Implementation

$
0
0

Part Number: AM3359

Tool/software: TI C/C++ Compiler

Hello everyone,

I am trying to implement modbus using libmodbus library on am335x starter kit. i am trying to communicate am335x kit with my PC (in which i have installed Ubuntu 18.04) using libmodbus library on serial port.

In order to establish communication i need some software/terminal on PC so i can test Modbus master as well as for modbus slave codes.

So if can you suggest me any software/terminal for Modbus master and modbus slave on Ubuntu then it will be really helpful for me.

Thank you.

66AK2G12: Clock tree tool mismatch

$
0
0

Part Number: 66AK2G12

Hi,

I am designing a board with 66AK2G12 and I am using Clock tree tool v.1.0.0.2 that allow to select this device and silicon revision 1.0.

For my purpose I need to obtain a 25 MHz clock signal on CLKOUT ball H23 for two Ethernet phy in MII mode. According to SPRUHY8I TRM, I can use NSS/IEP PLL that generates 1GHz clock signal, divided for  20 factor, obtain 50MHz. Through a 2 factor of division and the mux enable signal set to 1, I obtain 25 Mhz at the output.  

   

Now I am checking with CTT if this choice is correct but I see that the division factor is 200 and not 20, 2.5 MHz clock signal reaches the CLKOUT pad and not 25 MHz. 

Please can you confirm that this is an error on CTT and the TRM is correct?

Regards

Graziano Rufolo

Hardware/Firmware Engineer

Hitachi Rail

AM5728: Junction temperature formula difference

$
0
0

Part Number: AM5728

Hello TI,

In the "Thermal Design Guide for DSP and ARM Application Processors" application report (link to the pdf below), the junction temperature equation seems to be different at two different places. In equation 2 and in equation 7, although they seem to refer to the same thing. In equation 2, you have Theta_CS*Theta_SA component and in equation 7 you have Theta_CS+Theta_SA component. I am assuming that one of it is a typo error. I would like to know which one is correct. OR if I am missing something then please let me know.

https://www.ti.com/lit/an/sprabi3b/sprabi3b.pdf

Viewing all 17527 articles
Browse latest View live


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