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

Linux/PROCESSOR-SDK-AM335X: USB functional tests

$
0
0

Part Number:PROCESSOR-SDK-AM335X

Tool/software: Linux

Hi,

I was going through the below link 

for putting the musb in high speed and full speed modes. My question is, is it possible to do something like this:

a) force musb to full speed 

b) connect high speed (2.0) USB flash drive

c) transfer file to and fro from the flash drive to my board

d) If I read the "cat /sys/kernel/debug/usb/devices" then the speed will be indicated accordingly as full speed? If not, is there any other indication or proc/sysfs entry in the kernel which indicates that the connected flash drive is operating at full speed (though it is capable of high speed?)

Having read the link, I was unsure if we can do normal functional tests with a usb flash drive when running musb controller in test mode. please help answer.

Note: I am using Linux kernel 4.9.31.

Regards,

Fariya


Linux/DRA77P: Unable implement boot optimization

$
0
0

Part Number:DRA77P

Tool/software: Linux

Hi,

I have been trying to implement boot optimization by following the guide 

www.ti.com/lit/an/sprac82/sprac82.pdf

I was successful in implementing it in ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01 kernel version 4.4. Placed MLO, u-boot.img, uImage and dra76-evm.dtb in qspi and the root filesystem in eMMC.

But now when I tried the same implementation in Kernel  version 4.14, I am unable to apply the patches mentioned in the above guide since some files where the patch is to be applied are missing and many changes are observed in the files where changes are required,

What changes are really needed to be followed, in order to make qspi as the boot partition and root partition as eMMC ?

I have already implemented this with prev version, but here I am unable to implement it.

Regards,

Padmesh

AM3354: 18-bit LCD connections

$
0
0

Part Number:AM3354

Hi Team,

Could you tell me what to do with unused LCDC pins when connecting RGB18bit LCD?
Also, could you also tell me how to assign the LCDC pins to each colors(Where should I refer to?)

Regards,

Takashi Onawa

Linux/TDA2SX: Regarding the converting the non cached region to cache region in the entries of IPU-AMMU

$
0
0

Part Number:TDA2SX

Tool/software: Linux

Hi all,

I am presently  working on TI EVM TDA2x board with cpu as "DRA752-GP ES2.0" & DRAM = 4GB.

https://e2e.ti.com/support/processors/f/791/p/813005/3020155#3020155

In the above discussion present in the link, my query was to increase the size of SR1 region because my system use-case requirements demands more.
Infact I have my custom board designed with 4GB DDR3.
So my intention is to increase the current size of 250MB of SR-1 region to 1GB (cached SR-1 region).
Can you please tell me how to do this in the memory map.


Btw, please don't suggest to decrease my consumption of SR-1 to fit within 250MB or 512MB, because neither usecases can be dropped to do that nor any optimization is possible to fit within the default size of 250/512MB.
Hope you understand the point. Expecting your suggestions in this regard..

Thanks & Regards,

A.Kavya Harini.

TMS320DM8147: DSP reset/restart/reload fails after many successful iterations

$
0
0

Part Number:TMS320DM8147

The setup of interest here is a DM8147 the is running a custom uboot to load code across the PCIe bus to the DSP and then start the DSP.

The DSP has EDMA and McASPs active and runs 8 tasks. Everything works as expected.

What doesn't work i100% of the time is an asynchronous  "soft" reboot. This happens when the ARM resets the DSP and code is reloaded across the PCIe bus and the DSP restarted. Are there special steps required to reset the DSP to it's powered down state.

Additionally, once the DSP has failed to come up correctly, a complete power off, restart cycle is required.

Are there any additional steps required to soft reboot the DSP in the DM8147.

Thanks.

Linux/AM5708: error to save encode file of vivid using g streamer.

$
0
0

Part Number:AM5708

Tool/software: Linux

Dear All,

I am trying to below command to save the encoded video of vivid but got an error as below.

gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480' ! queue ! vpe num-input-buffers=8 ! 'video/x-raw,format=(string)NV12,width=1280,height=720' ! ducatih264enc ! queue ! h264parse  ! qtmux ! filesink location=test.mov

Setting pipeline to PAUSED ...
MmRpc_create: Error: open failed, name=/dev/rpmsg-dce
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstDucatiH264Enc:ducatih264enc0: Could not initialize supporting library.
Additional debug info:
../../../../gst-plugins-base-1.8.3/gst-libs/gst/video/gstvideoencoder.c(1541): gst_video_encoder_change_state (): /GstPipeline:pipeline0/GstDucatiH264Enc:ducatih264enc0:
Failed to start encoder
../git/libdce.c:416:    dce_ipc_init    ERROR: Failed eError == DCE_EOK error val -4../git/libdce.c:479:        Engine_open     ERROR: Failed dce_ipc_init(coreIdx) == DCE_EOK error val -4Setting pipeline to NULL ...
Freeing pipeline ...


I tested below command and it's working fine.

root@am57xx-evm:~# gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480' ! queue ! vpe num-input-buffers=8 ! kmssink
Setting pipeline to PAUSED ...
A pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:24.999316471
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

Please help me to solve this issue as soon as possible because I am stuck due to this issue.

Linux/AM5726: Upcoming SDK release

$
0
0

Part Number:AM5726

Tool/software: Linux

Hi,

While searching the website of TI, I could not come across to upcoming releases of the SDK and I would like to know what kind of improvement will be done. I appreciate if you can share website links consisting this information or anything else. As far as I know currently SDK 5 is available for us and 6 will be released in the following months (September may be)

Kind Regards,

Mustafa

RTOS/OMAP-L138: NDK_EWOULDBLOCK error when I receive data more than 1456B

$
0
0

Part Number:OMAP-L138

Tool/software: TI-RTOS

Hi,

I have a problem with the NDK_recv function. When I receive less then 1456B of data the program works correctly but when I want  to receive more then 1456B then NDK_recv returns -1 and I see am error NDK_EWOULDBLOCK..

static void NetworkOpen()
{
    hFtp =   DaemonNew( SOCK_STREAM,     0, 21,      dtask_ftp,          OS_TASKPRINORM,  65536, 0, 3);
}

int dtask_ftp(SOCKET s, uint32_t unused){

    struct timeval timeout;

    int ret;

    char buffer[BSIZE];
    int bytes_read;

    Command cmd;// = malloc(sizeof(Command));
    State state;

    /* Configure our socket timeout to be 5 seconds */
    timeout.tv_sec  = 10;
    timeout.tv_usec = 0;

    setsockopt( s, SOL_SOCKET, SO_SNDTIMEO, &timeout, sizeof(timeout) );

    timeout.tv_sec  = 40;   //Ustawienie na 40 sek, gdyz niektore menadzery do FTP wysylaja co okolo 30s zapytanie o nowe dane,
                            //jak bedzie rzadziej niz 40s, wowczas polaczenie bedzie po prostu ponawiane
    timeout.tv_usec = 0;
    setsockopt(s, SOL_SOCKET, SO_RCVTIMEO, &timeout, sizeof(timeout) );

    //setsockopt(s, SOL_SOCKET, SO_DEBUG, NULL, 0 );


/** Handle STOR command. TODO: check permissions. */
void ftp_stor(Command *cmd, State *state){

SOCKET connection = NULL;
FRESULT fr;
FIL file;
char buf[BUF_SIZE];
unsigned int numWrite;
int numRecv;

int recv_total = 0;
int fileOpenFlag = 0;

if(state->logged_in){

/* Passive mode */
if(state->mode == SERVER){

fr = f_open(&file, cmd->arg, FA_CREATE_ALWAYS | FA_WRITE); //otwarcie pliku w trybie do zapisu,
//jezeli isnieje to zostanie nadpisany,
//jezeli nie, to zostanie utworzony

if(fr == FR_OK){

fileOpenFlag = 1;
connection = accept_connection(state->sock_pasv);
if(fdClose(state->sock_pasv)){
PRINTF_DEBUG("%s %s():%d, fdClose(), nieudana proba zamkniecia socketu\r\n", __FILE__, __FUNCTION__, __LINE__);
}

state->message = "125 Data connection already open; transfer starting.\n";
write_state(state);

recv_total = 0;

int i = 0;

while(1){

//PRINTF_DEBUG("czekanie na dane, i = %d\r\n", i);
numRecv = recv(connection, buf, BUF_SIZE, MSG_WAITALL ); //HERE I HAVE A PROBLEM

.........................


I'm using the latest SDK

Where should I look for a problem?

Regards, Patryk


Linux/PROCESSOR-SDK-AM335X: USB questions

$
0
0

Part Number:PROCESSOR-SDK-AM335X

Tool/software: Linux

Hi

I have few queries on the USB subsystem and wanted a little clarification. My lInux kernel is 4.9.31.

1. USB DMA (USB_TI_CPPI_DMA) is enabled in my kernel configuration.. so my question is what size FIFO buffer is used? Is buffer size adequate for HS interface data transfer needs?

2. What will be the minimum time for detection of a USB flash drive (default musb controller mode is set to otg in the dtb file)

3. What is the maximum time required to switch between USB host and device modes? For instance, if I need to plug in a USB cable (for RNDIS connection) and quickly plug it out and plug in a USB flash drive then.. how much time do I need to give between for the mode switch to happen (from device to host mode or vice-versa)

4. Considering it is possible to change USB speed (full speed/high speed) using dtb.. if i use a dtb overlay file and then configure this.... i,e initially usb is configured for high speed and during the course of my test, I change it to full speed using dtb overlay. will this work or do I need to reset the USB subsystem (using a command) or reload drivers?

5. If USB device doesn't get detected and I need some info.. will there be any information that I can get from Linux kernel (other than the prints) via sysfs/procfs etc.

6. Finally, the ID pin status is detected in hardware and the information that a flash device is plugged in/a usb cable (RNDIS) is given to the USB driver via an interrupt I suppose. Please confirm.

Regards,

Fariya 

AM4378: Can HDQ Open-Drain capability be used as single GPIO with interrupt capability?

$
0
0

Part Number:AM4378

Support,

Can the HDQ open-Drain capability be used if pin is configured as GPIO? i.e. bypass the HDQ/1-Wire protocol control portion and use it as GPIO. 

It may be a long shot since the data sheet shows pin K24 as HDQ_SIO/IOD and GPIO5_1/IO.

Regards,

Marc

TDA2EVM5777: Import TensorFlow segmentation models for TIDL

$
0
0

Part Number:TDA2EVM5777

Hi TI,

I could not convert TensorFlom autoencoder model with tidlModelImport tools. 

Could TIDL support Tensorflow segmentation models? Or only Caffe?

Linux/AM5716: Peripherals started from other cores are suspended by Linux?

$
0
0

Part Number:AM5716

Tool/software: Linux

We have a custom AM5716-based board with Linux kernel from TI Processor SDK 5.03 (latest). We run custom firmware on other cores (DSP, IPU) which use, for instance, some hardware timers. The firmware does not use RTOS, and Linux has all timers disabled in device tree (status = "disabled").

We have the following issue: some timers (and other peripherals) do not run properly being started from other cores when Linux is running. But as soon as we type anything in Linux serial console, timers run. Without Linux everything works fine. We suspect that it might be because Linux doesn't know that timers are in use (they are programmed from another core), and may stop/suspend them. Serial console activity might wake up them.

The question is: can we somehow disable the Linux power management features, so it will not stop peripherals? The CONFIG_PM kernel option is enabled internally and cannot be unchecked by the kernel config tool. What else should we try to resolve the issue? Maybe other ideas what happens?

TDA2HV: Will TDA2 device operate properly if VDD_RTC is disconnected from VDD (RTC SS not enabled) during usage?

$
0
0

Part Number:TDA2HV

A TI customer asks the following:

"We would like to know what would happen if the VDD_RTC pin of the TDA2x device is not supplied. Currently, VDD_RTC is connected to VDD. Please know that we do not use the RTC sub-system in the design. Will the SoC work properly or can it hang?"

On behalf of the customer, I searched the TDA2x Data Manual and Technical Reference Manual for instances of VDD_RTC. Reviewing the documents, I do not see any warning related to the question. I do see that VDD_RTC appears in the required power-up and power-down sequencing; however, I believe the customer's concern is related to a use case after power-up and before power-down. 

I searched the TI Public E2E database for VDD_RTC and TDA2, but I did not find any relevant posts about the topic.

So, specifically:

  1. If VDD_RTC is tied high and becomes disconnected during normal use, what would happen to the SoC? Would it damage the device? Would it cause the SoC to hang?
  2. If the customer's system does not use the RTC sub-system, does the power-up and power-down sequence matter? Currently, the VDD_RTC is held high.

With kind regards,

Jason

Linux/PROCESSOR-SDK-AM335X: Memory needed to build arago

$
0
0

Part Number:PROCESSOR-SDK-AM335X

Tool/software: Linux

How much memory should i allocate for arago build for tisdk-rootfs-image for AM335X?

Processor SDK 6.0 Released (AM65x, AM57x, AM437x, AM335x, AMIC1x, K2x, C66x, C674x, OMAP-L13x)

$
0
0

Processor SDK 6.0 is now available for download! For migration information, see the page for the individual operating system: Linux, RTOS, or Android.

 The Processor SDK (Software Development Kit) is a unified software platform for TI embedded processors providing easy setup and fast out-of-the-box access to benchmarks and demos. All releases of Processor SDK are consistent across TI’s broad portfolio, allowing developers to seamlessly reuse and develop software across devices. Developing scalable platform solutions has never been easier than with the Processor SDK and TI’s embedded processor solutions.

 To simplify the end user experience, the software installers are customized for the hardware platform and the operating system – Linux, RT-Linux, RTOS, or Android. In the table below, you can find a direct link to a download page for your platform and operating system:

Platform
Family

General Purpose (GP) Device

High Secure (HS) Device

Linux

RT-Linux

RTOS

Android

Linux HS

RT-Linux HS

RTOS HS

AM335x

download

download

download

 

mySecure download

 

 

AM437x

download

download

download

 

mySecure download

 

mySecure download

AM57x

download

download

download

download

mySecure download

mySecure download

 

AM65x

download

download

download

download

mySecure download

 

mySecure download

AMIC110

 

 

download

 

 

 

 

AMIC120

 

 

download

 

 

 

 

K2E

download

download

download

 

mySecure download

 

 

K2G

download

download

download

 

mySecure download

 

mySecure download

K2H/K

download

download

download

 

mySecure download

 

 

K2L

download

download

download

 

mySecure download

 

 

C665x

n/a

n/a

download

 

n/a

n/a

 

C667x

n/a

n/a

download

 

n/a

n/a

 

C6747/45/43

n/a

n/a

download

 

n/a

n/a

 

C6748/46/42

n/a

n/a

download

 

n/a

n/a

 

OMAP-L137

 

 

download

 

 

 

 

OMAP-L138

download

 

download

 

 

 

 

 

 Linux Release Highlights:

  • 2019 LTS Update: First release in 2019 LTS (Kernel 4.19, U-boot: 2019.01, gcc: 8.3 2019.03 hf, Yocto 2.6 (thud). For more details, see the Migration Guide.
  • HSR/PRP/EMAC/PTP
    • Boundary clock with all 3 legs or 5 legs on AM57xx, with redundancy (HSR/PRP)
      • 3 legs: 1xCPSW and 1x per PRU-ICSS (HSR/PRP/EMAC running on 2x PRU-ICSS)
      • 5 legs: 1xCPSW and 2x per PRU-ICSS (Dual-EMAC on 2xPRU-ICSS)
    • Upgraded linuxptp to v2.0
    • Driver enhancements to deliver packets across two ports in-order to the host
    • AM335x: Support PTP 1588 in DAN mode
  • Analytics
    • Upgrade ARMNN to latest available version (2019.05)
    • Remove restriction of number of nodes for inner product layer in TIDL Library
    • Predictive Maintenance (PdM) demo on AM57x - using data from AM437x single-chip motor control
  • AM65x
    • U-boot: support networking over ICSS-G
    • U-boot: USB hub and USB mass storage
    • Watchdog support
    • DisplayPort driver enhancements for TC358867 DPI-DP bridge
    • AVS Class 0 support
  • Additional information in Linux Release Notes

 

RTOS Release Highlights:

  • General
    • PDK Drivers- SMP mode support with examples for A15/A53 cores (supported for AM57x and AM65x SOCs)
    • Build time optimization through parallel make: make (-j) (supported for AM3/4/5/6 and OMAPL13x SOCs)
  • AM65x
    • Serdes diagnostic application
    • PCIE QoS example
  • AM57x
    • CSL-FL example for GPMC
  • Additional information in RTOS Release Notes

 

Android Release Highlights

  • This is first “P-Pastry” based release of Processor SDK Android, based on 2019 LTS (Kernel 4.19)
  • Additional information in Android Release Notes

 

The Processor SDK is free, and does not require any run-time royalties to Texas Instruments.

For more information on the software and getting started, see the online Developer’s Guide for each operating system:

 


CCS / TMS320C6748: TMS320C6748 CCS6.2

$
0
0

Part Number: TMS320C6748

Tool/software: Code Composer Studio

The software CCS6.2 we used encountered problems. The DSP uses TMS320C6748

There was a problem in calling the sin cos function and it was not successful.

What are the library files and header files? And how to add it. Thank you.

RTOS/AM5728: Is it possible to boot from USB on the BeagleBoard X15?

$
0
0

Part Number: AM5728

Tool/software: TI-RTOS

We have tried setting the sysboot pins according to Table 33-9 in the spruhz6k.pdf document (AM572x Technical Reference Manual). However, we have not had success in getting the BeagleBoard X15 to boot from USB and I have also seen statements on the web that say it is not possible. So is it possible on a development board?

Linux/AM5728: Is there some OTP flash or nonvolatile memory on the SOC

$
0
0

Part Number: AM5728

Tool/software: Linux

My hardware is AM5728 with the PMIC TPS6590375. We want do store some product message, such as serial number, to the board.

Is there some OTP flash or nonvolatile memory on AM5728 or PMIC that we can use?

AMIC120: EtherCAT memory

$
0
0

Part Number: AMIC120

I am designing an EtherCAT slave board with sitara AMIC120 processor. is that OK, if I do not use an external EEPROM for the EtherCAT communication purpose? 

Thanks and regards 

Arvinda kumar

Linux/AM3352: MLO fail switching logic

$
0
0

Part Number: AM3352

Tool/software: Linux

Hi,

I would like to know how ROM code will switch MLO in case MLO fail to start from 0x00000000. I understand ROM code will check for below address for valid MLO.

0x00000000
0x00020000
0x00040000
0x00060000

I have flashed two copies of MLO one at 0x00000000 & second 0x00020000. I would like ROM code to use the second address if it fails to boot from the first address.

Viewing all 17527 articles
Browse latest View live


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