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

Linux/AM5718: Qt OpenGLES Application on HDMI

$
0
0

Part Number:AM5718

Tool/software: Linux

Hii,

Please help me finding the answers for following questions.

1 To render Qt OpenGL application on HDMI display , where is the configuration done ? (Path for that file)

How we can select LCD/HDMI to be displayed on for Qt application?

2. If I am following below link, I am able to display the application after Matrix App.

http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Hands_on_with_QT 

If I want to display my application on HDMI without matrix how can I do that ?

Thanks and regards...

Arpita Jena


Linux/AM3354: Bad device mmc 0

$
0
0

Part Number:AM3354

Tool/software: Linux

Dear All,

I have a custom AM3354 board, mostly based on SK.

I am using ti-processor-sdk-linux-am335x-evm-05.01.00.11.

Using uart boot mode, I get ' Bad device mmc 0' error.

U-Boot SPL 2018.01-00445-gc852b6f-dirty (Jan 10 2019 - 11:29:53)
Trying to boot from UART                                                             
CCCzModem - CRC mode, 4333(SOH)/0(STX)/0(CAN) packets, 9 retries
Loaded 553868 bytes


U-Boot 2018.01-00445-gc852b6f-dirty (Jan 10 2019 - 11:29:53 +0300)

CPU  : AM335X-GP rev 2.1
Model: TI AM335x LOCUS
DRAM:  256 MiB
MMC:   OMAP SD/MMC: 0
** Bad device mmc 0 **
Using default environment

<ethaddr> not set. Validating first E-fuse MAC
Net:   Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot:  0                                                     
MMC Device 1 not found                                                               
no mmc device at slot 1                                                              
MMC Device 1 not found                                                               
no mmc device at slot 1                                                              
## Error: "bootcmd_nand0" not defined                                                
starting USB...                                                                      
USB0:   MUSB host is not registered                                                  
Port not available.                                                                  
No ethernet found.                                                                   
missing environment variable: pxeuuid                                                
Retrieving file: pxelinux.cfg/00000000                                               
No ethernet found.                                                                   
Retrieving file: pxelinux.cfg/0000000                                                
No ethernet found.                                                                   
Retrieving file: pxelinux.cfg/000000                                                 
No ethernet found.                                                                   
Retrieving file: pxelinux.cfg/00000                                                  
No ethernet found.                                                                   
Retrieving file: pxelinux.cfg/0000                                                   
No ethernet found.                                                                   
Retrieving file: pxelinux.cfg/000                                                    
No ethernet found.                                                                   
Retrieving file: pxelinux.cfg/00                                                     
No ethernet found.                                                                   
Retrieving file: pxelinux.cfg/0                                                      
No ethernet found.                                                                   
Retrieving file: pxelinux.cfg/default-arm-am33xx                                     
No ethernet found.                                                                   
Retrieving file: pxelinux.cfg/default-arm                                            
No ethernet found.                                                                   
Retrieving file: pxelinux.cfg/default                                                
No ethernet found.                                                                   
Config file not found                                                                
starting USB...                                                                      
USB0:   MUSB host is not registered                                                  
Port not available.                                                                  
No ethernet found.                                                                   
No ethernet found.                         

Below is my configuration for eMMC.

Could you tell me what am I missing or doing wrong?

&mmc1 {
    status="disabled";
};

&mmc2 {
    vmmc-supply = <&vmmc_reg>;
    pinctrl-names = "default";
    pinctrl-0 = <&emmc_pins_default>;
    bus-width = <8>;
    status = "okay";
};

&mmc3 {

    status="disabled";
};

emmc_pins_default: emmc_pins_default {
        pinctrl-single,pins = <
            0x80 ( PIN_INPUT | MUX_MODE2 ) /* (U9) gpmc_csn1.mmc1_clk */
            0x84 ( PIN_INPUT | MUX_MODE2 ) /* (V9) gpmc_csn2.mmc1_cmd */
            0x0 ( PIN_INPUT | MUX_MODE1 ) /* (U7) gpmc_ad0.mmc1_dat0 */
            0x4 ( PIN_INPUT | MUX_MODE1 ) /* (V7) gpmc_ad1.mmc1_dat1 */
            0x8 ( PIN_INPUT | MUX_MODE1 ) /* (R8) gpmc_ad2.mmc1_dat2 */
            0xc ( PIN_INPUT | MUX_MODE1 ) /* (T8) gpmc_ad3.mmc1_dat3 */
            0x10 ( PIN_INPUT | MUX_MODE1 ) /* (U8) gpmc_ad4.mmc1_dat4 */
            0x14 ( PIN_INPUT | MUX_MODE1 ) /* (V8) gpmc_ad5.mmc1_dat5 */
            0x18 ( PIN_INPUT | MUX_MODE1 ) /* (R9) gpmc_ad6.mmc1_dat6 */
            0x1c ( PIN_INPUT | MUX_MODE1 ) /* (T9) gpmc_ad7.mmc1_dat7 */
        >;
    };

Linux/AM5728: TI-AM57xx-EVM

$
0
0

Part Number:AM5728

Tool/software: Linux

Hi,

I want to configures PWMSS 1,2 & 3 on AM57xx-evm kit .

Am Able to configure PWM that also shown under /sys/class/pwm/ 

(pwmchip0 , pwmchip2 & pwmchip4

In mux_data.h i configured pin35& pin37 of expension connector P17 as an ehrpwm3Aehrpwm3B, but i didnt get required result on these pins. However am able to do all required configuration for pwmchip4 - channels like pwm0 & pwm1 like setting period, duty_cycle, enable e.t.c

Is there any other setting required to change current state of pins to pwm output pins

TCI6638K2K: Smart Reflex for core not recommended for new design

$
0
0

Part Number:TCI6638K2K

Hi,

Looking at a re-desing of a system that mount TCI6638K2L, I had figured out that UCD9244 used is not recommended for new design.

Considering this I'm searching for proper replacement.

Suggested alternative TPS53647 seems not have PINs for VID interface.

As far as the TCI6638K2L expose two VID control interfaces, I would like to have an alternative that will fit same EVM architecture.

Regards,

Alessandro.

Booting procedure for EVM Infotainment Kit J6EVM5777

$
0
0

Hi,

I have a new J6EVM5777 Infotainment evaluation Kit, can you please share the procedure how to bring up this platform for android infotainment.

I have downloaded the prebuild image from software-dl.ti.com/infotainment/jacinto6/android/6AO_1_0_Release/binaries/6AO_1_0_emmc.tgz.

I want to know the procedure how to boot from memory card ( Android O).

Best Regards,

Shareen Taj A

Linux/PROCESSOR-SDK-AM335X: Re: Bluetooth Prob in AM335x Starter KIt

$
0
0

Part Number:PROCESSOR-SDK-AM335X

Tool/software: Linux

Hello,

We are using AM335x SK with Linux OS.  But we didn't able to use Bluetooth.Having Please find attached booting log prints.

(Please visit the site to view this file)

Please help me out.

Regards,

RAJA

RTOS/TDA2: Using vlib for resizing a image effficiently

$
0
0

Part Number:TDA2

Tool/software: TI-RTOS

Hello,

I am using existing vlib for resizing a image (i.e. ti_components/algorithms/vlib_c66x_3_3_0_3/packages/ti/vlib/src/VLIB_image_rescale).
This library works fine, meaning gives me resized image. Currently it gives around 48 output fps and DSP is utilizing 87%.
I want this library results in 60 or more than 60 fps.

Until now, as part of optimization i did following things,

1. transferred chunk of data from DDR to internal memory of DSP using edma and processing inside SRAM only.

2. data transfer and processing in ping pong fashion.
--------------
I have below doubts/query,

1. At what rate VLIB_image_rescale() can execute?

2. What else I need to do to get min. 60 fps ?

Regards,

Kajal

AMIC120: Stepper motor control

$
0
0

Part Number:AMIC120

Hi,

Do you have any sample code and document to support Stepper motor by using AM437x-EVM ?

Using AM437x-EVM AC motor, now. We want to replace AC motor to Stepper motor for further evaluation.

(4x PWM output is required while AC motor uses 3x output wire.)

Regards,

Ken


TMDXIDK5718: Boot support for QSPI1 and DFU USB

$
0
0

Part Number:TMDXIDK5718

Hi,

As I understand , booting from QSPI1 is possible for TMDXIDK5718.

1. How to write ""Boot images"" Uboot and MLO to QSPI1 flash?? I guess it is possible only via MMC SD card.

If i change the sysboot pins for peripheral boot from USB1 (DFU) is it possible??. I guess USB1 in TMDXIDK5718 is configured as host device. is such a case will this port support DFU.

From Uboot can i download image via USB2 (DFU). How to do this ?? does TI provide any examples for this??

TDA3XEVM: Capture processed raw data over ethernet to HDMI

$
0
0

Part Number:TDA3XEVM

Hi,

I would like to choose ethernet as input to display device.Is there any usecase which can send raw data over ethernet to display.

Can you pls suggest with solution.

Regards,

Anil 

RTOS/TDA2EVM5777: RTOS appImage stop at "Jumping to MPU CPU0 App" after load image files

$
0
0

Part Number:TDA2EVM5777

Tool/software: TI-RTOS

Dear TI,

As described in the title,this is the detail information:

TDA2xx SBL Boot

DPLL Configuration Completed

Clock Domain Configuration Completed

Module Enable Configuration Completed

TI EVM PAD Config Completed

DDR Config Completed

App Image Download Begins

SD Boot - file open completed successfully

MPU CPU0 Image Load Completed

IPU1 CPU0 Image Load Completed

IPU1 CPU1 Image Load Completed

IPU2 CPU0 and CPU1 Image Load Completed

DSP1 Image Load Completed

DSP2 Image Load Completed

EVE1 Image Load Completed

EVE2 Image Load Completed

EVE3 Image Load Completed

EVE4 Image Load Completed

App Image Download Completed

Putting MPU CPU1 in Off mode

EVE MMU configuration completed

EVE MMU configuration completed

EVE MMU configuration completed

EVE MMU configuration completed

*****************************************************************

PMCCNTR counts once every 64 clock cycles, multiple by 64 to get actual CPU cycles

SBL Initial Config Cycles - 144493 (12.33 ms)
SOC Init Cycles - 170871 (14.58 ms)
DDR Config Clock Cycles - 43431 (3.70 ms)
App Image Load Cycles - 83283797 (7106.88 ms)
Slave Core Bootup Cycles - 208040 (17.75 ms)
SBL Boot-up Cycles - 83851696 (7155.34 ms)
Time at which SBL started IPU1_0 - 244625 (20.87 ms)
*****************************************************************

Jumping to MPU CPU0 App:

                 What caused this is I add the following code in function 'System_initLinks(void)' in file links_fw\src\rtos\links_common\system\system_initDeinitLinks.c

#ifdef links_ipu_TDACom
   TDAComLink_init();
#endif

After i comment this code , app can startup normally: ------Question 1: What can i do to fix this , how should i init my own links?


EVE MMU configuration completed

*****************************************************************

PMCCNTR counts once every 64 clock cycles, multiple by 64 to get actual CPU cycles

SBL Initial Config Cycles - 144503 (12.33 ms)
SOC Init Cycles - 170849 (14.57 ms)
DDR Config Clock Cycles - 43501 (3.71 ms)
App Image Load Cycles - 83074015 (7088.98 ms)
Slave Core Bootup Cycles - 207924 (17.74 ms)
SBL Boot-up Cycles - 83641855 (7137.43 ms)
Time at which SBL started IPU1_0 - 244139 (20.83 ms)
*****************************************************************

Jumping to MPU CPU0 App                                                 ------Question 2: In my view, SBL is running in A15(MPU), and then jump tu main() in A15. But why it looks like start from IPU1-0 from the log  '[IPU1-0]'. 
[IPU1-0] 7.452601 s: [IPU_primary_core_init_312]             ------Question 3: I get this by add 'vps_printf()' in funciton 'IPU_primary_core_init(void)' in file  links_fw\src\rtos\bios_app_common\tda2xx\ipu1-0\src\ipu_primary.c

                                                                                                                          But i also add another two lines debug code in the same function. And i cannot find the output in my console. All the debug lines have no relationships with the code context.
[IPU1-0] 7.452693 s: ***** IPU1_0 Firmware build time 19:45:07 Jan 10 2019
[IPU1-0] 7.452845 s: *** SYSTEM: CPU Frequency <ORG = 212800000 Hz>, <NEW = 212800000 Hz>
[IPU1-0] 7.531690 s: [main_107]                                        ------Question 4: I get this by add 'vps_printf()' in funciton 'main(void)' in file  apps\src\common\main_app\tda2xx\a15_0\src\main_a15_0.c

                                                                                                                         How could i can this debug info at this position. 

                                                                                                                                   ------Why did  not it shown as the first debug line follow 'Jumping to MPU CPU0 App '?

                                                                                                                                   ------Why did not it start with ‘[HOST]’ but '[IPU1-0]'?
[IPU1-0] 8.249374 s: SYSTEM: Notify register to [IPU1-1] line 0, event 15...
[IPU1-0] 8.249588 s: SYSTEM: Notify register to [IPU2] line 0, event 15...
[IPU1-0] 8.249710 s: SYSTEM: Notify register to [DSP1] line 0, event 15...
[IPU1-0] 8.249801 s: SYSTEM: Notify register to [DSP2] line 0, event 15...
[IPU1-0] 8.249923 s: SYSTEM: Notify register to [EVE1] line 0, event 15...
[IPU1-0] 8.250015 s: SYSTEM: Notify register to [EVE2] line 0, event 15...
[IPU1-0] 8.250137 s: SYSTEM: Notify register to [EVE3] line 0, event 15...
[IPU1-0] 8.250259 s: SYSTEM: Notify register to [EVE4] line 0, event 15...
[IPU1-0] 8.250381 s: SYSTEM: Notify register to [HOST] line 0, event 15...
[IPU1-0] 8.252180 s: *** UTILS: CPU MHz = 20 Mhz ***
[IPU1-0] 8.252333 s: SYSTEM: System Common Init in progress !!!



Note:
1. TDAComLink is my private link created as ipu2 link.
2. PROCESSOR VISION SDK release version:3.5
3. Any other info if you need, let me known.

Regards,
Liu Gan



Linux/PROCESSOR-SDK-AM437X: Getting Linux build from make file to SD card

$
0
0

Part Number:PROCESSOR-SDK-AM437X

Tool/software: Linux

1. After executing "make linux", it is unclear what output file was produced and where it is located. What is the output file name? The destination path may be in one of the configuration files - makefile. rules.make, tisdk_am437x-evm_defconfig, am43xx_evm_config, environment.setup. I haven't located all of them.

2. When executing create-sdcard.sh, the tool chose default tar files as input. I want the output from Step 1 to make a bootable Linux kernel SD card.

Compiler/BEAGLEBOARD-X15: BEAGLEBOARD-X15/Linux_RT

$
0
0

Part Number:BEAGLEBOARD-X15

Tool/software: TI C/C++ Compiler

Hardware: BeagleBoard-X15 (BB) am5729.
Soft: SDK 05.01.00.11, Linux RT.

Hi!
I have to start the BB on PRU-hardware PRP mode (PRU-ICSS, none-software PRP).
The compiler compiles the sdk finely.

What I made:
- in the file prueth.c replaced (according to the processors.wiki.ti.com/.../Processor_SDK_Linux_HSR_PRP
static int pruss1_ethtype = PRUSS_ETHTYPE_EMAC;
static int pruss2_ethtype = PRUSS_ETHTYPE_PRP;
but there are not see the files prueth.o prueth.cmd files, as if the compiler doesn't need them suspiciously.

- (with root permissions and from the bin directory of the SDK) ./create-sdcard.sh.
- run the commands:
mkdir /media/vl/rootfs/sys/class
mkdir /media/vl/rootfs/sys/class/remoteproc
mkdir /media/vl/rootfs/sys/class/remoteproc/remoteproc1
mkdir /media/vl/rootfs/sys/class/remoteproc/remoteproc2
echo 'am57xx-pru0-pruprp-fw.elf' > /media/vl/rootfs/sys/class/remoteproc/remoteproc1/firmware
echo 'am57xx-pru1-pruprp-fw.elf' > /media/vl/rootfs/sys/class/remoteproc/remoteproc2/firmware
echo 'start' > /media/vl/rootfs/sys/class/remoteproc/remoteproc1/state
echo 'start' > /media/vl/rootfs/sys/class/remoteproc/remoteproc2/state

The BB start:
[ 18.455328] pruss 4b200000.pruss: creating PRU cores and other child platform devices
[ 18.534583] pruss 4b280000.pruss: creating PRU cores and other child platform devices
Starting Simple Network Management Protocol (SNMP) Daemon....
[ 18.726003] NET: Registered protocol family 44
[ 18.801278] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
[ 18.819933] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: published functions = 4
[ 18.832463] rpmsg_rpc virtio0.rpmsg-rpc.-1.102: probing service rpmsg-dce with src 1025 dst 102
[ 18.867354] rpmsg_rpc virtio0.rpmsg-rpc.-1.102: published functions = 9
[ OK ] Started Network Name Resolution.
[ 19.022476] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 19.036933] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[ 19.043308] remoteproc remoteproc4: 4b234000.pru is available
[ 19.043473] pru-rproc 4b234000.pru: PRU rproc node /ocp/pruss_soc_bus@4b226004/pruss@0/pru@34000 probed successfully
[ 19.076738] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x02010010
[ 19.086253] xhci-hcd xhci-hcd.1.auto: irq 180, io mem 0x48890000
[ 19.088009] remoteproc remoteproc5: 4b238000.pru is available
[ 19.088185] pru-rproc 4b238000.pru: PRU rproc node /ocp/pruss_soc_bus@4b226004/pruss@0/pru@38000 probed successfully
[ 19.122863] remoteproc remoteproc6: 4b2b4000.pru is available
[ 19.128785] pru-rproc 4b2b4000.pru: PRU rproc node /ocp/pruss_soc_bus@4b2a6004/pruss@0/pru@34000 probed successfully
[ OK ] Started Permit User Sessions.
[ 19.154878] hub 1-0:1.0: USB hub found
[ 19.158756] hub 1-0:1.0: 1 port detected
[ 19.171157] remoteproc remoteproc7: 4b2b8000.pru is available
[ 19.177056] pru-rproc 4b2b8000.pru: PRU rproc node /ocp/pruss_soc_bus@4b2a6004/pruss@0/pru@38000 probed successfully

But BB works as single: the ifconfig shows 2 single interfaces, but as I know there are must be 1 interface.

Acording to the PRU-ICSS Installer:
Beginning with the Linux Processor SDK v2.0.1.7, the PRU Software Support Package is built into the SDK and can be found in the <%LINUX_PROC_SDK%>/example-applications/pru-icss-x.y.z/ directory.
I have examined all SDK from 3.02.00.05 to 05.01.00.11, but there are no any examples about hsr/prp.

My first questions:
- should there be only one interface or more?
- should I prepare a .dts-file?

Please help me.

Linux/AM5728: AM5728

$
0
0

Part Number:AM5728

Tool/software: Linux

Hi 

We are working on a custom board around AM5728 (based on processor sdk 05.02). As our ultimate goal, we want to use OpenCL or IPC based processing delegation to the DSPs.

First we tested the simplest approach without Linux on ARM. Running program on DSP and measuring the calculation time: 18.5ms by use JTAG ( without Linux running on the ARM).

but when i use linux on arm a15 (processor sdk 5.02) and run program on DSP1  by ipc  it takes 32 ms. I see this problem when was using opencl for run program on DSP.()

Would you please shed some light on why we have this poor performance in our OpenCL or IPC based applications?

Any help would greatly be appreciated.

Kind regards,

Esmaill

AM5716: UART Console on Sitara AM5716

$
0
0

Part Number:AM5716

On wiki page "Processor SDK RTOS BOOT AM57x" I read: "PDK SBL prints messages on the UART Serial Console running on the host." I can't find any description on the Hardware User guide of the Sitara AM5716 about the UART Console.

Is there a default UART console or can I set it with pinmux? In the eval board TMDXIDK5718 they use UART3.

Is it possible to have this functionality through the USB2 of Sitara AM5716?

Best regards

Francesco


C# instead of C or C++ ?

$
0
0

Does Texas Instruments have any microcontrollers (TMS320, etc.) or processors (Sitara, etc.) that can be programmed in C# instead of C or C++?

Interested in this since microcontrollers and processors can now readily drive LCD displays, maybe start using high-level language.

66AK2G01: ADC input speed

$
0
0

Part Number:66AK2G01

We're considering using a 66AK2Gx for signal processing.  It isn't clear how one clocks ADC data into the DSP section but from some reference designs I see the McASP port being used.  Can this protocol be used for higher than normal audio sampling rates, e.g. 256KHz? 

AM4377: ADC error increasing with V more than expected : your comment / suggestions

$
0
0

Part Number:AM4377

Hi everybody ,

I m using the ADC1 and ADC0 component of the AM4377. , (  I can share you offline  all measurements /data/ circuit etc ) .

(Please visit the site to view this file)in our measurements, I  assume the Bias Supply is disable and both bypasses are closed.

some more details :

For AIN we are using AIN2 resistor divider of 9.09k and 4.7k 

FOR AIN3 resistor divider of 750 ohm and 909 ohm

So we do use low resistance compare to the 18k inside 

In attached  table describe the measurements are between ADC1_AIN2 and ADC1_AIN3 but we've seen the issue between other pairs also  :  I have an error  which is increasing with voltage increase  :  could  you comment ? is it wrong  ? 

any suggestion ?

best regards

Carlo

RTOS/AM5728: Default linker script (configPkg/linker.cmd) has wrong L2SRAM length

$
0
0

Part Number:AM5728

Tool/software: TI-RTOS

Hi,

I noticed that the default linker script that get generated specifies L2SRAM (RWX) : org = 0x800000, len = 0x40000
The size if 288KiB = 292KB > 0x48000
Why is this lower? Do you know of a way I could change it?

Thanks very much.

Regards,

Shaunak

Linux/AM3358: AM3358 board does not boot correctly

$
0
0

Part Number:AM3358

Tool/software: Linux

Hello,

We have developed a linux board based on the beaglebone black using an AM3358 (removed some functionalities and added others).

So far I've been the one in charge of debugging and booting up this board for the first time, since the team I was working in was eliminated from the company, so no, I don't have access to the person that designed this board, at most I have access to the design files.

So far I've noticed a bug in the TPS65217 used in the board and fixed it promptly. and noticed that all the configuratin registers came soldered to the board (the ones doing pull up  AND  pull down). It took me a few hours debugging this because I assumed that the company in charge of mounting the components would solder the components according to the design notes. So after that I soldered the configuration resistors just like the beaglebone black (it even has the button so that it can boot from uSD or eMMC1).

After I did this I noticed that my board powers up nicely and was outputting something through UART0, so I connected a serial to USB converter to the board and opened putty at 115200 baud only to be recived by the letter "C".

A little bit of reading I found out that this meant that the processor was unable to load the code (I downloaded debian 9.5 for beaglebone black and flashed the SD card according to their website using etcher, according to the getting-started). My first thought was that there was a problema with the signals going to the sd card but a little bit or probing I can see bursts in all the pins like it was actually loading, but the letter "C" says no (the schematic is identical to the one on thw beaglebone black, just the connector is now a 114-00841-68 instead of a SCHA5B0200). 

There are some things that I think may be wrong:

- There is a hardware failure somewhere I can't see (may be a mounting/design/layout problem, but all the pins are connected corrctly according to the datasheet);

- There is a problem with the image that I'm using (I don't have a beaglebone on me right now so I can't test this theory);

There could also be another problem that I'm unable to see. Does anyone have any idea on how to procede?

Viewing all 17527 articles
Browse latest View live


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