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

RTOS/AM4379: How to Combine EtherCAT full Slave Demo and IO-Link Master Demo on idkAM4379

$
0
0

Part Number:AM4379

Tool/software: TI-RTOS

Hi folks,

I have the EtherCAT_Slave_full_AM437x_arm Demo running on my idk4379 board with a custom ESI-file.

I also have achieved to get the IO-LINK Master Demo running with hardware like TIDA-010016.

Now i want to combine Both of these Demos to have IO-Link Data on EtherCAT available running one Part on PRU0 and the other part on PRU1.

1. So which hardware changes on idkAM4379 i have to do to archieve this ?

2. Also how can i get both of these demos running one on PRU1 and other on PRU0 ?

3. How to intercommunicate  between these two PRU's    

thx in advance

Haxor


RTOS/66AK2H14: How use MPAX registers to protect DDR memory ?

$
0
0

Part Number:66AK2H14

Tool/software: TI-RTOS

Hi everyone!

I tried to separate DSP core context execution, I explain:

I would like to affect for instance the following range:

CORE0 : 0xB000 0000 - 0xB0FF FFFF,

CORE1: 0xB100 0000 - 0xB1FF FFFF.

The idea is only core0 could read, write data in its area, core1 shouldn't. It is the same for core0 who shouldn't read or write in core1 area.

How to do that ?

I currently tried to map this sections by MPAX register of DSP corePac. But I think I miss something. I post my code at the following of this post.

Best Regards,

François

TDA3LA: Which events can abort an ongoing EDMA3 transfer and/or how to confirm successful transfer properly?

$
0
0

Part Number:TDA3LA

Dear Experts,

could You please help with a clarification on EDMA3 transfer completion indication, which is manually triggered and used in a non-interrupt fashion --> polling.

Basically the question is, whether it is enough to use the "EDMA3_DRV_checkAndClearTcc()" function as confirmation, that EDMA3 transfer was successful?

Maybe there are other events, interrupts, arbitrations, which could abort an on-going EDMA3 transfer impacting IPRH bit and thus it seems, that transfer is complete, while actually there was an error or similar ...

I assume enabling and handling the error interrupts and error status registers mentioned in the KeyStone Architecture EDMA3 Controller Users Guide in addition to above "EDMA3_DRV_checkAndClearTcc()" function should be enough or are there any other conditions/situations to consider?

Many thanks and best regards,

Gregor

66AK2H06: memory access priority from ARM and DSP

$
0
0

Part Number:66AK2H06

Hi all,

If the DSP and ARM access share memory or DDR at the same time, which one has higher priority?

Thank you.

YaoTing

TMS320DM8168: HDPVSS Output Bus Timing

$
0
0

Part Number:TMS320DM8168

The data sheet shows the following…

Min delay time and Max delay time are specified as percentages of clock cycle. Specification is given for tc min of 6.06ns (165MHz). However, customer operate at 148.5MHz which has a tc of 6.73ns. Normally expect min and max delay to be fixed. Thus as the clock rate slows down timing margins get easier to meet. By making the percentages this does not happen in the same way.

Is it correct to define them as percentages of 148.5MHz? This would mean …

Min Delay = 6.73ns * 0.27 = 1.82ns

Max Delay = 6.73ns * 0.8 = 5.39ns

allowing minimal incremental gain by slowing the clock

In Errata Advisory 2.1.47

Workaround: There are two options for a workaround:
1. The external device connected to the HDVPSS interface can capture data on the
rising edge.
2. External logic can be used to invert (or delay) the clock to provide adequate setup
and hold times to meet the requirements of the external device.

for #1 a max delay of Tc*0.8 is impossible to capture data on rising edge

Also this advisory states that HDPVSS Out only supports falling edge clock and points us to SPRS614F for more information. SPRS614F makes no mention of this, so there is a lack of clarity to the timing on this interface.

Need clarification since datasheet and errata have invalid information

Linux/PROCESSOR-SDK-AM335X: Building the SDK using arago

$
0
0

Part Number:PROCESSOR-SDK-AM335X

Tool/software: Linux

I am trying to build latest processor-sdk for AM335x-EVM and target (tisdk-rootfs image). However, the build doesn't output the tar file for the filesystem in the /deploy/images/ folder.  i did run it with -k for the continuous built and i did get some errors.

RTOS/AM4378: Configuring GPIO

$
0
0

Part Number:AM4378

Tool/software: TI-RTOS

Hi,

I would like to know how to define a port and number PIN of the a GPIO. Where I can find more info of this...

I found GPIO configuration code which makes LED1 = 0x603 (port and number incuded). Where come that number (0x603) from ?

Best regards.

Efrain

TDA3LA: SD Card Write FAILED!

$
0
0

Part Number:TDA3LA

I opened and asked this question in the past where it wasn't resolved and that case was now locked. I am reaching out again here as this is a must have feature for us now. From the previous thread, the problem was the function that handle file IO fileIOCmdHandler(UInt32 cmd, Void *pPrm) in network_ctrl_handle_mmc_wr.c

I have added Vps_printf in both SYSTEM_LINK_CMD_OPEN_FILE and SYSTEM_LINK_CMD_WRITE_FILE. The problems:

1. in  SYSTEM_LINK_CMD_OPEN_FILE, fileIOPrms->fileName, fileIOPrms->fileMode are corrupted. The fileName should have been AppImage while fileMode: "wb"

2. In SYSTEM_LINK_CMD_WRITE_FILE, both fileIOPrms->dataAddr, fileIOPrms->dataSize are 0 

Please help look into why this is the case. This function can be tested on your own TDA3 setup.

Thanks,

--Khai


Linux/AM4379: EVM board PN is TMDXEVM437XH**SD-CUBIC AM437x HS unable to bootup

$
0
0

Part Number:AM4379

Tool/software: Linux

I have tried setup AM437x HS for setup unit to verify the secure boot feature, however I have this issue, could you please help?

I tried to fix it without success. Here is the problem description:

The system does not boot up. After 30 seconds of powering up, the display shows faint vertical lines. Note that the microSD card (inserted) is programmed correctly since I can use it to boot up another EVM.

The EVM board PN is TMDXEVM437XH**SD-CUBIC

TMDSIDK437X: Controlling Stepper Motor

$
0
0

Part Number:TMDSIDK437X

Hi Team,

Our customer have questions for his TMDSIDK437X evaluation board on controlling the stepper motor:
1. How to use this board to connect and control any stepper motor.
2. Do he needs to buy any extra tools to help with the process. Is there any available example to help with this?

Thanks!

Jonathan

Linux: EGL on 4.14.108-ti-r108 no success

$
0
0

Hi,

I have the beaglebone Black. I run  Debian with custom build kernel. Is the latest kernel .


debian@beaglebone:~$ uname -a
Linux beaglebone 4.14.108-ti-r108 #2 SMP PREEMPT Fri Jun 28 15:28:17 EDT 2019 armv7l GNU/Linux

I use this display: LCD Display Module,2.8" 240x320 SPI TFT LCD  ILI9431.

The display is working  fine. I can run qt apps on the fb0 on linuxfb


QT_QPA_PLATFORM=linuxfb /lib/qt5/examples/examples/qtwidget/calculator/calculator  Just perfect


 

Nothing seemed to works on GFX,

Here are the system details:


debian@beaglebone:~$ sudo apt-get install ti-sgx-ti335x-modules-`uname -r`
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ti-sgx-ti335x-modules-4.14.108-ti-r108 is already the newest version (1stretch).
0 upgraded, 0 newly installed, 0 to remove and 99 not upgraded.
debian@beaglebone:~$ sudo apt-get install ti-sgx-ti335x-modules-`uname -r`
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ti-sgx-ti335x-modules-4.14.108-ti-r108 is already the newest version (1stretch).
0 upgraded, 0 newly installed, 0 to remove and 99 not upgraded.
debian@beaglebone:~$ 



Then


wget https://remi.avignon.me/bbb/libgbm_2.0.0-1_armhf.deb
  743  dpkg -i libgbm_2.0.0-1_armhf.deb
  744  sudo dpkg -i libgbm_2.0.0-1_armhf.deb
  745  wget https://remi.avignon.me/bbb/omap5-ti335x-sgx-ddk-um_1.0.0_armhf.deb
  746  dpkg -i --force-all omap5-ti335x-sgx-ddk-um_1.0.0_armhf.deb
  747  sudo dpkg -i --force-all omap5-ti335x-sgx-ddk-um_1.0.0_armhf.deb

  749  sudo /etc/init.d/rc.pvr start
  750  ps ax |
  751  ps ax | grep pvr
  752  wget https://remi.avignon.me/bbb/kmsxx_1.0.0_armhf.deb
  753  sudo  dpkg -i kmsxx_1.0.0_armhf.deb



Results

    fbtest    OK (ignore the rotation)


 

  ####    GFX CHECK   #####

    debian@beaglebone:~/opt$ ./sgx_palm/gfx_check.sh
    WSEGL settings
    [default]
    WindowSystem=libpvrDRMWSEGL.so
    DefaultPixelFormat=RGB565

    ------
    ARM CPU information
    processor    : 0
    model name    : ARMv7 Processor rev 2 (v7l)
    BogoMIPS    : 995.32
    Features    : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32
    CPU implementer    : 0x41
    CPU architecture: 7
    CPU variant    : 0x3
    CPU part    : 0xc08
    CPU revision    : 2

    Hardware    : Generic AM33XX (Flattened Device Tree)
    Revision    : 0000
    Serial        : 0000000000000000
    ------
    SGX driver information
    Version SGX_DDK sgxddk MAIN@3699939 (release) omap_linux
    System Version String: None
    ------
    Framebuffer settings

    mode "240x320"
        geometry 240 320 240 320 16
        timings 0 0 0 0 0 0 0
        nonstd 1
        rgba 5/11,6/5,5/0,0/0
    endmode

    Frame buffer device information:
        Name        : fb_ili9341
        Address     : 0
        Size        : 153600
        Type        : PACKED PIXELS
        Visual      : TRUECOLOR
        XPanStep    : 0
        YPanStep    : 0
        YWrapStep   : 0
        LineLength  : 480
        Accelerator : No
    ------
    Rotation settings
    0
    ------
    Kernel Module information
    Module                  Size  Used by
    fb_ili9341             16384  1
    pvrsrvkm              442368  0
    pruss_soc_bus          16384  0
    fbtft_device           49152  0
    fbtft                  45056  2 fbtft_device,fb_ili9341
    joydev                 20480  0
    evdev                  24576  1
    uio_pdrv_genirq        16384  0
    uio                    20480  1 uio_pdrv_genirq
    8021q                  32768  0
    garp                   16384  1 8021q
    mrp                    20480  1 8021q
    stp                    16384  1 garp
    llc                    16384  2 garp,stp
    usb_f_mass_storage     53248  2
    usb_f_acm              16384  2
    u_serial               20480  3 usb_f_acm
    usb_f_ecm              20480  2
    iptable_nat            16384  0
    nf_conntrack_ipv4      20480  1
    nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
    usb_f_rndis            32768  4
    u_ether                20480  2 usb_f_ecm,usb_f_rndis
    nf_nat_ipv4            16384  1 iptable_nat
    nf_nat                 32768  1 nf_nat_ipv4
    nf_conntrack          143360  3 nf_conntrack_ipv4,nf_nat_ipv4,nf_nat
    libcomposite           65536  18 usb_f_ecm,usb_f_acm,usb_f_mass_storage,usb_f_rndis
    iptable_mangle         16384  0
    iptable_filter         16384  0
    spidev                 20480  0
    pru_rproc              28672  0
    pruss                  16384  1 pru_rproc
    pruss_intc             16384  1 pru_rproc
    ip_tables              24576  3 iptable_mangle,iptable_filter,iptable_nat
    x_tables               36864  3 iptable_mangle,ip_tables,iptable_filter
    ------
    Boot settings
    console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet
    ------
    Linux Kernel version
    Linux beaglebone 4.14.108-ti-r108 #2 SMP PREEMPT Fri Jun 28 15:28:17 EDT 2019 armv7l GNU/Linux

    debian@beaglebone:~/opt$ dmesg | grep pvr
    [   80.062430] pvrsrvkm: loading out-of-tree module taints kernel.
    [   80.247487] [drm] Initialized pvr 1.14.3699939 20110701 for 56000000.sgx on minor 1



    But none of the GX samples or gl works. Here are couple of outputs

    debian@beaglebone:~/examples/opengl/2dpainting$ export DISPLAY=0:0
    debian@beaglebone:~/examples/opengl/2dpainting$ QT_QPA_PLATFORM=eglfs ./2dpainting
    PVR:(Error): PVRSRVBridgeCall: Failed to access device.  Function ID:3223086849 (strerror returns no value.). [0, ]
    PVR:(Error): PVRSRVEnumerateDevices: BridgeCall failed [0, ]
    PVR:(Error): PVRSRVConnect: Unable to enumerate devices. [0, ]
    PVR:(Error): Couldn't connect to services [0, ]
    Could not initialize egl display
    Aborted

    debian@beaglebone:~/examples/opengl/2dpainting$ kmscube
    drmModeGetResources failed: Invalid argument
    failed to initialize DRM


    debian@beaglebone:~/examples/opengl/2dpainting$ sudo glxgears
    Error: couldn't open display 0:0

    debian@beaglebone:~/examples/opengl/2dpainting$ fbset

    mode "240x320"
        geometry 240 320 240 320 16
        timings 0 0 0 0 0 0 0
        nonstd 1
        rgba 5/11,6/5,5/0,0/0
    endmode


    dmesg messages:

    debian@beaglebone:~$ dmesg | grep drm
    [    1.016242] [drm] Initialized vgem 1.0.0 20120112 for vgem on minor 0
    debian@beaglebone:~$ dmesg | grep pv
    [   80.049823] pvrsrvkm: loading out-of-tree module taints kernel.
    [   80.259498] [drm] Initialized pvr 1.14.3699939 20110701 for 56000000.sgx on minor 1
    debian@beaglebone:~$

    sudo strace kmscube
    open("/dev/dri/card0", O_RDWR|O_CLOEXEC) = 3
    ioctl(3, DRM_IOCTL_MODE_GETRESOURCES, 0xbee3e440) = -1 EINVAL (Invalid argument)
    fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
    write(1, "drmModeGetResources failed: Inva"..., 45drmModeGetResources failed: Invalid argument
    ) = 45
    write(1, "failed to initialize DRM\n", 25failed to initialize DRM



    Thank you, and appreciate any input.

Linux/AM5726: How to handle it reliably within the time limits for IPv6 UDP traffic under Ubuntu Linux

$
0
0

Part Number:AM5726

Tool/software: Linux

1. We are going to have the following IPv6 UDP traffic, is any way to handle it reliably within the time limits:

  • 8x 1.1kB packets sent out (with future growth to 30x or 40x 1.1kB packets) with no reply expected. Our current design needs this to finish within 500 microseconds.
  • 8x 90B packets sent out, each with an associated 1.1kB packet reply received
  • Ethernet:
  • 1x 90B packet sent out with an associated 1.1kB packet reply received, or
  • 1x 1.1kB packet sent out with an associated 90B packet reply received

All of this traffic needs to occur (and complete) every millisecond. The system we are communicating with is able to process and reply within a couple microseconds (not counting transport time). For this interface, we are using eth1 direct-connected to an FPGA over RGMII, there are no PHYs.  Is any way to handling it properly?

2. How to tell what speed the kernel cores are running at?  If it is set in u-boot. Shall we use the same u-boot as the AM572x EVM board, so what speed is that running?

Note: We are currently using the ti-processor-sdk-linux-rt-am57xx-evm-05.00.00.15-Linux-x86-Install.bin SDK with slight modifications to match our design.

Could you please advice and help us resolve these issues?  Thanks!

AM1806: About Silicon Errata description “2.1.5 System-Level ESD Immunity Usage Note”

$
0
0

Part Number:AM1806

Hi,

 

According to the Silicon Errata for AM1806

http://www.tij.co.jp/jp/lit/er/sprz314h/sprz314h.pdf

at chapter  “2.1.5 System-Level ESD Immunity Usage Note”, the following design is recommended.

 

 

However, load current to X1 could be about 12.5mA if the above design is implemented.

12.5mA is too big, and the waveform may become loose.

And also, because of the following condition is satisfied 

     

Voh(out out of X1 High) < Vih(threshold of incoming high to AM1806)



then unexpected behavior could be occurred.

 

Question 1:

Why so little resistance are recommended to R1, R2?



Question 2:

What is the recommended Crystal oscillator for X1?

Best regards,

HaTa.

Linux/DRA76P: visionSDK ipu firmware already booted by bootloader, why remoteproc module in kernel try to boot it too?

$
0
0

Part Number:DRA76P

Tool/software: Linux

hi all,

i already boot ipu2 firmware by bootloader, when kernel start, why remoteproc module try to boot it too? log as following:

[    1.197777] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
[    1.197817] remoteproc0: 55020000.ipu is available
[    1.197952] remoteproc0: Direct firmware load for dra7-ipu2-fw.xem4 failed with error -2
[    1.589074] ueventd: firmware: loading 'dra7-ipu2-fw.xem4' for '/devices/platform/44000000.ocp/55020000.ipu/remoteproc0/firmware/dra7-ipu2-fw.xem4'
[    1.726018] remoteproc0: powering up 55020000.ipu
[    1.726030] remoteproc0: Booting fw image dra7-ipu2-fw.xem4, size 8032388
[    1.726357] remoteproc0: remote processor 55020000.ipu is now up
[    1.727318] ueventd: loading /devices/platform/44000000.ocp/55020000.ipu/remoteproc0/firmware/dra7-ipu2-fw.xem4 took 138ms

i have add the following config in kernel DTS:

LATE_ATTACH(ipu2);
LATE_ATTACH(mmu_ipu2);

best regards!

Linux/AM3352: am3352 with dp83822 linux driver support.

$
0
0

Part Number:AM3352

Tool/software: Linux

Hi Team,

Do you know if PLSDK linux have dp83822 driver support? And if not how to do the modification to support it? thanks!

BR,
Denny


RTOS/AM3359: BootLoader, Flash by ethernet cable

$
0
0

Part Number:AM3359

Tool/software: TI-RTOS

Have any suggestions for update firmware by Ethernet cable! Im using AM3359.

TDA2PXEVM: How can I test the processing time of each layer on TDA

$
0
0

Part Number:TDA2PXEVM

Hi, 

I am running my OD net on TDA2P and the output is fine. And it shows the fps of the whole CNN model running on EVE.

Now, I want to analysis and test each layer's running time. 

SO, how can I get each layer's processing time?

Linux/AM3352: TFTP boot

$
0
0

Part Number:AM3352

Tool/software: Linux

Hi All,

Please help me in board-bring up for customized am3352 processor. I want to boot kernel from DDR2 which has 256MB size start adddress 0x80000000 to 0x90000000. Please let us know how to boot with DDR instead of from NOR flash. I dont want to boot or store images in NOR flash. Just for testing

Built uImage with make LOADADDR=0x82000000 uImage .Generated uImage and followed following step.

a. flashed SPL image got window uboot#

b. uboot# tftp 0x80000000 u-boot.bin

c. uboot# tftp 0x82000000 uImage

d. uboot# tftp 0x90000000 am335x.dtb

e. uboot# tftp 0x84080000 initrd.uboot(filesystem)

f.  uboot# bootm 0x82000000 0x84080000 0x90000000

Also tried without initrd.uboot bootm 0x82000000-0x90000000

After following above step kernel struct at "starting Kernel ...."

Kernel version 3.14 and 4.14 but it boots perfectly from NOR flash by storing images in NOR flash.

Please help me to boot Kernel from DDR directly also i have zImage also.

Waiting for your response.

Thanks and Regards

Subramanya

TMS320C6652: 1.0V appears at DDRRESET before POR

$
0
0

Part Number:TMS320C6652

1.0V appears at DDRRESET before POR
It may occur because of TMS320C6652 is undefined State
but it is not preferable for DDR because RESET is released at unintentional timing.
Could you tell me solutions? *It may be solved by adjust Pull up resistor.(Please visit the site to view this file)

DRA80M: DRA804M support LPDDR4 memory type feature

$
0
0

Part Number:DRA80M

Dear expert

Please help to reply as follows questions for DRA804M

1. According to datasheet, DRA804M can support LPDDR4, Could you provide the reference schematic and layout for LPDDR4 32bit ?

2. Could you have any comment for LPDDR4 x 1 4GB 32bit on DRA804M ?

Thanks

BR,

JJC

Viewing all 17527 articles
Browse latest View live


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