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

TMS320DM8168: SD ANALOG VIDEO

$
0
0

Part Number: TMS320DM8168

Hi ,

We have a custom DM8168 board with ti EZSDK. We should get CVBS analog video from IOUTD. What will be the pin muxing in board file and what all things should do to enable SD analog video ?I have alaredy gone through the  doc. but not clear about the same.


AM3352: GUI causes kernel panic

$
0
0

Part Number: AM3352

Hello,

We have prepared almost a replica of a Beaglebone Black board except we have used AM3352 instead of AM3358.

*AM3352 do not have Graphics accelerator module inbuilt.

We have managed to write EEPROM with expected values to detect it as BBB. After all this board is abel to boot properly if we use non GUI OS.

Whenever we use GUI based OS, it boots and when GUI pops up it freezes and throws kernel panic.

OS used: Debian 9.5 lxqt

We have not changed any device trees.

So what can go wrong, are we missing any steps.?

If we are using AM3352 instead of AM3358 what steps we are supposed to follow?

Do we have to explicity make any configuration changes in kernel ?

AM3352: GPMC burst transaction

$
0
0

Part Number: AM3352

Per test verification, I found no matter what Burst Length setting, each CPU transaction only send out 1 word, GPMC did not send out following data on each edging of remain clocks. 

Must use EDMA to do burst transaction to maximize the GPMC throughput? or can EDMA do that?

AM5728: VIP firmware error in Android SDK 5.03

$
0
0

Part Number: AM5728

Hello TI Experts,

I have an AM572x Evaluation Module TMDSEVM572X with me. I am using the "TMDSCM572X AM57XX Camera Board REV C".

I am trying to make camera work in Android PSDK 5.03 and I have done some changes around the .its files to include ov1063x driver module on my system. Please note that ov1063x is my actual driver module which makes camera work in LINUX PSDK 5.03.

I have successfully compiled ANDROID PSDK 5.03 and flashed it on my AM572x GP EVM. However, as far as I have understood, I am getting following error related to firmware because of which /dev/video0 & /dev/video1 entry is not created on my system. Please see following logs for further analysis.

am57xevm:/ # dmesg | grep vpe                                                  
[    5.411580] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
[    5.417316] vpe 489d0000.vpe: Direct firmware load for vpdma-1b8.bin failed with error -2
[    5.425727] ueventd: Loaded kernel module /vendor/lib/modules/ti-vpe.ko
[    5.447893] vpe 489d0000.vpe: Falling back to user helper
[    6.281553] ueventd: firmware: loading 'vpdma-1b8.bin' for '/devices/platform/44000000.ocp/489d0000.vpe/firmware/vpdma-1b8.bin'
[    7.915104] ueventd: loading /devices/platform/44000000.ocp/489d0000.vpe/firmware/vpdma-1b8.bin took 1633ms
[    7.915393] vpe 489d0000.vpe: couldn't get firmware

am57xevm:/ # dmesg | grep vip                                              
[    6.160122] Inside vip_probe
[    6.183360] vip 48990000.vip: loading firmware vpdma-1b8.bin
[    6.189445] ueventd: Loaded kernel module /vendor/lib/modules/ti-vip.ko
[    7.915302] vip 48990000.vip: couldn't get firmware

am57xevm:/ # lsmod
Module                  Size  Used by
pru_rproc              20480  0 
pruss_intc             16384  1 pru_rproc
pruss                  16384  1 pru_rproc
ti_vip                 57344  0 
v4l2_fwnode            16384  1 ti_vip
ahci_platform          16384  0 
libahci_platform       16384  1 ahci_platform
libahci                36864  2 ahci_platform,libahci_platform
libata                229376  3 ahci_platform,libahci_platform,libahci
scsi_mod              167936  1 libata
rtc_omap               20480  0 
at24                   20480  0 
rtc_palmas             16384  0 
ti_vpe                 24576  0 
ti_sc                  36864  2 ti_vip,ti_vpe
ti_csc                 16384  2 ti_vip,ti_vpe
ti_vpdma               24576  2 ti_vip,ti_vpe
omap_wdt               16384  0 
snd_soc_omap_hdmi_audio    16384  0 
ov1063x                24576  0 
omap_des               20480  0 
snd_soc_tlv320aic3x    57344  1 
omap_sham              28672  0 
pixcir_i2c_ts          16384  0 
omap_aes_driver        24576  0 
omap_crypto            16384  2 omap_des,omap_aes_driver
crypto_engine          16384  2 omap_des,omap_aes_driver
rtc_ds1307             24576  1 
pruss_soc_bus          16384  0 
snd_soc_simple_card    16384  1 
snd_soc_simple_card_utils    16384  1 snd_soc_simple_card
pvrsrvkm              344064  44 

I have tried to locate vpdma-1b8.bin multiple times on my SDK as well as on AM572X GP EVM but I am not able to find it. I suppose this file is required to create the device entries on the system as the same file is present at /lib/firmware/vpdma-1b8.bin on LINUX PSDK 5.03 and is able to create device entries on the linux system.

I am not sure how to proceed from here, kindly help.

Regards,

Himani

Source code

$
0
0

Hii all,

I am familiar with the theory concepts and API's of messageQ. But practically I am not getting how communication is happening in a single core. So anyone have the source code of single processor communication using IPC messageQ please forword the code with config file.

AM3352: Processors forum

$
0
0

Part Number: AM3352

Hi,

We have a custom board similar to am335x-evmsk board with AM3352 processor. I have taken "arch/arm/boot/dts/am335x-evmsk.dts" as reference.

I have deleted some nodes, which are not used. Everything is working as expected except for below problem:


There is a node "&mmc2" and is refered by "wl12xx_vmmc: fixedregulator2". This is utilizing a gpio1 29, which we have used it for NOR interface.

If I comment "&mmc2" and "wl12xx_vmmc: fixedregulator2", dts file gets compiled but it fails to mount the root file system which is present on mmc1.


I am not clear why mmc2 and wl12xx (wifi interface) dependency is being created here. Why mmc1 is not working if I comment mmc2 node?

Nodes are as below:


wl12xx_vmmc: fixedregulator2 {
pinctrl-names = "default";
pinctrl-0 = <&wl12xx_gpio>;
compatible = "regulator-fixed";
regulator-name = "vwl1271";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
gpio = <&gpio1 29 0>;

/* Unable to Comment above 7 lines because this is used as GPMC_CSn0 in our board.
If commented unable to mount RFS. TODO */

startup-delay-us = <70000>;
enable-active-high;
};


&mmc2 {

status = "okay";
vmmc-supply = <&wl12xx_vmmc>; /* Must need, unable to comment this!!! */
};

Need your input on importnace of above nodes. OR
How to fix above problem?

I have attached file for reference. Please let us know how to fix it?

Regards
Srinivasa

(Please visit the site to view this file)

TMDSEVM572X: TIDL jDetNet on single DSP

$
0
0

Part Number: TMDSEVM572X

Hi all,

I have sucessfully ran some example TIDL code on the AM572x EVM board. Mainly Cifar classifier and jDetNet SSD with the python api.

Everything works fine when using EVE+DSP for jdetnet, but our actual target hardware (AM5728) only has one DSP.

I tried various CMEM sizes (up to 512mb) and verified with the opencl platforms example.

But: The memory allocation for the single DSP case still fails. Doesnt increasing CMEM size adress this issue? If I am mistaken, please provide an explanation - I would like to learn.

Here is some code excerpt:

config = tidl.Configuration()
config.read_from_file(configFile)
# prints: "Network needs 64.0 + 9.0 mb heap"
print("Network needs",config.network_heap_size/1024**2,"+",config.param_heap_size/1024**2,"mb heap")

# set all layers to group 1
config.layer_index_to_layer_group_id = {i:1 for i in range(43)}

# fails with: "TidlError: TIDL Error: [src/execution_object.cpp, Wait, 617]: Memory allocation failed on device"
dsp = tidl.Executor(tidl.DeviceType.DSP, set([tidl.DeviceId.ID0]),config,1)

Compiler/PROCESSOR-SDK-AM65X: USB problems

$
0
0

Part Number: PROCESSOR-SDK-AM65X

Tool/software: TI C/C++ Compiler

Hi:

We found the following two problems in using EVM boards


Test environment:

   Hardware:    AM654X EVM PROCESSOR BOARD (REV 1.0), 8G miscro SD card (Panasonic)
                       Card reader (PISEN, 川宇C396 , TS-RDF9K)
                       USB-HUB (Standard Microsystems, Realtek Semiconductor, Ithink)

   Software:     Processor SDK Linux 06_00_00_07

Q1.
In U-boot, the EVM board connects a certain type of USB HUB and inserts the U disk, some of which can not be recognized.
The test topology is as follows. The EVM board has tested three different manufacturers'USB-HUB.
The first and second types of USB-HUB can be recognized normally, while the third type of USB-HUB has three types of USB-HUB that can not be recognized.

Q2.
The kernel starts with USB and loads the kernel from the card reader SD card (using 川宇C396 card reader).
After booting, USB reset prints appear every other time, as shown below.


CCS/TCI6638K2K: TCI6638K2KXAAW chip version 3.0, 10GE SWITCH initialization system hang

$
0
0

Part Number: TCI6638K2K

Tool/software: Code Composer Studio

hello:

Problem description:

In the TCI6638K2KAAAW (sq11-4czddv9) chip version of (1b98-102f) 1.1, the 10GE prot  can be initialized normally and the interface rate can be tested,.

but  the TCI6638K2KXAAW ($q30-6cze699). The chip version is (3b98-102f) 3.0  10GE port initialization failed. The printed information is as follows:

[   45.237747] Bad block table found at page 262080, version 0x01

[   45.244100] Bad block table found at page 262016, version 0x01

[   45.250291] 3 ofpart partitions found on MTD device 30000000.nand

[   45.256383] Creating 3 MTD partitions on "30000000.nand":

[   45.261775] 0x000000000000-0x000000100000 : "u-boot"

[   45.267823] 0x000000100000-0x000000180000 : "params"

[   45.273847] 0x000000180000-0x000008000000 : "ubifs"

[   45.279842] davinci_nand 30000000.nand: controller rev. 2.5

[   45.286344] spi_davinci 21000400.spi: master is unqueued, this is deprecated

[   45.293858] m25p80 spi32766.0: unrecognized JEDEC id ffffff

[   45.299997] spi_davinci 21000400.spi: Controller at 0xe087c400

[   45.306295] spi_davinci 21000600.spi: master is unqueued, this is deprecated

[   45.313357] spi_davinci 21000600.spi: Controller at 0xe087e600

[   45.319614] spi_davinci 21000800.spi: master is unqueued, this is deprecated

[   45.326674] spi_davinci 21000800.spi: Controller at 0xe08ae800

[   45.334086] tun: Universal TUN/TAP device driver, 1.6

[   45.339129] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>

[   45.346079] keystone-netcp 2090000.netcp: missing num_serdes parameter

[   45.352617] keystone-netcp 2090000.netcp: missing serdes_lanes parameter

[   45.359312] keystone-netcp 2090000.netcp: missing serdes_ref_clk parameter

[   45.366189] keystone-netcp 2090000.netcp: missing serdes_baud_rate parameter

[   45.373243] keystone-netcp 2090000.netcp: missing serdes_rate_mode parameter

[   45.380283] keystone-netcp 2090000.netcp: missing serdes_phy_intf parameter

[   45.387246] keystone-netcp 2090000.netcp: missing serdes_loopback parameter

[   45.394230] keystone-netcp 2090000.netcp: Missing cpts_clock_mult property in the DT.

[   45.402051] keystone-netcp 2090000.netcp: Missing cpts_clock_shift property in the DT.

[   45.409968] keystone-netcp 2090000.netcp: Missing cpts_clock_div property in the DT.

[   45.419224] keystone-netcp 2090000.netcp: Created interface "eth0"

[   45.425425] keystone-netcp 2090000.netcp: dma_chan_name nettx0

[   45.432706] keystone-netcp 2090000.netcp: Created interface "eth1"

[   45.438888] keystone-netcp 2090000.netcp: dma_chan_name nettx1

[   45.446178] keystone-netcp 2090000.netcp: Created interface "eth2"

[   45.452376] keystone-netcp 2090000.netcp: dma_chan_name nettx2

[   45.459593] keystone-netcp 2090000.netcp: Created interface "eth3"

[   45.465791] keystone-netcp 2090000.netcp: dma_chan_name nettx3

[   45.471891] XGE serdes config:

[   45.474953]   ref_clk=156.25MHz, link_rate=10.3125G, lanes=2

[   45.480604]   c1=2, c2=0, cm=2, tx_att=12, tx_vreg=4

[   45.485571]   eq flags: vreg=1, cdfe=1, offset=1

[   45.490184] XGE: serdes reset

I see linux code(version K2_LINUX_03.10.10_14.07.tar.gz): 

keystone_xgepcsr.c  file------>

int xge_serdes_init(struct device_node *node)------>

static int k2serdes_start(struct hw_specific *hw)---->

static int k2serdes_config(void __iomem *serdes,void __iomem *sw_regs, struct hw_specific *hw)------->

static int k2serdes_check_lane(void __iomem *serdes, void __iomem *sw_regs, u32 lanes)--------->

int k2serdes_check_link_status(void __iomem *serdes,
         void __iomem *sw_regs,
         u32 lanes,
         u32 *current_state,
         u32 *lane_down)
{
 u32 pcsr_rx_stat, blk_lock, blk_errs;
 int loss, i, status = 1;
 for (i = 0; i < lanes; i++) {
  /* Rx Signal Loss bit in serdes lane control and status reg*/
  loss = (k2serdes_readl(serdes, LANE_CTRL_STS_REG(i))) & 0x01;
  /* Block Errors and Block Lock bits in PCSR rx status reg */
     pcsr_rx_stat = k2serdes_readl(sw_regs, PCSR_RX_STATUS(i));
 
 problem:

I find  this code is not read in the chip version is (3b98-102f) 3.0,butIn the TCI6638K2KAAAW (sq11-4czddv9) chip version of (1b98-102f) 1.1, the 10GE prot  can be initialized normally and the interface rate can be tested.

TMDX654IDKEVM: Ethernet/CAN bandwidth tests

$
0
0

Part Number: TMDX654IDKEVM

Hi, are there any existing bandwidth tests/examples of CAN and/or Ethernet on either RTOS or Linux (preferably both) ? If so, can you point me to them?

Thanks,

TDA3XEVM: CFAR Processing 2 out of 4 RX Data

$
0
0

Part Number: TDA3XEVM

Hi Piyali,

This is related to the CFAR Alg question I had in the past that you helped showing how i could feed CFAR Alg 2 out of 4 available RX RDM data.

I just want to confirm what I did was in-lined with you suggestion. What I had was below for processing 2 middle RDMs out of the 4 RDMs:

#if defined(AWR1243_METAWAVE_LRR_CONFIG)
pObj->pProcessInArgs->inAlgArgs.inArgs.bufDescription.numAntennas = 2;
UInt32 antOffset = metaDataBuffAddr->bufDesc.offsetBwAntennas[0].pObj->pProcessInArgs->inAlgArgs.inBufs.bufDesc[
PEAK_DETECTION_TI_BUFDESC_IN_ANTENNA_DATA_BUF]->bufPlanes[0].buf = inBufAddr + antOffset;
#endif

Please confirm,

Thanks,

--Khai

AM5728: PSDK 5_03: arecord generating lot of noise.

$
0
0

Part Number: AM5728

Hello,

I am getting a lot of noise when using arecord functionality. 

I used input from my system to the Audio Line-In to the board and the following command: arecord -D plughw:0,0 -fS32_LE -c2 -r48000 soundOutput.raw

Anyone has an idea why this may be so and how to get rid of the noise?

Regards,

Nikhil

PROCESSOR-SDK-AM65X: USB reset in the kernel and U Disk unrecognizability in the U-boot

$
0
0

Part Number: PROCESSOR-SDK-AM65X

Hi:

We found the following two problems in using EVM boards


Test environment:

Hardware: AM654X EVM PROCESSOR BOARD (REV 1.0), 8G miscro SD card (Panasonic)
                 Card reader (PISEN, 川宇C396 , TS-RDF9K)
                 USB-HUB (Standard Microsystems, Realtek Semiconductor, Ithink)

Software:  Processor SDK Linux 06_00_00_07

Q1

In U-boot, the EVM board connects a certain type of USB HUB and inserts the U disk, some of which can not be recognized.
The test topology is as follows. The EVM board has tested three different manufacturers'USB-HUB.
The first and second types of USB-HUB can be recognized normally, while the third type of USB-HUB has three types of  U Disk that can not be recognized. But under Linux, All  U disks can be recognized properly.

Test Topology:

U Disks Unrecognizable log : 

Q2


The kernel starts with USB and loads the kernel from the card reader SD card (using 川宇C396 card reader).
After booting, USB reset prints some  times,  and  waiting  for a long time in during this period of time .  as shown below. 

Two sheets USB rest log:

a.

b.

Thanks for the support.

Compiler/TMS320C6678: most efficient way to find n'th largest element in array

$
0
0

Part Number: TMS320C6678

Tool/software: TI C/C++ Compiler

Hi,

I'm using c6678 processor with CCS 8.3 and compiler 8.2.5.

as part of my application i need to find the n'th element in array of k float elements (for example the 9th by-size element out of 22 array size)

this operation repeats millions times per application cycles and very time consuming.

in C++ 11 &14 STD lib the "nth_element" method exist but unfortunately the 8.2.5 compiler version doesn't support C++11 or 14.

i already tried to use "quick select" algorithm but unfortunately the running times not sufficient for my application and far away from the theoretical calculated times.

can you please advice an efficient way (using intrisic functions or other DSP dedicated ways) to improve my running times?

thanks ind advance!

AM3354: Cannot configure USB as gadget - udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers

$
0
0

Part Number: AM3354

I am attempting to connect to a custom SBC in gadget mode, but when I run `modprobe g_ether`

it doesn't load, as dmesg tells me:

[ 3873.952312] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers


I am able to use the USB host functionality just fine (can mount a USB drive). I am attempting to use a USB-A to USB-A cable to connect to an Ubuntu machine.


I set all the USB Peripheral Controllers available in menuconfig to be loadable as a module, and tried enabling each of them individually along with starting g_ether. None of them loaded, except the dummy HCD.

A bit more relevant info:

CONFIG_USB_MUSB_DUAL_ROLE=y

I ran the script from this topic, here is the output:

chkusb.sh Version 0.2.8
Linux dorado 4.14.40-ti-jumpnow #1 PREEMPT Fri Jul 26 19:51:00 UTC 2019 armv7l armv7l armv7l GNU/Linux
USB is initialized
/sys/kernel/debug/musb-hdrc.0/regdump:Power       : e0
/sys/kernel/debug/musb-hdrc.0/regdump:Testmode    : 00
/sys/kernel/debug/musb-hdrc.0/regdump:DevCtl      : 19
/sys/kernel/debug/musb-hdrc.1/regdump:Power       : e0
/sys/kernel/debug/musb-hdrc.1/regdump:Testmode    : 00
/sys/kernel/debug/musb-hdrc.1/regdump:DevCtl      : 19
usb@47401000: host, okay
usb@47401800: host, okay

Gadget Kernel Config: g_ether is enabled
Gadget Kernel Config: g_mass_storage is enabled
Gadget Kernel Config: g_serial is enabled
gadget driver loaded: (none)

The list of USB gadget drivers installed:
/lib/modules/4.14.40-ti-jumpnow/kernel/drivers/usb/gadget/:
function/
legacy/
libcomposite.ko
udc/

/lib/modules/4.14.40-ti-jumpnow/kernel/drivers/usb/gadget/function:
u_ether.ko
u_serial.ko
usb_f_acm.ko
usb_f_ecm.ko
usb_f_ecm_subset.ko
usb_f_eem.ko
usb_f_fs.ko
usb_f_hid.ko
usb_f_mass_storage.ko
usb_f_ncm.ko
usb_f_obex.ko
usb_f_rndis.ko
usb_f_serial.ko
usb_f_uvc.ko

/lib/modules/4.14.40-ti-jumpnow/kernel/drivers/usb/gadget/legacy:
g_acm_ms.ko
g_cdc.ko
g_ether.ko
g_ffs.ko
g_hid.ko
g_mass_storage.ko
g_multi.ko
g_serial.ko
gadgetfs.ko

/lib/modules/4.14.40-ti-jumpnow/kernel/drivers/usb/gadget/udc:
bdc/
dummy_hcd.ko
fotg210-udc.ko
fusb300_udc.ko
gr_udc.ko
m66592-udc.ko
mv_u3d_core.ko
mv_udc.ko
net2272.ko
pxa27x_udc.ko
r8a66597-udc.ko
snps_udc_core.ko
snps_udc_plat.ko
udc-xilinx.ko

/lib/modules/4.14.40-ti-jumpnow/kernel/drivers/usb/gadget/udc/bdc:
bdc.ko


CCS/AM5728: BoardCtrlPadIoDelayConfig - JTAG isue

$
0
0

Part Number: AM5728

Tool/software: Code Composer Studio

Hello,

I'm testing several daignostic programs, in barre metal mode, on my custiom board based on a AM5728 SOC (such mem_test or led...).

I'm face of on issue whith the JTAG connection  just after starting the program (Launching the target is ok, connecting A15_0 is ok, loading the .out is ok...).

I get the following error:

CortexA15_0: Can't Run Target CPU: (Error -1045 @ 0x345A) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 8.1.0.00012)
CortexA15_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.1.0.00012)
CortexA15_0: JTAG Communication Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.1.0.00012)

After investigation, it seems that the problem occurs during Board init when the function BoardCtrlPadIoDelayConfig() in xxx_pinmux.c is called.

Each time, I need to reset the SOC and reload the .out...

Do you have any idea how to fix it?

Regards,

Sylvain.

AM5716: JTAG connection on Sitara AM5716

$
0
0

Part Number: AM5716

Hi,

I bought the evaluation board for DSP 6657 (TMDSEVM6657) and I started developing some code on it. CCSv8 works with the emulator XDS2xx (PWB 516011 REV.B), which is on top of the DSP eval board connected to it through a 60 pins connector. Next to this one, on the XDS2xx, there is a second 14 pins JTAG connector with the following connection:

I developed a board with Sitara AM5716 and I put a 14 pin JTAG connector in order to use the XDS2xx emulator as in the following schematics:

JTAG_RESETn net goes to Sitara RESETn with a pull-up.

There is a problem when I verify the connection:

[Start]

Execute the command:

%ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -S integrity

[Result]


-----[Print the board config pathname(s)]------------------------------------

C:\Users\FRANCE~1\AppData\Local\TEXASI~1\
    CCS\ti\0\0\BrdDat\testBoard.dat

-----[Print the reset-command software log-file]-----------------------------

This utility has selected a 560/2xx-class product.
This utility will load the program 'xds2xxu.out'.
The library build date was 'Jan 24 2019'.
The library build time was '13:59:06'.
The library package version is '8.0.903.6'.
The library component version is '35.35.0.0'.
The controller does not use a programmable FPGA.

An error occurred while hard opening the controller.

-----[An error has occurred and this utility has aborted]--------------------

This error is generated by TI's USCIF driver or utilities.

The value is '-183' (0xffffff49).
The title is 'SC_ERR_CTL_CBL_BREAK_FAR'.

The explanation is:
The controller has detected a cable break far-from itself.
The user must connect the cable/pod to the target.

[End]

This is the same message when I don't connect the emulator to the board.

What did I do wrong?

Thanks

Francesco

How to connect AM335xIce Board to XDS 200

$
0
0

Hello.

since the xds100 debug interface is very slow, we are trying to connect a XDS200 (Spectrum) debugger to an AM3359ICE Board.

The debugger is found on windows 10, because we have a successul test connection to a IDK 437x Board on the same computer.

we have mounted a debug plut at the back side of the board,

but we always get the following error:

[Start: Texas Instruments XDS2xx USB Debug Probe_0]

Execute the command:

%ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -S integrity

[Result]


-----[Print the board config pathname(s)]------------------------------------

C:\Users\dbr\AppData\Local\TEXASI~1\CCS\
    ti\0\0\BrdDat\testBoard.dat

-----[Print the reset-command software log-file]-----------------------------

This utility has selected a 560/2xx-class product.
This utility will load the program 'xds2xxu.out'.
The library build date was 'May 30 2018'.
The library build time was '22:31:29'.
The library package version is '8.0.27.9'.
The library component version is '35.35.0.0'.
The controller does not use a programmable FPGA.

An error occurred while hard opening the controller.

-----[An error has occurred and this utility has aborted]--------------------

This error is generated by TI's USCIF driver or utilities.

The value is '-183' (0xffffff49).
The title is 'SC_ERR_CTL_CBL_BREAK_FAR'.

The explanation is:
The controller has detected a cable break far-from itself.
The user must connect the cable/pod to the target.

[End: Texas Instruments XDS2xx USB Debug Probe_0]

Should we change something on the board (like removing of some 0R-Resistors between the FTDI and the JTAG lines ?

we are using CCS 8

Thanks,

Dirk

AM335 SDK Arago, eglinfo, kmscube, qt on eglfs are not working

$
0
0

Hi,

While I am waiting for am572x booting problem response from another thread I switched to BBB sdk AM335

The board is Beaglebone black.
The SDK is the am335 latest

root@am335x-evm:~# uname -a
Linux am335x-evm 4.14.79-ge669d52447 #3 PREEMPT Sun Jun 23 15:57:11 EDT 2019 armv7l GNU/Linux
root@am335x-evm:~# 

I stopped weston but EGL info gave me this

root@am335x-evm:~# eglinfo 

eglGetConfigs():
======================================================================

**********************************
EGL config number: 0
EGL vendor string: Imagination Technologies
EGL version string: 1.4 build 1.14@3699939 (MAIN)
EGL extensions: EGL_IMG_client_api_ogl EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync EGL_IMG_context_priority EGL_IMG_hibernate_process EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_KHR_create_context EGL_WL_bind_wayland_display EGL_EXT_image_dma_buf_import
EGL client APIs are: OpenGL_ES 

EGL config Attributes:
 EGL_CONFIG_ID = 0x1 
 EGL_BUFFER_SIZE = 0x20 
 EGL_RED_SIZE = 0x8 
 EGL_GREEN_SIZE = 0x8 
 EGL_BLUE_SIZE = 0x8 
 EGL_LUMINANCE_SIZE = 0x0 
 EGL_ALPHA_SIZE = 0x8 
 EGL_ALPHA_MASK_SIZE = 0x0 
 EGL_BIND_TO_TEXTURE_RGB = 0x1 
 EGL_BIND_TO_TEXTURE_RGBA = 0x1 
 EGL_COLOR_BUFFER_TYPE = 0x308e 
 EGL_CONFIG_CAVEAT = 0x3038 
 EGL_CONFORMANT = 0x1 
 EGL_DEPTH_SIZE = 0x18 
 EGL_LEVEL = 0x0 
 EGL_MAX_PBUFFER_WIDTH = 0x800 
 EGL_MAX_PBUFFER_HEIGHT = 0x800 
 EGL_MAX_PBUFFER_PIXELS = 0x400000 
 EGL_MAX_SWAP_INTERVAL = 0xa 
 EGL_MIN_SWAP_INTERVAL = 0x1 
 EGL_NATIVE_RENDERABLE = 0x0 
 EGL_NATIVE_VISUAL_ID = 0x0 
 EGL_NATIVE_VISUAL_TYPE = 0x0 
 EGL_RENDERABLE_TYPE = 0x1  EGL_OPENGL_ES_BIT 
 EGL_SAMPLE_BUFFERS = 0x0 
 EGL_SAMPLES = 0x0 
 EGL_STENCIL_SIZE = 0x8 
 EGL_SURFACE_TYPE = 0x5  EGL_PBUFFER_BIT  EGL_WINDOW_BIT 
 EGL_TRANSPARENT_TYPE = 0x3038 
 EGL_TRANSPARENT_RED_VALUE = 0x0 
 EGL_TRANSPARENT_GREEN_VALUE = 0x0 
 EGL_TRANSPARENT_BLUE_VALUE = 0x0 

Creating Window surface..
PVR:(Error): WSEGL_CreateWindowDrawable: Couldn't set CRTC: Invalid argument [0, ]
Unable to create surface
    egl error 'EGL_BAD_ALLOC' (0x3003)
root@am335x-evm:~# 

kmscube yields this

root@am335x-evm:~# kmscube 
trying to load module omapdrm...failed.
trying to load module tilcdc...success.
### Display [0]: CRTC = 28, Connector = 30, format = 0x36314752
	Mode chosen [1360x768] : Clock => 85500, Vertical refresh => 60, Type => 72
	Horizontal => 1360, 1616, 1728, 1792, 0
	Vertical => 768, 786, 792, 795, 0
### Primary display => ConnectorId = 30, Resolution = 1360x768
failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object file: No such file or directory
failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared object file: No such file or directory
loaded module : gbm_pvr.so
found valid GBM backend : gbm_pvr.so
Using display 0x1 with EGL version 1.4
EGL Version "1.4 build 1.14@3699939 (MAIN)"
EGL Vendor "Imagination Technologies"
EGL Extensions "EGL_IMG_client_api_ogl EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync EGL_IMG_context_priority EGL_IMG_hibernate_process EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_KHR_create_context EGL_WL_bind_wayland_display EGL_EXT_image_dma_buf_import"
display 0 failed to set mode: Invalid argument
root@am335x-evm:~# 

root@am335x-evm:~# gles1test1 f
PVR:(Error): WSEGL_CreateWindowDrawable: Couldn't set CRTC: Invalid argument [0, ]
'eglCreateWindowSurface' returned egl error 'EGL_BAD_ALLOC' (0x3003)
root@am335x-evm:~# 

A minimal c++ QDialog

root@am335x-evm:~# export QT_QPA_PLATFORM=eglfs  
root@am335x-evm:~# ./widgetdlgcpp 
PVR:(Error): WSEGL_CreateWindowDrawable: Couldn't set CRTC: Invalid argument [0, ]
EGL Error : Could not create the egl surface: error = 0x3003

Aborted (core dumped)
root@am335x-evm:~# 

Only this works

root@am335x-evm:~# export QT_QPA_PLATFORM=linuxfb
root@am335x-evm:~# ./widgetdlgcpp 

TMS320C6711D: PLLHV current draw and filter circuit requirements

Viewing all 17527 articles
Browse latest View live


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