It looked like this: But I changed it to: And now the build works, Thanks. But, is that the right repository? Is it enough with the \inc subdirectrory?
↧
Forum Post: RE: Downgrading CCS6 to CCS5 (XDC Tools Error)
↧
Forum Post: RE: Downgrading CCS6 to CCS5 (XDC Tools Error)
I don't know why my pasted snapshots don't show up I had: + SYS/BIOS 6.35.4.50 -- System Analyzer (UAI) -- unchecked -- TI-RTOS for Simplelink Wireless MCU's -- unchecked -- TI-RTOS for TivaC -- unchecked + Other Repositories, ${TARGET_CONTENT_BASE} [C:/ti/ccsv5/ccs-base] I added 'C:\ti\TivaWare_C_Series-2.1.0.12573\inc' to other repositories and changed the XDCtools version from 3.30.4.52_core to 3.25.3.72 -- a downgrade Now build works. But, is that the right added repository? Is it enough with the \inc subdirectrory? Why did I have to downgrade XDCtools?
↧
↧
Forum Post: RE: AM335x ISR/HWIs blocked in BIOS 6.35.4.50 XDC 3.25.3.72
Hi Scott, meanwhile I updated my project to use the code from C:\ti\am335x_ sysbios _ind_sdk_1.1.0.6\sdk\os_drivers\src\osdrv_mmu.c, and all the ISRs work as expected. It is the code #if (ti_ sysbios _family_arm_a8_Mmu___VERS >= 160) if (!attrs.bufferable && !attrs.cacheable) attrs.tex = 0; //tex is initialized to 1 and need this to force strongly ordered #endif that makes the difference. Can you or anybody else please explain why? The BIOS API reference for ti. sysbios .family.arm.a8.Mmu is not really enlightening. Or should it be totally clear, that if ISRs do not work, the first thing one has to look for is MMU programming? Thanks Frank
↧
Forum Post: RE: AM335X- how to enable soc-die temperature sensor on SDK8.0
Hi Yordan, You are right that lm75 driver is used for the on-board temperature sensor after I check the AM335x EVM Schematic. Could you provide the AM335x SoC its temperature sensor information or AM335x SoC doesn't on-die temperature sensor? B.R. Joe
↧
Forum Post: RE: Callback from M4 processor to application processor in dra7xx
Hi, Would you guys please provide the memory map info for DRA7XX?
↧
↧
Forum Post: RE: OMAPL138 SYSBIOS ARM system memory access
Hi Scott, Thank you for your quick reply. I am not aware that I’m using a gel file, as there are none associated with the project, and I thought that “.gel” scripted files are only required for older version of CCS. With that said, I am using the same target configuration file, “ filename .ccxml” for each of the projects. I do agree with you, that this issue is most likely due to the fact the register region have not been properly declared. It was my hope that the by creating a default SYS/BIOS project for the targeted platform and processor (i.e ARM) this would automatically be done for me, but alas this was is not the case and is the point I want to drive home to TI. i.e. making a SYS-BIOS project for the OMAP-L138 ARM core does not work straight out of the box. Yet, it would appear that the declaration of CPU register regions works fine for none SYS/BIOS projects on the ARM core and either RTOS or non RTOS projects on the DSP core for the OMAP-L138 . So if there was a way to import the memory-map from these other projects I think this will solve my issue. As identified in the last post here: https://e2e.ti.com/support/embedded/tirtos/f/355/p/200390/712854 However, as a new user to CCS, I cannot find where to make such a change, as the workshop diagram below seem to be for an older version of CCS where “Tools” is available in the menu bar. As for turn on/off the MMU, I did this in the .cfg file, thinking that this might help after reading other forum posts but it did not. As for accessing a CPU register in a program, this is how I discovered the problem. By single stepping through the program it could access and then read/write to the register PCS0 (located at 0x01C10000 ) but then when it tries to do them same command for the register PCS1 (located at 0x01E27000 ) I can see that this memory location produces a page fault error before the line of execution. Thus when it does try execute the line it crashes, as the program does not have a valid pointer. Upon further investigation of the CPU registers, it would appear that there is a whole suite of unmapped CPU registers which should be accessible by the core under the SYS-BIOS project. If you can provide any further guidance that will be helpful. Matt
↧
Forum Post: RE: DM368 switching output Display from component to LCD
Hi Tsvetolin Shulev Thank you for your infomation. I try it, but I Incomprehensible this process. Is it change Linux Driver? Or Would operation from matrix-gui?
↧
Forum Post: RE: AM335x ISR/HWIs blocked in BIOS 6.35.4.50 XDC 3.25.3.72
Scott, thanks for your reply. Although my project runs now, I am still very curious what ISR behaviour has to do with MMU settings. It would be great if you could inform we what your team found out. Another resulting question: Which strategy to use to handle such problems when changing to a new XDC/BIOS version, except to "never change a running system"? Regards, Frank PS: Still waiting for an answer to my question #1, see
↧
Forum Post: RE: PRU rpmsg library
Hi Micheal, Please see the: git.ti.com/pru-software-support-package git.ti.com/gitweb ;a=summary I hope that these sites will help you BR Ivan
↧
↧
Forum Post: RE: DHCP client
Hi Martin try the following: In "Network open hook" put the function that will assign the new IP, "newIPAddr". After eg in main type the following function: void newIPAddr() { CI_IPNET NA; HANDLE hCfgIpAddr; unsigned int x; System_printf("DHCP OFF \n"); bzero(&NA, sizeof(NA)); NA.IPAddr = inet_addr("192.168.10.10"); NA.IPMask = inet_addr("255.255.255.0); strcpy(NA.Domain, "titexas.pt"); NA.NetType = 0; // get the current static IP entry CfgGetEntry(0, CFGTAG_IPNET, 1, 1, &hCfgIpAddr); // remove the current static IP entry CfgRemoveEntry(0, hCfgIpAddr); // add a new static IP entry CfgAddEntry(0, CFGTAG_IPNET, 1, 0, sizeof(CI_IPNET), (UINT8 *)&NA, 0); } System_flush(); } I think that is what you are looking for. Regards Aquino
↧
Forum Post: RE: DM368 switching output Display from component to LCD
Shingo, The linked above article provides some examples of using sysfs interface to change display settings like selecting active overlay, manager and display but it didn't make any changes in the display driver. BR Tsvetolin Shulev
↧
Forum Post: RE: Conflict between IPC and GIGE
Hi Vinodh, Would you please give us the details like name of the IPC package you use and its version; So that we will try to reproduce from our end ? Regards, Shankari ------------------------------------------------------------------------------------------------------- Please click the Verify Answer button on this post if it answers your question. --------------------------------------------------------------------------------------------------------
↧
Forum Post: RE: Conflict between IPC and GIGE
Hi Shankari , Thanks for the response . CCS Version : 5.5 MCSDK version : 2.2.1.03 SYSBIOS version : 6.35.4.50 IPC version : 1.25.03.15 Compiler : c6000_7.4.4 regrads , vinodh
↧
↧
Forum Post: TI Starterware boot loader from SD card takes long time
Hi, I am using AM335x EVM and trying TI starterware boot using SD card. I noticed that the ImageCopy function in boot loader takes 800msec to copy 84kb file from SD card to DDR3. This is quite a long time. I was wondering if SD card read is taking more time!. I tried a sample application based on Starterware application /beaglebone/hs_mmcsd/ example to just read a file from SD card and copy it to DDR3. Surprisingly it took just 10msec to copy a file size of around 100kB. I Looked in to the boot loader SD card initialization code and the hs_mmcsd SD card initialization code and both are different. I tried to use the SD card intitialization code from hs_mmcsd into boot loader SD initialization but it doesn't work. It comes to the copyImage function and stops there!. The data rate in SD read during boot is just 100kB/sec where as the same SD read in hs_mmcsd is more than 20MB/sec? Please refer the SD initialization code in boot loader and hs_mmscd application. In boot code SD initialization /* Basic controller initializations */ HSMMCSDControllerSetup(); /* First check, if card is insterted */ while(1) { if (MMCSDCardPresent(&ctrlInfo) == 0) { UARTPuts("MMC/SD Card not found\n\r", -1); } else { break; } } /* Initialize the MMCSD controller */ MMCSDCtrlInit(&ctrlInfo); MMCSDIntEnable(&ctrlInfo); HSMMCSDFsMount(0, &sdCard); In hs_mmcsd example SD card initialization /* Setup the MMU and do necessary MMU configurations. */ MMUConfigAndEnable(); /* Enable all levels of CACHE. */ CacheEnable(CACHE_ALL); /* Configure the EDMA clocks. */ EDMAModuleClkConfig(); /* Configure EDMA to service the HSMMCSD events. */ HSMMCSDEdmaInit(); /* Perform pin-mux for HSMMCSD pins. */ HSMMCSDPinMuxSetup(); /* Enable module clock for HSMMCSD. */ HSMMCSDModuleClkConfig(); DelayTimerSetup(); #ifdef MMCSD_PERF PerfTimerSetup(); #endif /* Basic controller initializations */ HSMMCSDControllerSetup(); /* Initialize the MMCSD controller */ MMCSDCtrlInit(&ctrlInfo); MMCSDIntEnable(&ctrlInfo); /* First check, if card is insterted */ /* while(1) { if (MMCSDCardPresent(&ctrlInfo) == 0) { UARTPuts("MMC/SD Card not found\n\r", -1); ret=1; break; } else { break; } } if(ret) HSMMCSDFsProcessCmdLine(); If i use the SD initilization code from hs_mmcsd in the boot loader, it doesn't work! I would like to know why the SD card is configured and works in low speed during boot and what needs to be done to configure it for high speed during boot? Please let me know your inputs. Regards, Seetaram
↧
Forum Post: DRA7xx: Error on ./build-core-sdk.sh dra7xx-evm
Hi, I have installed glsdk 7.00 and while following the instructions given in GLSDK User guide I have got the following problem. Plz help me. After giving the executing ./build-core-sdk.sh dra7xx-evm on my host PC, there were several logs, warnings and it took several minutes. At the end i got following error. ERROR: Fetcher failure: Fetch command failed with exit code 128, output: Cloning into bare repository '/home/medha/ti-glsdk_dra7xx-evm_7_00_00_04/yocto-layers/downloads/git2/gitorious.org.matrix-gui-v2.matrix-gui-v2-apps.git'... fatal: The remote end hung up unexpectedly ERROR: Function failed: Fetcher failure for URL: 'git://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps.git;protocol=git;branch=master'. Unable to fetch URL from any source. ERROR: Logfile of failure stored in: /home/medha/ti-glsdk_dra7xx-evm_7_00_00_04/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/all-oe-linux/matrix-gui-apps-images/2.0-r27.0/temp/log.do_fetch.15262 ERROR: Task 3403 (/home/medha/ti-glsdk_dra7xx-evm_7_00_00_04/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-images_2.0.bb, do_fetch) failed with exit code '1' NOTE: Tasks Summary: Attempted 1623 tasks of which 0 didn't need to be rerun and 1 failed. Waiting for 0 running tasks to finish: Summary: 1 task failed: /home/medha/ti-glsdk_dra7xx-evm_7_00_00_04/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-images_2.0.bb, do_fetch Summary: There were 103 WARNING messages shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code. [GLSDK]> [GLSDK]> Completed Yocto build at Wed Apr 1 14:35:57 IST 2015 [GLSDK]> What is the issue.? Will it cause any problem further.? Thanks and Rgds, Vijay
↧
Forum Post: Security DVR running monte vista linux
Hi, im new here and am really in need of some help. I have a standalone cctv dvr (intellix anf1648) unit thats running an embedded monte vista linux pro 4.0.1. its a da-vinci based platform DM6467. Im connected to it via serial (rs232) port and have it connected to my laptop, which is on windows using PuTTY. ive got the terminal settings correct and i get output from the console. Im trying to figure out how to stop the autoboot process. it says "press any key to stop autoboot" and ive tried control+c and everything else i can think of and it seems as if the unit isnt accepting commands until after the kernel has been loaded. which is past the point of stop autoboot.
↧
Forum Post: RE: Security DVR running monte vista linux
Have you disabled the "flow control" and "parity" ? ie setting to "none"
↧
↧
Forum Post: RE: DRA7xx: Error on ./build-core-sdk.sh dra7xx-evm
Try the following command manually on your Linux host and let us know the status. git clone git://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps.git;protocol=git;branch=master Also please make sure that you have proper internet connection for your host PC to git clone the packages.
↧
Forum Post: RE: TI Starterware boot loader from SD card takes long time
I could debug further and found that, the following functions don't work in boot loader SD card initialization. MMUConfigAndEnable(); EDMAModuleClkConfig(); /* Configure EDMA to service the HSMMCSD events. */ HSMMCSDEdmaInit(); The ImageCopy doesn't work because of the the above functions? Can someone suggest me what is going wrong here?
↧
Forum Post: RE: Omap NAND driver fails MTD testsuite's sub-page test
Hi I have kernel code I want to run MTD test separately but /drivers/mtd/test/*.c all are using some kernel api's may I know how to run the mtd test separately without building them with kernel. Out requirement is to test the driver separately and capture the result to report for the we have to run the test separately from kernel. I also want to know how to build this test. Please provide the information as soon as possible. Thanks & regards Narendra kumar Chepuri.
↧