Quantcast
Viewing all 262198 articles
Browse latest View live

Issues with OpenCV installation on Beaglebone Black!

Hi everyone,

Since I'm not quite familiar with Angstrom (originally shipped with the board and had OpenCV pre installed), I've installed Ubuntu 13.04 (Specially configured for BBB) and started working with it.


But when I tried installing OpenCV on BBB running on Ubuntu 13.04, it automatically shuts down during the process.

Why is this happening to me? Any fix for this?

Thanks in advance :)


Does Code Composer free version allow programming the MSP430?

Hi All,


I download the CodeComposer free version and run on the MSP430. I found that under the "Run" pull down, the "Load" is inactive, I can only choose "Debug". Does that mean that I can no program the MSP430?

Thanks for any response,

Henry

beagleboard xm project

i am doing a project on beagle boardxm i required so information that how to interface BBXM to DSp 

MSP430G2553 Point type variable runing issue in diffrence chip

Hi,

I met a critical issue of MSP430G2553, the detail as below, any body can help me to analyse it? thanks very much..

Processor:MSP430G2553

Compiler:IAR Assembler for MSP430  5.30.1 (5.30.1.50284)

Iusse describe:

           the issue is I used a point type variable in function to transmit parameter, the same code runing into two difference chips,the one is runing normal, but another is not well.  

         picture1's result is I debug on fault board, according to result I can't find out any error. but the datas are wrong when I via UART print out them as picture2. we deep find these datas in memory address ox34c(as picture 3), the correct address is 0x24c(as picture 4)

picture 1:(fault board)debug,buf point address and data are all correct

Image may be NSFW.
Clik here to view.

Picture2:but the datas are wrong of UART print out.

Image may be NSFW.
Clik here to view.

Picture3

Image may be NSFW.
Clik here to view.

 

Picture4

Image may be NSFW.
Clik here to view.

Picture5:(fault board)Via temp variable to read out the data and address of buf, the buf address and data are correct (but the real value is wrong via UART print out ) (data in Picture 5  and address in picture6)。

Image may be NSFW.
Clik here to view.

Picture6

Image may be NSFW.
Clik here to view.

Questions regarding u-boot memory mapping

Hi,

Looking at include\configs\ti8168_evm.h, the memory mapping for the DDR3 is as follows:

#define CONFIG_NR_DRAM_BANKS        2        /* we have 2 banks of DRAM */
#define PHYS_DRAM_1            0x80000000    /* DRAM Bank #1 */
#define PHYS_DRAM_1_SIZE        0x40000000    /* 1 GB */
#define PHYS_DRAM_2            0xC0000000    /* DRAM Bank #2 */
#define PHYS_DRAM_2_SIZE        0x40000000    /* 1 GB */

But in reality, memory for DDR0 bank goes from 0x80000000 to 0x9FFFFFFF, and DDR1 bank goes from 0xA0000000-0xBFFFFFFF.

The EVM has only 1Gbytes of DDR3.

Is it a mistake in the u-boot, or just a definition of the theoretical DDR3 memory mapping?

Does anyone know why the u-boot is defining the memory map that way?

Thank you for your help.

KB

Solder Stencil Thickness for TMS5703137ZWT

Please confirm if there is a recomended solder mask stencil thickness for the TMS5703137ZWT.   In a TI document titled “Flip Chip Ball Grid Array Package Reference Guide” (Literature Number:  SPRU811A, May, 2005) the table on page 20 lists the stencil thickness at 150mm which is too thick.  The customer feels the stencil thickness should be around 0.15mm.

Please let me know if there is a document that specifies this requirement.

 

Thanks,

Tom

                       

 

 

nvr usecase

in the DM816x DVR RDK UseCaseGuide 32D1 DecodeDisplay doc,i see

Multichannel Decode & Display (NVR) Use-case 

i want to konw where is the case,why it say nvr?i want to learn about nvr usecase.do you have some docs about nvr

thanks ,best regards

question about using the DDR_PLL of DM 8168

Hi,

My DDR3 can't work stable on the the 675MHz and the 796MHz, now, it can work stable on the 531MHz, however, it is unacceptable to us.

Now, I want to adjust the PLL of DDR, and I found some setting in the gel file of TI816x_ddr3 from the web site:

http://processors.wiki.ti.com/index.php/DM816x_C6A816x_AM389x_DDR3_Init, for example 702MHz, 729Mhz ...

I try the DDR_PLL setting in the file, however, the DDR can't work stably.

Could you provide me some other settings of DDR_PLL, I hope the DDR frequency between 675Mhz and 796Mhz.

Regards,

Tianxing


Kinect + BeagleBone Black

Hi everyone,

Is there anyone here who has used the BeagleBone Black to receive and store the data stream from a Kinect Sensor?

We are trying to use OpenNI drivers for Kinect in Ubuntu on the BeagleBone to collect and store the information stream from a Kinect Sensor, and it would really help if anyone else who has tried this could share their experience with us.

Regards,

Pranav

VPSS M3 load increases if Video M3 is enabled

Hi,

I am using Netra (TI8168-GP rev 1.1). If i do 2 1080i captures and scale only, the VPSS M3 load is ~15%. If Video M3 used, the VPSS M3 load shoots up to 65% - 70%. Also, the VPSS performance degrades and i observe reduced framerates.

Can you please help me on this?

Thanks and regards,

Ravindra

mmc_send_cmd: timedout waiting for cmddis!

Hi all,

I am working on a custom board equipped with the DM8168.

We have included 1Gbytes  of DDR3.

I am currently testing the board with a DDR PLL set at 400Mhz, slower that the EVM settings.

So we modified the u-boot and we are getting the mmc_send_cmd: timedout waiting for cmddis! error.

The 1st stage of the u-boot (MLO) is loaded successfuly and run. But looks like the 2nd stage of the u-boot can't get loaded.

I am wondering if the timeout has something to do with slowing the DDR3 access.

Does the MMC clock dependent on the DDR PLL clock? (should not be?).

Can the timeout be triggered because it is slower to move data from MMC to the DDR3?

The 1st stage u-boot (MLO) is sending:

mmc_send_cmd: timedout waiting for cmddis!
** Can't read from device 0 **

** Unable to use mmc 0:1 for fatload **
## Starting application at 0x80800000 ...

We have configured the u-boot for DDR3.


Are we missing something?

Thx

KB

AM3892 DDR2 MT47H64M16HR

Hi Sir,

i am using customized board based on TI8168 board. Here 

1. i did not find c code for DDR2 stuff in board-ti8168evm.c. 

Is this correct place to check Low level initialization of DDR2 interface.

If not then which is the right place or right code.

2. After DDR2 interface i have to write driver of Micron MT47H64M16HR. how should i get started.

Do you have any link or reference.

Appreciate your help in this regard.

Regards

Vivek

Getting access to the SPI interface on am335x Starter Kit using the TI-Android-JB-4.2.2-DevKit-4.1.1_DeveloperGuide

Hi Guys,

I have been at it more than a week now and I can't seem to figure out how to get access to the SPI interface on the am335x Starter Kit using the Jellybean Guide here: http://processors.wiki.ti.com/index.php/TI-Android-JB-4.2.2-DevKit-4.1.1_DeveloperGuide

It has taken me ages to setup as the link to the central tool "repo" is broken and and the link to the devkit sources is dead slow.

Here is what I have done step by step:

1) Install Ubuntu 64bt 12.04 (The first version not 12.04.2!!!) on a 64bit machine with 50G hdd. I am using a Virtualbox setup for this.

2) Prepare the machine by calling 

sudo apt-get install git-core gnupg flex bison gperf build-essential \ zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \ libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \ libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos \ python-markdown libxml2-utils xsltproc zlib1g-dev:i386 \ minicom tftpd uboot-mkimage expect libgl1-mesa-dri

sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

4) Install java

chmod a+x jdk-6uXX-linux-x64.bin ./jdk-6uXX-linux-x64.bin sudo mkdir -p /usr/lib/jvm sudo mv jdk1.6.0_XX /usr/lib/jvm/ sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.6.0_XX/bin/java" 1 sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.6.0_XX/bin/javac" 1 sudo update-alternatives --config java sudo update-alternatives --config javac

5) Install ncurses to be able to use menuconfig (required to be able to enable api)

sudo apt-get install ncurses-dev

6) Download the devkit from TI_Android_JB_4.2.2_DevKit_4.1.1.bin and run it. Place the files inside rowboat-android under your home folder.

7) Export path to arm binaries (I unpacked the )

export PATH=$HOME/rowboat-android/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin:$PATH

8) The guide says "To create an SD card image from the fresh android source in single step, execute the following command". That does not work

make TARGET_PRODUCT=am335xevm_sk OMAPES=4.x -j1 sdcard_build

To make it work I need to call a general build first

a) make TARGET_PRODUCT=am335xevm_sk OMAPES=4.x -j1

followed by

b) make TARGET_PRODUCT=am335xevm_sk OMAPES=4.x -j1 sdcard_build

This takes ages but eventually I get an output folder.

9) This folder can be used to create an sd card using:

sudo ./mkmmc-android.sh /dev/sd<sd card mount-point>

10) From here on the process should be that configure the kernel to include the SPIDEV user space driver and edit the layout of the board-am355xevm.c to use the "spidev" driver like this.

static struct spi_board_info am335x_spi0_slave_info[] = {
{
.modalias = "spidev",
//.platform_data = &am335x_spi_flash,
.irq = -1,
.max_speed_hz = 24000000,
.bus_num = 1,
.chip_select = 0,
},
};

static struct spi_board_info am335x_spi1_slave_info[] = {
{
.modalias = "spidev",
//.platform_data = &am335x_spi_flash,
.irq = -1,
.max_speed_hz = 12000000,
.bus_num = 2,
.chip_select = 0,
},
};

But that has not given any positive results yet. 

I find myself wasting many hours trawling forums looking for hints and traces on how to proceed. Each attempt taking hours.

I think an update of the Developer Guide would be in its place as it is broken in its current state. 

Any Ideas on how to proceed is greatly appreciated.

Kind regards

Jesper

c6000 parser gtest segmentation fault

Hi there,

I have been getting the following error:

INTERNAL ERROR: /home/smithr/ti/TI_CGT_C6000_7.4.6/bin/acp6x experienced a segmentation fault while
processing

When compiling the following code with c6lx below:

#include <stdint.h>
#include "gtest/gtest.h"

const int16_t VAL = 1;	

int main(void)
{
	int16_t t = VAL + 1;
	EXPECT_EQ(VAL, 1);
	return t;
}

If fails on the EXPECT_EQ clause, and fails because of VAL. It works if EXPECT_EQ(VAL, 1) is replaced by EXPECT_EQ(1,1).

I am running TI_CGT_C6000_7.4.6 under Linux.

Has anyone seen this before?

(Please visit the site to view this file)

CC1125 Board Design


CC2530 falling edge interrupts strange behaviour

Hi,

I designed a board with CC2530 but having problem with falling/raising edge interrupts. Below I attached shortened code I used for testing and PCB design for an overview.

Interrupts are detected properly (most of the times but not always...) on both failing & raising edge when I press button soldered to P1.4 pin. However problems I am faicing is that when I touch GDN of the board (no matter where) with screwdriver it raises an interrupt (and while debugging on IAR all interrupt flags for P1 are set [0xFF]). This is very strange because after reset all ports are set up as output pins with pull up resistor but chip behaves unexpectedly like all P1 pins would be set up as inputs. Please, note that P1.4 button is activated by low level. 

Then, I noticed that CS pin of CC-Debugger is also connected to GND and I thought that it may be somehow connected with this behavior. So I tested the same piece of code for P2.0 pin (which according to the design is floating pin not connected to anything). And here as well... touching pin or GND with screwdriver activates an interrupt routine. (screwdriver was isolated from my body so it shouldn't be seen as GND and shouldn't raise falling edge interrupt, right?) 

What is even more strange after touching GND with any metal object all chip registers seem to become corrupted and IAR shows warning message: "Warning:Flash page 0 is locked and was not written to." and only unplugging CC-Debugger helps in this case so debugging of code can be continued. 

Does anyone have an idea what is wrong with our design/chip/code/etc.? Maybe this is sth that is expected and touching GND with anything can cause such problems?

Second question, in this design below: Does P1.4 need to be configured as tri-state or a normal input pin with internal pull-up resistor is fine? Is external pull-up resistor required in this case?

Thank you in advance for any help!

Best regards,
Lukasz Spas

Test code (for P1.4 pin):

#include <ioCC2530.h>

int main(void)
{
	P1SEL &= ~(1 << 4);    /* Set pin function to GPIO */
	P1DIR &= ~(1 << 4);    /* Set pin direction to Input */
	P1INP &= ~(1 << 4);	 /* Pullup/Pulldown instead of 3-state*/
	P2INP &= ~(1 << 6);	 /* Pullup on P1 instead of Pulldown */

	/* For falling edge, the bit must be set. */
	PICTL |= (1 << 2);

	/* Interrupt configuration:
	* - Enable interrupt generation at the port
	* - Enable CPU interrupt
	* - Clear any pending interrupt
	*/
	P1IEN |= (1 << 4);
	IEN2 |= (1 << 4);
	P1IFG = ~(1 << 4);

	EA = 1;

	while (1); // endless loop
}

#pragma vector=P1INT_VECTOR
__interrupt void halKeyPort1Isr(void)
{
	if (P1IFG & (1 << 4))
	{
		PICTL ^= (1 << 2); // Reverse edges detection to detect debounce
	}

	/*
	Clear the CPU interrupt flag for Port_1
	PxIFG has to be cleared before PxIF
	*/
	P1IFG = 0;
	P1IF = 0;
}

Simplified PCB Design:

(Please visit the site to view this file)

Extra components

Sir, 

 We found that we may require some more ic's for our project which we encontered while in progress of our project and did not know about them at the time of component selection for IADC on or before 15 Aug, 2013.

So, i request you to kindly help us out in this matter as soon as possible. 

Waiting for your reply.

Thank You.

Green LED for reflective applications using AFE4490 / AFE4400

 green LED can be used as a reflective pulse detector design of the afe4400???

Multiple RI-STU-MRD2 in near enviroment

We are looking for a solution to operate several RI-STU-MRD2 devices with a small distance.

We use up to 16 devices with seperate antennas and the distance between them is 20 cm.

We use round antennas with Diameter of 160mm that are mounted on plastic tube.

In each of the tubes move  pneumatic tube containers with Transponders.

We have the phenomenon that the devices influence on mutually.

We need a solution(antanna design?) that only will detect tronsponder from that single tube and not from the neighbour tube.

LED Brightness Control

I'm going to design IR remote based LED brightness control circuit?.....

could you pls help me for design?

Viewing all 262198 articles
Browse latest View live


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