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

Compiler/AM4379: OpenGL ES2.0 cross compile

$
0
0

Part Number:AM4379

Tool/software: TI C/C++ Compiler

there is a cube example with OpenGLES 2.0  in QTCreator, I cross-compile it in TI environment, but when I run it in TL437x-evm-A2 board,there is nothing on the LCD surface ,just the whole screen went black,what problem may I encounter? The Demo OGLES2ChmeleonMan can run in the board.

My environment is    ti-processor-sdk-linux-am437x-evm-01.00.00.03-Linux-x86-Install.bin  and  QT5.4.1. and the  compile info is :

11:37:04: 为项目cube执行步骤 ...
11:37:04: 正在启动 "/media/tl437x/ti/linux-devkit/sysroots/i686-arago-linux/usr/bin/qt5/qmake" /home/tl/Desktop/qt/cube5.4.1/cube/cube.pro -r -spec linux-oe-g++ CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug

11:37:04: 进程"/media/tl437x/ti/linux-devkit/sysroots/i686-arago-linux/usr/bin/qt5/qmake"正常退出。
11:37:04: 正在启动 "/usr/bin/make" -w

make: Entering directory `/home/tl/Desktop/qt/cube5.4.1/cube-build-Desktop-Debug'
arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi -Wno-psabi -g -Wall -W -D_REENTRANT -fPIE -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../cube -I. -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5 -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5/QtWidgets -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5/QtGui -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5/QtCore -I. -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/lib/qt5/mkspecs/linux-oe-g++ -o main.o ../cube/main.cpp
arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi -Wno-psabi -g -Wall -W -D_REENTRANT -fPIE -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../cube -I. -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5 -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5/QtWidgets -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5/QtGui -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5/QtCore -I. -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/lib/qt5/mkspecs/linux-oe-g++ -o mainwidget.o ../cube/mainwidget.cpp
arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi -Wno-psabi -g -Wall -W -D_REENTRANT -fPIE -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../cube -I. -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5 -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5/QtWidgets -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5/QtGui -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5/QtCore -I. -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/lib/qt5/mkspecs/linux-oe-g++ -o geometryengine.o ../cube/geometryengine.cpp
/media/tl437x/ti/linux-devkit/sysroots/i686-arago-linux/usr/bin/qt5//rcc -name shaders ../cube/shaders.qrc -o qrc_shaders.cpp
arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi -Wno-psabi -g -Wall -W -D_REENTRANT -fPIE -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../cube -I. -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5 -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5/QtWidgets -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5/QtGui -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5/QtCore -I. -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/lib/qt5/mkspecs/linux-oe-g++ -o qrc_shaders.o qrc_shaders.cpp
/media/tl437x/ti/linux-devkit/sysroots/i686-arago-linux/usr/bin/qt5//rcc -name textures ../cube/textures.qrc -o qrc_textures.cpp
arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi -Wno-psabi -g -Wall -W -D_REENTRANT -fPIE -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../cube -I. -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5 -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5/QtWidgets -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5/QtGui -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5/QtCore -I. -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/lib/qt5/mkspecs/linux-oe-g++ -o qrc_textures.o qrc_textures.cpp
/media/tl437x/ti/linux-devkit/sysroots/i686-arago-linux/usr/bin/qt5//moc -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/media/tl437x/ti/linux-devkit/sysroots/i686-arago-linux/mkspecs/linux-oe-g++ -I/home/tl/Desktop/qt/cube5.4.1/cube -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5 -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5/QtWidgets -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5/QtGui -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5/QtCore -I. -I/opt/linaro-2013.03/arm-linux-gnueabihf/include -I/opt/linaro-2013.03/arm-linux-gnueabihf/include/c++/4.7.3 -I/opt/linaro-2013.03/arm-linux-gnueabihf/include/c++/4.7.3/arm-linux-gnueabihf -I/opt/linaro-2013.03/arm-linux-gnueabihf/include/c++/4.7.3/backward -I/opt/linaro-2013.03/lib/gcc/arm-linux-gnueabihf/4.7.3/include -I/opt/linaro-2013.03/lib/gcc/arm-linux-gnueabihf/4.7.3/include-fixed -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am437x-evm/usr/include ../cube/mainwidget.h -o moc_mainwidget.cpp
arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi -Wno-psabi -g -Wall -W -D_REENTRANT -fPIE -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../cube -I. -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5 -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5/QtWidgets -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5/QtGui -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/include/qt5/QtCore -I. -I/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/lib/qt5/mkspecs/linux-oe-g++ -o moc_mainwidget.o moc_mainwidget.cpp
arm-linux-gnueabihf-g++ --sysroot=/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi -o cube main.o mainwidget.o geometryengine.o qrc_shaders.o qrc_textures.o moc_mainwidget.o -L/media/tl437x/ti/linux-devkit/sysroots/cortexa9t2hf-vfp-neon-linux-gnueabi/usr/lib -lQt5Widgets -lQt5Gui -lQt5Core -lGLESv2 -lpthread
make: Leaving directory `/home/tl/Desktop/qt/cube5.4.1/cube-build-Desktop-Debug'
11:37:08: 进程"/usr/bin/make"正常退出。


AM5728: TMDSEVM572X

$
0
0

Part Number:AM5728

Hello Experts,

Our customer had purchased TMDSEVM572X (Revision A) long time before. Recently, customer is considering to purchase TMDSEVM572X again for next projects because TMDSEVM572X (Revision B) has already released now. If customer will order this on TI-store, would you think it is possible to get the latest TMDSEVM572X ?

I hope the old TMDSEVM572X already is out of stock, however, we’d like to confirm it. Can we have any your comments on this, please ?

And then, customer would like to know the difference among them. I believe customer is able to know difference when customer will check Readme.pdf in AM57x EVM Schematic Source (Rev.C). but, if there is any more helpful documents/URL, can you share them with us, please ?

Best regards,

Miyazaki

Linux/AM5708: How to set DPLL_CORE via Linux

$
0
0

Part Number:AM5708

Tool/software: Linux

Hello,

I have loaded Linux which was made by Arago to my board with am5708. It works fine but I can't understand how to set DPLL_CORE right. I have seen DPLL_ABE where I had to set "assigned-clock-rates" in dts file. I was trying to do same for DPLL_CORE but it haven't work. There is N set to 4 and M set to 277 by default and I can't find where I can change that. Would I get troubles in future if I set neccessary values via bare metal way in one of kernel modules? 

Best regards

AM5708: Can it support Graphic and Video Accelerators for HD Display ?

$
0
0

Part Number:AM5708

Hi All,

I need your advice for a single board computer application  which manages the HMI Touch Screen display.

I sent to Rogerio in private email the confidential block diagram of this application.

The first socket to define is the processor.

Main specs for the processor to look at are:

 Linux Operating System

  • Graphic Accelerator for the Play-Video feature to support HTML5 in full HD
  • Multi-Core if possible
  • 512Mb RAM
  • 2-4Gb Flash, better if scalable (1Gb RAM, 8Gb Flash for the performance solution)
  • Communication Interfaces:

5x UART (1x debug for Linux Console)

1x 10/100/1000 Mb Ethernet

2x I2X

2x USB 2.0

Able to manage a WiFi-BLE module

2x CAN Bus (data rate up to 1Mbit/s), better if separated: 1 for internal peripherals and the other one for external modules

1x SPI for Touch Screen

1x LVDS/HDMI/RGB

1x Analog Audio Output (Optional)

One of the main spec is to have the OS Linux. Indeed customer was using NXP platform i.MX 8 and 6 series but the Chromium browser did not support the graphic and video accelerators. In particular GPU (Graphic) was supported but not the VPU (Video).

 

Could you please recommend me any processor that might fit the above specs? Also any TIDesign or AppNote could be interesting.

I was thinking at SITARA AM5708 or even DRA726.

Are you aware whether our processor AM5708 might support the above specs?

Many Thanks,

Antonio

AM5728: DDR3 memory compliance tests (Jedec Standard JESD79-3-1A.01)

$
0
0

Part Number:AM5728

Dear team,

we are working to pass compliance tests for DDR3 memory with AM5728, unfortunately we are failing (Jedec Standard JESD79-3-1A.01).

Can you share any test reports that were passed with some of the reference designs, for instance TIDA-00204?

Thanks for feedback.

TMS320C5545: RTC clock to extrenal device

$
0
0

Part Number:TMS320C5545

Hi, we have used tms320c5505 in other designs and we have the option to use the RTC clock 32.768KHz to drive external unit via RTC_CLKOUT pin (D8).

Now we are going to use tms320c5545 for new design and do not see this option. Would this mean we cannot take the clock out to another device? or there is another way?

Thanks

SM320C40: SM320C40 IBIS model

RTOS/AM4376: Can't run the diagnostic examples on custom board

$
0
0

Part Number:AM4376

Tool/software: TI-RTOS

Hello,

I would like to run the diagnostic examples on a custom board. Here is what I did so far :

I updated the DDR3 configurations in the GEL files and I managed to run a "hello_world()" on the custom board through JTAG. But an app using RTOS (i.e : rtos_template_app_am437x_a9) doesn't work unless I comment BIOS_start();.

I changed the Pinmux of the idkAM437x board library with our board's configurations using the Pinmux utility as described in the following :

Then I setup the pdk :

C:/ti/pdk_am437x_1_0_14/packages>pdksetupenv.bat "C:/ti/pdk_am437x_1_0_14/packages"

  Then I build the board libraries :

C:/ti/pdk_am437x_1_0_14/packages>pdksetupenv.bat "C:/ti/pdk_am437x_1_0_14/packages"

C:/ti/pdk_am437x_1_0_14/packages>gmake board_lib_clean

C:/ti/pdk_am437x_1_0_14/packages>gmake board lib

  Then I build the bootloader :

C:/ti/pdk_am437x_1_0_14/packages>gmake starterware bootloader

After that I create the diagnostic app SD card loadable files

C:/ti/pdk_am437x_1_0_14/packages/ti/board/diag>gmake idkAM437x_sd

I copied all of the generated binaries to my sd card (which has been made bootable)

Then, the documentation says that I should copy the MLO located in <PDK>/packages/ti/boot/sbl/binary/<BOARD>/mmcsd to my SD card But the boot folder doesn't exist. So I rename bootloader_boot_mmcsd_a9host_debug_ti.bin to MLO and copy it to my SD card.

I insert it in my board, connect teraterm to the board's UART console, power on the board and press the hard reset button but nothing happens.

The Sysboot pins configuration says that the valid booting devices are MMCSD and QSPI.

Am I doing something wrong ? Or did I miss something ?

I use :

CCS 8.3

sdk rtos 5.03.00.07

pdk am437x 1.0.14

Windows 10 OS

Regards,

Gilles


RTOS/EVMK2G: Is there a working example for using McASP with onboard CODEC?

$
0
0

Part Number:EVMK2G

Tool/software: TI-RTOS

Hello, I'm trying to get up and running on a new EVMK2G. I've been able to run the basic Hello World stuff, but I've been unable to get an McASP demo working from the PDK directory. I used pdkprojectcreate to generate the McASP demo projects. I've been focusing on the MCASP_Audio_evmK2G_armExampleProject. It compiles and runs, but doesn't do anything. A quick look at the code reveals this:

#if defined (SOC_J721E)
    Task_Params taskParams;
    Task_Handle taskHandle;
    Error_Block eb;

    Task_Params_init(&taskParams);
    taskParams.stackSize = 0x4000;
    taskParams.priority = 5;
    taskParams.instance->name = "Audio_echo_Task";

    taskHandle = Task_create((ti_sysbios_knl_Task_FuncPtr)Audio_echo_Task,
                             &taskParams, &eb);

    if (NULL == taskHandle)
    {
        Log_info0("\r\nFailed to create Audio echo task!\n");
        BIOS_exit(0);
    }

#endif

So, on a K2G, the task initializing code gets ifdefed out. Getting rid of the ifdef/endif results in code that compiles, but task create fails with a memory error:

[CortexA15] ti.sysbios.heaps.HeapMem: line 221: out of memory: handle=0x80042d2c, size=16384

xdc.runtime.Memory: line 52: out of memory: heap=0x0, size=16384

I haven't yet dug into it to see what's going on, but I'm hoping there's a working example out there I can start with? I can only findaudio examples using the audio daughter board, which I currently don't have (and don't really need - stereo in/out is all I need).

AM3352: Sitara Device/Family longevity?

$
0
0

Part Number:AM3352

Is there a Sitara road-map, including estimated EOL dates, for public consumption? We've used the AM335x family for awhile now and would like to verify whether TI may have a different family suggestion for an industrial device needing 10+ years of product life?

Thanks ... Jim

66AK2H12: How to realize C66x core exclusive control

$
0
0

Part Number:66AK2H12

Hi Champs,

We would like to  realize C66x multi core exclusive control.

Can we realize C66 core to core exclusive contriol using SYS/BIOS Mutex (GateMutex _enter/GateMutex_leave function) ?

If we can't use this "Mutex relate function", do you have any other API ?

Linux/AM5728: Cannot run Qt apps for platform linuxfb with DRM

$
0
0

Part Number:AM5728

Tool/software: Linux

I'm using the AM572x EVM, PLSDK = 05.02.00.10 using both the HDMI and on board LCD. We would like to run our application using linuxfb for various performance reasons, with two applications running full screen, one on the LCD and one on the HDMI. We are working on a custom board and will migrate to two LCD outputs.

I read in a related post that fbdev is deprecated and to use DRM instead. However, any Qt application I run will crash when I try this. Below is the Qt debug output and my modetest output. Any advice on what I am doing wrong?

# export QT_LOGGING_RULES=*=true
# export QT_QPA_FB_DRM=1
# /usr/share/qt5/examples/widgets/dialogs/tabdialog/tabdialog  -platform linuxfb
qt.qpa.eglfs.kms: Loading KMS setup from "/etc/qt5/eglfs_kms_cfg.json"
qt.qpa.eglfs.kms: Requested configuration (some settings may be ignored):
        hwcursor: false
        pbuffers: true
        separateScreens: false
        virtualDesktopLayout: 0
        outputs: QMap(("HDMI1", QMap(("mode", QVariant(QString, "1366x768"))("name", QVariant(QString, "HDMI1"))("touchDevice", QVariant(QString, "/dev/input/event2"))("virtualIndex", QVariant(double, 1))))("UNKNOWN1", QMap(("mode", QVariant(QString, "800x480"))("name", QVariant(QString, "UNKNOWN1"))("touchDevice", QVariant(QString, "/dev/input/event1"))("virtualIndex", QVariant(double, 0)))))
qt.qpa.eglfs.kms: Using backend-provided DRM device /dev/dri/card0
qt.qpa.fb: DRM device /dev/dri/card0 opened
qt.qpa.eglfs.kms: "UNKNOWN1" mode count: 1
qt.qpa.eglfs.kms: mode 0 800 x 480 @ 60 hz
qt.qpa.eglfs.kms: Selected mode 0 : 800 x 480 @ 60 hz for output "UNKNOWN1"
getPlane: Plane for crtc 39 not found
qt.qpa.eglfs.kms: "HDMI1" mode count: 1
qt.qpa.eglfs.kms: mode 0 1366 x 768 @ 60 hz
qt.qpa.eglfs.kms: Selected mode 0 : 1366 x 768 @ 60 hz for output "HDMI1"
getPlane: Plane for crtc 47 not found
qt.qpa.eglfs.kms: Sorted screen list: QVector()
Segmentation fault (core dumped)


# modetest
trying to open device 'i915'...failed
trying to open device 'amdgpu'...failed
trying to open device 'radeon'...failed
trying to open device 'nouveau'...failed
trying to open device 'vmwgfx'...failed
trying to open device 'omapdrm'...done
Encoders:
id      crtc    type    possible crtcs  possible clones
34      39      TMDS    0x00000001      0x00000000
40      0       TMDS    0x00000002      0x00000000

Connectors:
id      encoder status          name            size (mm)       modes   encoders
35      34      connected       DPI-1           0x0             1       34
  modes:
        name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
  800x480 60 800 1010 1040 1056 480 502 515 525 33000 flags: nhsync, nvsync; type: preferred, driver
  props:
        1 EDID:
                flags: immutable blob
                blobs:

                value:
        2 DPMS:
                flags: enum
                enums: On=0 Standby=1 Suspend=2 Off=3
                value: 0
        5 link-status:
                flags: enum
                enums: Good=0 Bad=1
                value: 0
41      0       connected       HDMI-A-1        340x190         1       40
  modes:
        name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
  1366x768 60 1366 1406 1438 1456 768 771 777 793 69300 flags: nhsync, nvsync; type: preferred, driver
  props:
        1 EDID:
                flags: immutable blob
                blobs:

                value:
                        00ffffffffffff0006afec1000000000
                        001601049022137802bbf59455549027
                        23505400000001010101010101010101
                        010101010101121b565a500019302820
                        360058c1100000180000000f00000000
                        00000000000000000020000000fe0041
                        554f0a202020202020202020000000fe
                        004231353658545430312e30200a004a
        2 DPMS:
                flags: enum
                enums: On=0 Standby=1 Suspend=2 Off=3
                value: 0
        5 link-status:
                flags: enum
                enums: Good=0 Bad=1
                value: 0

CRTCs:
id      fb      pos     size
39      60      (0,0)   (800x480)
  800x480 60 800 1010 1040 1056 480 502 515 525 33000 flags: nhsync, nvsync; type: preferred, driver
  props:
        23 CTM:
                flags: blob
                blobs:

                value:
        24 GAMMA_LUT:
                flags: blob
                blobs:

                value:
        25 GAMMA_LUT_SIZE:
                flags: immutable range
                values: 0 4294967295
                value: 256
        30 background:
                flags: range
                values: 0 16777215
                value: 0
        31 trans-key-mode:
                flags: enum
                enums: disable=0 gfx-dst=1 vid-src=2
                value: 0
        32 trans-key:
                flags: range
                values: 0 16777215
                value: 0
        33 alpha_blender:
                flags: range
                values: 0 1
                value: 0
        37 rotation:
                flags: bitmask
                values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20
                value: 1
        27 zorder:
                flags: range
                values: 0 3
                value: 0
47      0       (0,0)   (0x0)
   0 0 0 0 0 0 0 0 0 0 flags: ; type:
  props:
        23 CTM:
                flags: blob
                blobs:

                value:
        24 GAMMA_LUT:
                flags: blob
                blobs:

                value:
        25 GAMMA_LUT_SIZE:
                flags: immutable range
                values: 0 4294967295
                value: 256
        30 background:
                flags: range
                values: 0 16777215
                value: 0
        31 trans-key-mode:
                flags: enum
                enums: disable=0 gfx-dst=1 vid-src=2
                value: 0
        32 trans-key:
                flags: range
                values: 0 16777215
                value: 0
        33 alpha_blender:
                flags: range
                values: 0 1
                value: 0
        43 rotation:
                flags: bitmask
                values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20
                value: 1
        27 zorder:
                flags: range
                values: 0 3
                value: 0

Planes:
id      crtc    fb      CRTC x,y        x,y     gamma size      possible crtcs
36      39      60      0,0             0,0     0               0x00000003
  formats: RX12 AR12 RG16 XR24 RG24 AR24 RA24 RX24 AR15 XR12 RA12 XR15
  props:
        6 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 1
        37 rotation:
                flags: bitmask
                values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20
                value: 1
        27 zorder:
                flags: range
                values: 0 3
                value: 0
        38 zpos:
                flags: range
                values: 0 3
                value: 0
        28 global_alpha:
                flags: range
                values: 0 255
                value: 255
        29 pre_mult_alpha:
                flags: range
                values: 0 1
                value: 0
42      0       0       0,0             0,0     0               0x00000003
  formats: RG16 RX12 YUYV AR15 RA24 NV12 RA12 XR24 RG24 UYVY AR12 XR15 AR24 XR12 RX24
  props:
        6 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 1
        43 rotation:
                flags: bitmask
                values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20
                value: 1
        27 zorder:
                flags: range
                values: 0 3
                value: 0
        44 zpos:
                flags: range
                values: 0 3
                value: 0
        28 global_alpha:
                flags: range
                values: 0 255
                value: 255
        29 pre_mult_alpha:
                flags: range
                values: 0 1
                value: 0
48      0       0       0,0             0,0     0               0x00000003
  formats: RG16 RX12 YUYV AR15 RA24 NV12 RA12 XR24 RG24 UYVY AR12 XR15 AR24 XR12 RX24
  props:
        6 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 0
        49 rotation:
                flags: bitmask
                values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20
                value: 1
        27 zorder:
                flags: range
                values: 0 3
                value: 2
        50 zpos:
                flags: range
                values: 0 3
                value: 2
        28 global_alpha:
                flags: range
                values: 0 255
                value: 255
        29 pre_mult_alpha:
                flags: range
                values: 0 1
                value: 0
53      0       0       0,0             0,0     0               0x00000003
  formats: RG16 RX12 YUYV AR15 RA24 NV12 RA12 XR24 RG24 UYVY AR12 XR15 AR24 XR12 RX24
  props:
        6 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 0
        54 rotation:
                flags: bitmask
                values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20
                value: 1
        27 zorder:
                flags: range
                values: 0 3
                value: 3
        55 zpos:
                flags: range
                values: 0 3
                value: 3
        28 global_alpha:
                flags: range
                values: 0 255
                value: 255
        29 pre_mult_alpha:
                flags: range
                values: 0 1
                value: 0

Frame buffers:
id      size    pitch

Linux/AM3352: TCA8418 I2C Matrix Keypad Same Key with Multiple Function(Special Character)

$
0
0

Part Number:AM3352

Tool/software: Linux

Hi All, 

    We are using AM3352 Processor with TI Staging Linux 4.1.18 and we need help form your side about TCA8418 I2C Matrix Keypad Same Key with Multiple Function. In my product Qwerty key(A-Z, a-z) working properly but Special characters not working.

TMS320VC5409A: Programmer suggestions

$
0
0

Part Number:TMS320VC5409A

Can anybody recommend a programmer to program TMS320VC5409A and TMS320C6726 parts?  TI won't recommend any since they are NRND.  I am trying to make an existing product line continue to function.

Linux/AM4378: Eth1 unplugged stops pings to eth0

$
0
0

Part Number:AM4378

Tool/software: Linux

Hi,

I am new to the forums, So do apologize if this is a repeat.

We have a custom board which was developed of am437x-gp-evm. We are facing an issue with the Ethernet, when I plug eth1 and eth0 both with saperate subnet, I am able to ping the IP address successfully. The moment eth1 is unplugged ping stops to eth0 too.

Following is the configuration in my dts file:

AM4372_IOPAD(0x910, PIN_INPUT | MUX_MODE1) /* mii1_rxer */
AM4372_IOPAD(0x90C, PIN_INPUT | MUX_MODE1) /* mii1_crs */
AM4372_IOPAD(0x944, PIN_INPUT | MUX_MODE0) /* rmii1_refclk */
AM4372_IOPAD(0x914, PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_txen.rgmii1_txen */
AM4372_IOPAD(0x924, PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_txd1.rgmii1_txd1 */
AM4372_IOPAD(0x928, PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_txd0.rgmii1_txd0 */
AM4372_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE1) /* mii1_rxd1.rgmii1_rxd1 */
AM4372_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE1) /* mii1_rxd0.rgmii1_rxd0 */


/* Slave 2 */
AM4372_IOPAD(0x858, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_a6.rgmii2_tclk */
AM4372_IOPAD(0x840, PIN_OUTPUT | MUX_MODE2) /* gpmc_a0.rgmii2_tctl */
AM4372_IOPAD(0x854, PIN_OUTPUT | MUX_MODE2) /* gpmc_a5.rgmii2_td0 */
AM4372_IOPAD(0x850, PIN_OUTPUT | MUX_MODE2) /* gpmc_a4.rgmii2_td1 */
AM4372_IOPAD(0x84c, PIN_OUTPUT | MUX_MODE2) /* gpmc_a3.rgmii2_td2 */
AM4372_IOPAD(0x848, PIN_OUTPUT | MUX_MODE2) /* gpmc_a2.rgmii2_td3 */

AM4372_IOPAD(0x85c, PIN_INPUT | MUX_MODE2) /* gpmc_a7.rgmii2_rclk */
AM4372_IOPAD(0x844, PIN_INPUT | MUX_MODE2) /* gpmc_a1.rgmii2_rtcl */
AM4372_IOPAD(0x86c, PIN_INPUT | MUX_MODE2) /* gpmc_a11.rgmii2_rd0 */
AM4372_IOPAD(0x868, PIN_INPUT | MUX_MODE2) /* gpmc_a10.rgmii2_rd1 */
AM4372_IOPAD(0x864, PIN_INPUT | MUX_MODE2) /* gpmc_a9.rgmii2_rd2 */
AM4372_IOPAD(0x860, PIN_INPUT | MUX_MODE2) /* gpmc_a8.rgmii2_rd3 */

&mac {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&cpsw_default>;
pinctrl-1 = <&cpsw_sleep>;
dual_emac=<1>;
status = "okay";
};

&davinci_mdio {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&davinci_mdio_default>;
pinctrl-1 = <&davinci_mdio_sleep>;
status = "okay";
};

&cpsw_emac0 {
phy_id = <&davinci_mdio>,<0>;
phy-mode = "rmii";
dual_emac_res_vlan = <1>;
};

&cpsw_emac1 {
phy_id = <&davinci_mdio>,<5>;
phy-mode = "rgmii";
dual_emac_res_vlan = <2>;
};

Linux Kernel Version: Linux version 4.14.79

Kernel log of PHY:

[ 1.206803] libphy: Fixed MDIO Bus: probed
[ 1.283487] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[ 1.291188] davinci_mdio 4a101000.mdio: detected phy mask ffffffde
[ 1.299354] libphy: 4a101000.mdio: probed
[ 1.303400] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[ 1.312669] davinci_mdio 4a101000.mdio: phy[5]: device 4a101000.mdio:05, driver Micrel KSZ9031 Gigabit PHY
[ 1.323288] cpsw 4a100000.ethernet: Detected MACID = f0:b5:d1:54:be:a0
[ 1.330122] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[ 1.336565] cpsw 4a100000.ethernet: ALE Table size 1024
[ 1.341859] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[ 1.349724] cpsw 4a100000.ethernet: cpsw: Detected MACID = f0:b5:d1:54:be:a2


ifconfig -a output:

eth0 Link encap:Ethernet HWaddr F0:B5:D1:54:BE:A0
inet addr:10.74.127.251 Bcast:10.74.127.255 Mask:255.255.255.192
inet6 addr: fe80::f2b5:d1ff:fe54:bea0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:128 errors:0 dropped:0 overruns:0 frame:0
TX packets:87 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8420 (8.2 KiB) TX bytes:24020 (23.4 KiB)
Interrupt:51

eth1 Link encap:Ethernet HWaddr F0:B5:D1:54:BE:A2
inet addr:10.74.125.55 Bcast:10.74.125.255 Mask:255.255.254.0
inet6 addr: fe80::f2b5:d1ff:fe54:bea2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10495 errors:0 dropped:54 overruns:0 frame:0
TX packets:651 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1070755 (1.0 MiB) TX bytes:61738 (60.2 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:320 errors:0 dropped:0 overruns:0 frame:0
TX packets:320 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:23680 (23.1 KiB) TX bytes:23680 (23.1 KiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Settings for eth0:

Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 10Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000000 (0)
Link detected: yes

Settings for eth1:

Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 5
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000000 (0)
Link detected: yes

I read the http://processors.wiki.ti.com/index.php/Linux_Core_CPSW_User's_Guide#Dual_Standalone_EMAC_mode but still was not able to come to a conclusion. We want to have the both Ethernet ports eth0 and eth1 work independent of each other. Unpluging eth1 should not effect eth0.

Thank you for your response.


66AK2H06: how to trigger exception manually?

$
0
0

Part Number:66AK2H06

Hi all,

I set a NMI iand enable the external and internal exception by setting register in TSR.GEE.

I also hook NMI to an interrupt c code.

Now, i want to test if my setup works, how to I trigger an exception?

is it possible by doing this in dsp c code side?

Regards,

Yao-Ting

RTOS/TMS320C6657: DbgPrintf does not print to console

$
0
0

Part Number:TMS320C6657

Tool/software: TI-RTOS

Hi,

I'm not getting console output when I call the DbgPrintf function while running the NDK 3.40.1.01 on an EVMC6657L board.

I'm using SYSBIOS 6.75.2.00

XDC 3.50.8.24_core

I've set the debug print level to DBG_INFO in the stack configuration task:

rc = DBG_INFO;
   CfgAddEntry (hCfg, CFGTAG_OS, CFGITEM_OS_DBGPRINTLEVEL,
      CFG_ADDMODE_UNIQUE, sizeof(uint32_t), (UINT8 *) &rc, 0);

I've also tried just calling System_printf( ) directly, from main() and also from a task. If I simply call the printf() function, I do see the output on the console. The console, is viewed through the jtag emulator:

My SYSBIOS configuration file is pasted below. I'd appreciate some help in getting this functionality working.

Thanks,

Jim

var Defaults = xdc.useModule('xdc.runtime.Defaults');
var Diags = xdc.useModule('xdc.runtime.Diags');
var Error = xdc.useModule('xdc.runtime.Error');
var Log = xdc.useModule('xdc.runtime.Log');
var LoggerBuf = xdc.useModule('xdc.runtime.LoggerBuf');
var Main = xdc.useModule('xdc.runtime.Main');
var Memory = xdc.useModule('xdc.runtime.Memory')
var SysMin = xdc.useModule('xdc.runtime.SysMin');
var System = xdc.useModule('xdc.runtime.System');
var Text = xdc.useModule('xdc.runtime.Text');

var BIOS = xdc.useModule('ti.sysbios.BIOS');
var Clock = xdc.useModule('ti.sysbios.knl.Clock');
var Swi = xdc.useModule('ti.sysbios.knl.Swi');
var Task = xdc.useModule('ti.sysbios.knl.Task');
var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');
var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
var Idle = xdc.useModule('ti.sysbios.knl.Idle');
var Timer = xdc.useModule('ti.sysbios.timers.timer64.Timer');


var Timestamp = xdc.useModule('xdc.runtime.Timestamp');

var Cache       =   xdc.useModule('ti.sysbios.family.c66.Cache');

/* lower half of DDR3 is cached */
Cache.setMarMeta(0x80000000, 0x10000000, 1);

/* upper half of DDR3 is non-cached */
Cache.setMarMeta(0x90000000, 0x10000000, 0);


var Exception = xdc.useModule('ti.sysbios.family.c64p.Exception');
var CpIntc = xdc.useModule('ti.sysbios.family.c66.tci66xx.CpIntc');
var EventCombiner = xdc.useModule('ti.sysbios.family.c64p.EventCombiner');
var HeapMem = xdc.useModule('ti.sysbios.heaps.HeapMem');
var HeapBuf = xdc.useModule('ti.sysbios.heaps.HeapBuf');

/*
** Use this load to configure NDK 2.2 and above using RTSC. In previous versions of
** the NDK RTSC configuration was not supported and you should comment this out.
*/
var Ndk       = xdc.loadPackage('ti.ndk.config');
var Global       = xdc.useModule('ti.ndk.config.Global');
/*
** This allows the heart beat (poll function) to be created but does not generate the stack threads
**
** Look in the cdoc (help files) to see what CfgAddEntry items can be configured. We tell it NOT
** to create any stack threads (services) as we configure those ourselves in our Main Task
** thread hpdspuaStart.
*/  
Global.enableCodeGeneration = false;

var Startup = xdc.useModule('xdc.runtime.Startup');
var SysStd = xdc.useModule('xdc.runtime.SysStd');

/*
 * Uncomment this line to globally disable Asserts.
 * All modules inherit the default from the 'Defaults' module.  You
 * can override these defaults on a per-module basis using Module.common$.
 * Disabling Asserts will save code space and improve runtime performance.
Defaults.common$.diags_ASSERT = Diags.ALWAYS_OFF;
 */

/*
 * Uncomment this line to keep module names from being loaded on the target.
 * The module name strings are placed in the .const section. Setting this
 * parameter to false will save space in the .const section.  Error and
 * Assert messages will contain an "unknown module" prefix instead
 * of the actual module name.
Defaults.common$.namedModule = false;
 */

/*
 * Minimize exit handler array in System.  The System module includes
 * an array of functions that are registered with System_atexit() to be
 * called by System_exit().
 */
System.maxAtexitHandlers = 8;

/*
 * Uncomment this line to disable the Error print function.  
 * We lose error information when this is disabled since the errors are
 * not printed.  Disabling the raiseHook will save some code space if
 * your app is not using System_printf() since the Error_print() function
 * calls System_printf().
Error.raiseHook = null;
 */

/*
 * Uncomment this line to keep Error, Assert, and Log strings from being
 * loaded on the target.  These strings are placed in the .const section.
 * Setting this parameter to false will save space in the .const section.
 * Error, Assert and Log message will print raw ids and args instead of
 * a formatted message.
Text.isLoaded = false;
 */

/*
 * Uncomment this line to disable the output of characters by SysMin
 * when the program exits.  SysMin writes characters to a circular buffer.
 * This buffer can be viewed using the SysMin Output view in ROV.
SysMin.flushAtExit = false;
 */

/*
 * The BIOS module will create the default heap for the system.
 * Specify the size of this default heap.
 */
BIOS.heapSize = 0x1000;

/*
 * Build a custom SYS/BIOS library from sources.
 */
BIOS.libType = BIOS.LibType_Custom;

/* System stack size (used by ISRs and Swis) */
Program.stack = 0x2000;

/* Circular buffer size for System_printf() */
SysMin.bufSize = 0x200;

/*
 * Create and install logger for the whole system
 */
var loggerBufParams = new LoggerBuf.Params();
loggerBufParams.numEntries = 16;
var logger0 = LoggerBuf.create(loggerBufParams);
Defaults.common$.logger = logger0;
Main.common$.diags_INFO = Diags.ALWAYS_ON;

System.SupportProxy = SysMin;

var clock0Params = new Clock.Params();
clock0Params.instance.name = "clock0";
clock0Params.period = 1;
clock0Params.startFlag = true;
Program.global.clock0 = Clock.create("&GpakSchedulingTimer", 1, clock0Params);
Idle.idleFxns[0] = "&GpakIdleTaskFunc";


var HeapMem = xdc.useModule('ti.sysbios.heaps.HeapMem');
var heapMemParams = new HeapMem.Params();
heapMemParams.size = 0x8000;
heapMemParams.sectionName = "systemHeap";
Program.global.heap0 = HeapMem.create(heapMemParams);

Memory.defaultHeapInstance  =   Program.global.heap0;

Program.sectMap["sharedL2"] = "MSMCSRAM";
Program.sectMap["systemHeap"] = "MSMCSRAM";
Program.sectMap[".sysmem"]  = "MSMCSRAM";
Program.sectMap[".args"]    = "MSMCSRAM";
Program.sectMap[".cio"]     = "MSMCSRAM";
Program.sectMap[".far"]     =     "MSMCSRAM";
/*
Program.sectMap[".rodata"]     =     "MSMCSRAM";
Program.sectMap[".neardata"]     =     "MSMCSRAM";
Program.sectMap[".bss"]        =    "MSMCSRAM";
*/
Program.sectMap[".cppi"]     =     "MSMCSRAM";
Program.sectMap[".init_array"]     =     "MSMCSRAM";
Program.sectMap[".qmss"]     =     "MSMCSRAM";
Program.sectMap[".cinit"]     =     "MSMCSRAM";
Program.sectMap[".const"]    =    "MSMCSRAM";
Program.sectMap[".text"]    =    "MSMCSRAM";
Program.sectMap[".code"]    =    "MSMCSRAM";
Program.sectMap[".switch"]    =    "MSMCSRAM";
Program.sectMap[".data"]    =    "MSMCSRAM";
Program.sectMap[".fardata"] =     "MSMCSRAM";
Program.sectMap[".args"]     =     "MSMCSRAM";
Program.sectMap[".cio"]     =     "MSMCSRAM";
Program.sectMap[".vecs"]     =     "MSMCSRAM";
Program.sectMap["emacComm"]          = "L2SRAM"
Program.sectMap[".far:taskStackSection"] = "L2SRAM";
Program.sectMap[".stack"]    =    "L2SRAM";
Program.sectMap[".far:IMAGEDATA"] = {loadSegment: "L2SRAM", loadAlign: 8};
Program.sectMap[".far:NDK_OBJMEM"] = {loadSegment: "L2SRAM", loadAlign: 8};
Program.sectMap[".far:NDK_PACKETMEM"] = {loadSegment: "L2SRAM", loadAlign: 128};


/* Load the CSL package */
var devType                     =     "c6657";
var Csl                         =     xdc.useModule('ti.csl.Settings');
Csl.deviceType                     =     devType;
Csl.useCSLIntcLib                 =     true;

/* Load the OSAL package */
var osType = "tirtos"
var Osal = xdc.useModule('ti.osal.Settings');
Osal.osType = osType;

/* Load the QMSS package */
var Qmss                        =   xdc.loadPackage('ti.drv.qmss');

/* Load the EMAC packages */
var Emac = xdc.loadPackage('ti.drv.emac');
Emac.Settings.socType = devType;
var socType           = "c6657";

var Nimu         = xdc.loadPackage('ti.transport.ndk.nimu');
Nimu.Settings.socType  = socType;


66AK2H06: how to set exception propely?

$
0
0

Part Number:66AK2H06

Hi all,

how to i set the exception properly with CSL?

i try to use the same way with normal interrupt but it doesn't work.

here is my code

int eventIDNMI[] = // CIC module output to INTC module input
{
       CSL_C66X_COREPAC_TIMER_11_INTL, 

};


_IntcVectId vectIDNMI[] =

{
         CSL_INTC_VECTID_EXCEP,
         CSL_INTC_VECTID_7,

};

hIntcNMI[0] = CSL_intcOpen(&intcObj, eventIDNMI[0], &vectIDNMI[0], NULL);


CSL_intcHookIsr(vectIDNMI[0], NMI_ISR_handler[0]); // Hook the ISR's


CSL_intcHwControl(hIntcNMI[0], CSL_INTC_CMD_EVTCLEAR,NULL); // Clear any pending interrupts


CSL_intcHwControl(hIntcNMI[0], CSL_INTC_CMD_EVTENABLE,NULL); // Clear any pending interrupts

then i set the register TSR to enable it.

Uint32 chipReg[1];

chipReg[0] = CSL_chipReadReg (CSL_CHIP_TSR);
CSL_chipWriteReg (CSL_CHIP_TSR, chipReg[0] | 0x0000000c); // enable all exception


I want to use timer 11 to trigger exception but if it doesn't work.

it is ok to use CSL_INTC_VECTID_7 for the normal interrupt but I want the DSP can use CSL_INTC_VECTID_EXCEP for the exception.

 

Does anyone know how to set exception properly?

 

Thanks

TMDX654IDKEVM: x2 Lane PCIe Card Clocking Root Selection Issue

$
0
0

Part Number:TMDX654IDKEVM

Our customer want to select the clock source for PCIe RC and EP operation on IDK. Resistor options are provided to do that. But some pads for the resistor options cannot be found.

Where is each pad of R245 and R246 on the PCIe card?

Best regards,

Daisuke

AM3358: AM3358BZCZ100 : Overvoltage from PLL,OSC

$
0
0

Part Number:AM3358

Hi,
I designed the board using "AM3358BZCZ100", but the product behaves differently at power on.
Of the five, there are some that start normally, some that start occasionally, and some that do not start at all.
The cause is that the “LDO1 pin(1.8V)” of “TPS65218D0” transiently rises to 2 V when the power is turned on.
Due to this overvoltage, the power supply start-up sequence of "TPS65218D0" stops halfway.
In order to investigate the cause, I removed the load of "LDO1" from group 1 to 3 in order.
LDO1 connect group
(group1)
analog circuits load = 100uA
VDDA_ADC
VREF_P
(group2)
VDDS
VDDS_SRAM_CORE_BG
VDDS_SRAM_MPU_BB
VDDS_RTC
(group3)
VDDS_PLL_CORE_LD
VDDS_PLL_MPU
VDDS_PLL_DDR
VDDS_OSC

When group 3 was removed, it now works properly.
It seems that an overvoltage will be applied from the “AM3358BZCZ100 PLL,OSC” terminal to the “LDO1” when the power is turned on for some reason.
By adding a 500 ohm resistor as a load to the “LDO1” terminal, the overvoltage does not appear.
Is it the characteristic of "AM3358BZCZ100"?
Is there a problem with using "AM3358BZCZ100"?
Regards,
Isao.
Viewing all 17527 articles
Browse latest View live