Quantcast
Channel: Embedded Software (Read Only)
Viewing all 25965 articles
Browse latest View live

Forum Post: RE: BeagleBone LCD works but ... FBDEv or DRM ?


Forum Post: RE: omapl138 lcdk image processing

$
0
0
Hi USER, [quote user="USER says"] Firstly,How can i read a video from micro sd card ?Are there some restriction on the video format ? [/quote] For OMAPL138, You will get some basic example code to access the micro sd as a part of BSL test code. Those examples will demonstrate the read/write of memory blocks of mmc sd card. On top of it, you may have to develop things like having a FATFS on the mmcsd and the FATFS driver , understanding and implementing the file access for video file format e.t.c. [quote user="USER says"] Secondly,I studied an example about lcd displaying in starterware .The question is that if i want to change what show on lcd screem,what should i do or which API or Data array can change it ? [/quote] In that example, they have a used an Image ( by converting a bmp image into an C array ). The name of the array is "image1" You have to use the bmp2c utility program to convert the bmp into a header file. >bmp2c.exe -16 E2E.bmp image.h You can run the LCD starterware example on the OMAPL138 LCDK board through CCS. Once you are able to run it successfully, you can do a code walk through and understand the APIs used and try changing the code of lcd. You will find the example located at "~\OMAPL138_StarterWare_1_10_04_01\build\armv5\cgt_ccs\omapl138\lcdkOMAPL138\raster" after you install the Starterware package. For more info visit :

Forum Post: Unresolved symbol NIMUDeviceTable on TMS320c6657

$
0
0
Hello, I'm using a TMS320C6657 board and tried to create a program using the ndk features. I created a new CCS project, added a new .c-file and a .cfg-file, both of them empty. In the Properties->General RTSC tab I enabled NDK 2.24.3.35, SYS/BIOS 6.45.1.29, System Analyzer and 665x PDK 2.0.1. Then I added these lines to the cfg-file var Emac = xdc.useModule( 'ti.ndk.config.Emac' ); var Global = xdc.useModule( 'ti.ndk.config.Global' ); var BIOS = xdc.useModule( 'ti. sysbios .BIOS' ); var Emac = xdc.useModule('ti.ndk.config.Emac'); var Global = xdc.useModule('ti.ndk.config.Global'); var BIOS = xdc.useModule('ti.sysbios.BIOS'); and a main.c file with the code int main ( void ) { BIOS_start(); return 0; } #include int main(void) { BIOS_start(); return 0; } The problem is, I get the following error: undefined first referenced symbol in file --------- ---------------- NIMUDeviceTable C:\ti\ndk_2_24_03_35\packages\ti\ndk\stack\lib\stk6.ae66 error #10234-D: unresolved symbols remain error #10010: errors encountered during linking; "NetworkTest02.out" not built >> Compilation failure As far as I read in the forum I need to link in the correct nimu library. I discovered the file nimu_eth.h in my pdk_c665x_2_0_1/packages/ti/transport/ndk/nimu directory. But how can I tell my project to find it, I don't get it, tried several things and compared to the examples (which run without errors). Please, can you help me? Thanks.

Forum Post: volib_C64P_2_1_0_1

$
0
0
Hi, I am testing the TDU from in volib_C64P_2_1_0_1 . I just used the the test code comes with and compile use CCS 6.12 for target OMAP-L138 and run on EVM board. however, the program always stops at following code: /****************************************************************************/ /* ABORT - ABNORMAL PROGRAM TERMINATION. CURRENTLY JUST HALTS EXECUTION. */ /****************************************************************************/ _CODE_ACCESS void abort(void) { #pragma diag_suppress 1119 #ifndef __VIRTUAL_ENCODING__ /*-------------------------------------------------------------------*/ /* SET C$$EXIT LABEL SO THE DEBUGGER KNOWS WHEN THE C++ PROGRAM HAS */ /* COMPLETED. THIS CAN BE REMOVED IF THE DEBUGGER IS NOT USED. */ /*-------------------------------------------------------------------*/ __asm(" .global C$$EXIT"); __asm("C$$EXIT: nop"); #else /*-------------------------------------------------------------------*/ /* GENERATE A C$$EXIT OPCODE. */ /*-------------------------------------------------------------------*/ __asm(" .vinstr C$$EXIT"); __asm("C$$EXIT: .encode \"C$$EXIT\", $ENC_OPNDS, 0"); #endif I just took the code from volib and did not change anything. I am wondering what could be wrong? thanks in advance! Ron

Forum Post: RE: How to configure PulseAudio in am335x SDK ?

$
0
0
Hi Vladimir, Check the linked below tutorials about PulseAudio configuration: wiki.archlinux.org/.../Configuration en.wikibooks.org/.../Remote_server BR Tsvetolin Shulev

Forum Post: RE: Get available free memory?

$
0
0
Hello Lali, this possibility would not cover errors in linker command file. Assumed I think my command file configures 200 MBytes but due to an error it defines only 100 MBytes heap: then counting e.g. 50 MBytes allocated memory would let me think there are still 150 MBytes left while in reality only 50 MBytes are available. So this bug could not be discovered.

Forum Post: RE: OTG/ADB USB state recognition

$
0
0
HI, im running Linux kernel 3.08 with android 2.3.4

Forum Post: PRU-ICSS does not receives an interrupt event from EHRPWM0.

$
0
0
PRU-ICSS does not receives an interrupt event from EHRPWM0. I checked that EHRPWM0 actually generates an interrupt. I also simulated interrupt event through SISR register, everything works. OCP master ports are enabled. But! The real interrupt signal from the EHRPWM0 does not arrive! What's the problem? May be necessary to enable the OCP slave port but I have not found such an setting in the registers of PRU-ICSS .

Forum Post: Embedded HTTP Web Server (NDK) stops upon Task Block/Malfunction

$
0
0
MCU: TM4C1294NCPDT TI-RTOS: v2.01.00.03 NDK: v2.23.01.01 CCS: v6.0.1.0040 - Hi, I have a firmware running on Tiva C MCU on top of TI-RTOS. The firmware also makes use of Embedded HTTP Web Server based out of the example as illustrated here . In the code, I have multiple tasks running simultaneously. The tasks have priorities of 3, 5, 7, 9, 10 & 12. What I mean is that, the task priorities are selected between these few numbers only. For example, there are 10 tasks which have priority as 3 & 2 tasks which have priority 7, and so on. Now, due to some coding error (or something else which I need to diagnose), one task having task priority as 3 is executing in an infinite loop without any OS function call like Task_sleep() or Semaphore_pend() or Mailbox_pend(), etc. This is not happening at the beginning of the firmware running. This occurs after about 2 hours of continuous firmware run. This will get corrected if the hardware is restarted. Now, in this situation, I find all higher priority tasks are running; whereas all tasks having priorities lower than or equal to 3 are getting blocked. Due to some urgency in delivering the code, I have reduced the priority of this erroneous task from 3 to 2. After doing this, I find that the task (whose priority I reduced from 3 to 2) has no effect on any other task as all other tasks are having priority greater than 2. But, surprisingly, I find that the Embedded Web Server stops working once this phenomena (as explained above) occurs. Can anyone suggest where to look for? I have the following settings in the .cfg file, is any change of parameters required in the below mentioned script of the .cfg file? EMAC.libType = EMAC.LibType_NonInstrumented; Global.IPv6 = false; Ip.autoIp = true; Ip.address = ""; Ip.mask = "255.255.255.0"; Ip.gatewayIpAddr = "192.168.1.2"; Ip.domainName = "domain.com"; var http0Params = new Http.Params(); var http0 = Http.create(http0Params); Global.lowTaskPriLevel = 3; Global.stackInitHook = "&AddWebFiles"; Global.stackDeleteHook = "&RemoveWebFiles"; Global.networkIPAddrHook = "&mynetworkIPAddrHook"; Global.networkOpenHook = "&functionNetworkOpenHook"; Global.netSchedulerPri = Global.NC_PRIORITY_LOW; Global.ndkThreadStackSize = 2048; Global.lowTaskStackSize = 2048; Global.normTaskStackSize = 2048; Global.highTaskStackSize = 2048; Also I find the following settings, is any change in this section help in resolving the issue, can anyone tell me why this even happens (the HTTP server non responsive)? TI-RTOS -> Products -> NDK -> Networking - Scheduling Options -> Network Scheduler Task Priority: Low Priority Priority Level for Low Priority NDK Tasks : 3 Priority Level for Normal Priority NDK Tasks : 5 Priority Level for High Priority NDK Tasks : 7 Priority Level for Kernel Priority NDK Tasks : 9 - NOTE : I do not have JTAG access to the hardware. The bootloader is permanently loaded on the MCU & new firmware is loaded using USB Thumb Drive and/or remotely via Ethernet/LAN or GSM/GPRS modem interface. - Regards Soumyajit

Forum Post: RE: Facedetect demo

$
0
0
Hello, Is this what you are looking for? processors.wiki.ti.com/.../BIOS_C6SDK_2.0_User_Guide processors.wiki.ti.com/.../C6748_Development_Kit_(LCDK) I hope this helps. BR Margarita

Forum Post: using mmc-utils or SD ioctl with omap_hsmmc & Beagle Bone Black

$
0
0
Hi Folks, I am running Linux kernel 3.8.13-00794-g59be459-dirty with buildroot-fs on Beagle-Bone-Black. I have installed mmc-utils package, and executed the following command: # mmc extcsd read /dev/mmcblk0 [ 34.863647] mmc_claim_host exectued [ 34.867380] calling mmc_wait_for_req [ 34.871147] ** mmc0: starting CMD8 arg 00000000 flags 000000b5 [ 34.877754] omap_hsmmc mmc.5: mmc_blk_ioctl_cmd: cmd error -110 ioctl: Connection timed out Could not read EXT_CSD from /dev/mmcblk0 I have implemented a simple app to send ioctl to get card status, which I am able to do fine. (Here I have sent the argument as RCA), if the argument is 0x0 or 0x0001000 its failing to respond and giving time out error. int send_status(int fd, __u32 *response) { int ret = 0; struct mmc_ioc_cmd idata; memset(&idata, 0, sizeof(idata)); idata.opcode = MMC_SEND_STATUS; /* card relative address is shifted by 16 */ idata.arg = (0xaaaa << 16); idata.flags = MMC_RSP_R1 | MMC_CMD_AC | MMC_RSP_SPI_S1; ret = ioctl(fd, MMC_IOC_CMD, &idata); if (ret) perror("ioctl"); *response = idata.response[0]; return ret; } why mmc-utils failing and how to read card CID through ioctl. I do not want to use cat /sys/block/mmcblk0/device/cid for reading CID When I am sending GEN_CMD (56) kernel is haning?? Please help giving pointers to debug this issue. Thanks in advance. Regards, Vamshi G/

Forum Post: RE: build the Linux kernel for OMAP-L138 LCDK

$
0
0
Hi USER, If exporting the path doesnot work for you, try giving the full path like below: make uImage ARCH=arm CROSS_COMPILE=/home/saizhong/arago-2011.09/armv5te/bin/arm-arago-linux-gnueabihf-

Forum Post: RE: Repeated SPI transfer hangs RTOS

$
0
0
Scott, Yes, I am following the wiki page to upgrade to RTOS 2.15 and seeing all these issues with the compiler and XDC tools. I will go ahead and send you the project. It will take me some time to bring the set up back to RTOS 2.13. I will email it to you with all the added SPI and UART edits before the end of the day for me today. Thanks, Priya

Forum Post: RE: omapl138 lcdk image processing

$
0
0
USER, Actually you have to download it from LOGIC PD website as this driver code is written for LOGIC PD OMAPL138 EVM. Attached for your reference. This code is meant for LOGIC PD EVM. Check how you can make use of it for LCDK as it may / may not work straight on LCDK.(Please visit the site to view this file)

Forum Post: RE: build the Linux kernel for OMAP-L138 LCDK


Forum Post: RE: omapl138 lcdk image processing

Forum Post: RE: Facedetect demo

$
0
0
Please make sure that you are running on DSP core as this demo code is for DSP.

Forum Post: Problem with ADC data handling when reading ID tag.

$
0
0
Hi, I use idkam437x with ccs 6.1.2 and sdk 2.1.1.2. I configured the ADC0 module to be triggered by PRUICSS1 EVTOUT0. Everything worked fine until I set the ADC0 configuration to save ID tags of my measurements with a command: TSCADCStepIdTagEnable(TSC_ADC_base, TRUE); Then, when an interrupt (end of sequence) of ADC0 is generated, there is a task function handling the measurements by the following commands: for( i=0; i<TSC_ADC_CH_USED; i++){ *(ID_TAG+i) = HW_RD_FIELD32((TSC_ADC_base + ADC0_FIFO0DATA), ADC0_FIFO0DATA_ADCCHNLID); *(ReadData+i) = HW_RD_FIELD32((TSC_ADC_base + ADC0_FIFO0DATA), ADC0_FIFO0DATA_ADCDATA); } So, I write ID number and ADC measurement into two tables ID_TAG and ReadData respectively (both uint32_t type). The problem is that when the line of ID_TAG is present, the measurements are completely wrong (and equal to each other) and they are correct if that line is commented. Moreover, when I look at ID_TAG table, the numbers gathered are 0,2,1 - while I use STEP1: channel 1, STEP2: channel 2, STEP3: channel4. Furthermore, when I debug those two lines of code, the data in FIFO0 register: ADC0_FIFO0DATA (100h) changes within every step - while it should only during ADC measurement or reading from fifo buffer. When I Is there any 'way' or order handling this data? Do I misunderstood something in FIFO buffer work? Thanks, JJ

Forum Post: RE: About Semaphore_pend timeout in CC1310 and RTOS

$
0
0
This is a TI-RTOS SYS BIAS question so I'm moving your post to the TI-RTOS forum.

Forum Post: Regarding TTY detector from Volib_C64p_2_1_0_1

$
0
0
Hi, did anyone use use V.18a detector from Volib_C64p_2_1_0_1? is it just a baudot tone detector telling you if it is mark or space tone or it can give you complete baudot characters in output? Thanks, Ron
Viewing all 25965 articles
Browse latest View live


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