Quantcast
Channel: Forums - Recent Threads
Viewing all 262198 articles
Browse latest View live

Using Putty to create a virtual com

$
0
0

Hello,

I am trying to use putty to create a virtual com for UART communication between my computer and my chip. I am using the EZ430-RF2500 Development kit to do this project. I have downloaded putty and it is asking me to log in. I am assuming I put in my IP address and search for a com, but I cannot seem to find it. Any hints? Lastly, the final goal of this project is to retrieve information gathered by my chips and store them on my PC via text file. Is this possible?

Thanks,


VLIB on DM8168

$
0
0

Hello,

I have downloaded the new VLIB from the following link;

http://software-dl.ti.com/libs/vlib/latest/index_FDS.html

I want to use the VLIB together with TI DM8168 EZSDK in Linux. For this purpose I have added the necessary include files such as vlib.h, c6x.h. But, now I got many errors including "integer constant is too large for "unsigned long" type.

Can you please describe the steps for building the VLIB in Linux with GNU make? I checked the documentation, but the "building" link is broken in the html document. What should I do to use VLIB on DM8168? Do I need to use dsp-devkit instead of linux-devkit? Please provide the building steps and a simple image processing example if possible.

Thanks&Best Regards,

Fikret 

Dangling Pointer !

$
0
0

Primarily i have got this error on console while trying to look for a location 

C55xx: Trouble Reading Memory Block at 0x483cea on Page 1 of Length 0x2: (Error -1143 @ 0x483CEA) Device core was hung. The debugger has forced the device to a ready state and recovered debug control, but your application's state is now corrupt. You should reset ....bla bla....

Processor : C5515 DSP

Emulator : xds100v1

CCS       : Version: 5.2.1.00018

OS         : Windows7

i am very sure that there were no problems been face with emulator or its configurations they are completely ok

This problem arise when i was calling a function the function executed well while returning back also its ok just after the function is executed the the value in the variable changed ! more improtantly its pointing  to a location they are not supposed to change ,more over its call by reference not even any temporary variables created in call

as the pointer has dangled the values changed, is that problem of my memory space allocated ?

which memory space limitation results in this type of pointer dangling ?

intresting the pointer retained its value when it returned from the function where it is present 

 

here below shows the screenshots  of the debug state before and after the function call 

before return from function that is actual values

after returning from the function call :

 

 

AFE4490EVM + RED part only

$
0
0

Hello,

I have the AFE4490EVM board and I use it to get the AFE register configuration for our board.

Is there a way to use only the red light with the AFE4490? The goal is to reduce the current by avoiding to supply the IR led and to convert the IR data and ambient.

Or do you have any suggestion of AFE4490 register values to use the RED part only?

Best regards

Mich

TSW1400 DAC HSMC connector

$
0
0

Hi,

I want to use HSMC connector (J4-DAC_interface). Is there any HSMC debug header Breakout board available for purchase ?

Where are the old software releases?

$
0
0

I don't see a link anywhere on the software pages to older releases. For some I'm able to tweak the URL, for others can't. Where do we get the old versions? For everything, but in particular TivaWare.

(Forum search uncovered strange incidents where the links are delivered 'in a private message' -- I hope this is history and the standard practice of making all released software versions available is followed.)

source code for the command line utilities sflash and eflash

$
0
0

Hi,

in order to avoid customer mess up using LM flash programmer. I want to write a C#/C++ windows application to program flash instead of LM Flash Programmer. 

I saw early post mentioned about source code for the command line utilities sflash and eflash examples.

Where I can find the examples and source code?

I am uisng LM3S9B96.

Thanks in advance

How does one calculate SE556J power dissipation?

$
0
0

The calculation given on the spec sheet provides maximum power dissipation but does not provide actual power dissipation.


OProfile on K2H evm

$
0
0

Hi,

I recently got K2H evm (Rev 3.0) and started its evaluation.
And now I have a trouble to work with OProfile.
When I started OProfile, I had the following error :-

command:

opcontrol --no-vmlinux

error:

cpu_type 'unset' is not valid

OProfile manual says that it supports timer interrupt mode as below:
http://oprofile.sourceforge.net/doc/detailed-parameters.html#timer

So I tried to OProfile with timer interrupt mode (OProfile had been built as a module and
loaded later by "insmod oprofile.ko timer=1") and OProfile itself got working now,
but its report looks curious.

The following is the result of opreport command when executing a simple hello world application:-

CPU: CPU with timer interrupt, speed 0 MHz (estimated)
Profiling through timer interrupt
          TIMER:0|
  samples|      %|
------------------
     6753 99.9704 no-vmlinux
        1  0.0148 bash
        1  0.0148 libc-2.15.so

As you see, timer speed looks like 0 Mhz.
I'm wondering if OProfile is really working correctly or not...
Could you please suggest me if this is expected, or the way to work without timer interrupt mode ?

Lastly, I'm using the latest version of MCSDK, i.e., v3.00. It is available from:
http://www.ti.com/tool/bioslinuxmcsdk

Best Regards,
Kawada

Internal temperature sensor of lm3s9d92 in 10bit-compatibility mode shows wrong values

$
0
0

Hello,

we are using the lm3s9d92 controller. On 80 of 100 boards in a recent production run, the temperature of the chip is reported incorrectly. We sample the internal temperature sensor using the 10-bit compatibility mode.


Since the temperature is calculated correctly in 20% of the chips, I assume that our way of reading the values in correct and that there is something wrong with the hardware.


Is the 10-bit mode supported for the internal temperature sensor?

Is it a known error that the sensor reports incorrect values?

Is the formula on pg. 624 of the data sheet correct (it should be -- 20% of our boards show correct values)?

Regards,

Philipp

LM3S9D92 interrupts not running. sys/bios is stuck in idle.

$
0
0

Hello,

I'm having an issue with an LM3S9D92 part where in the NVIC there are interrupts enabled and pending but none of them are being serviced. More details below...

I'm running SYS/BIOS 6.34.04.22 and using the dispatcher for all of my interrupts. There are multiple interrupts being used in this system and many are pending. The System Control Block INTCTRL register VECPEND bits indicate that vector 24 (I2C0) is the highest priority pending interrupt. The I2C0 peripheral also thinks that there is an interrupt pending.

With that in mind I would expect the I2C0 interrupt handler to run. This however, doesn't seem to be happening. To test this I put a breakpoint at the address in the vector table for I2C0 (which ends up being the SYS/BIOS dispatcher) and it never stops there.

The processor is still running but because none of the hardware interrupts (including the timers that make the SYS/BIOS tick run) are being serviced SYS/BIOS will not leave the idle thread.

I currently have the board in this state if anyone can help me come up with some ideas on what to look at I would greatly appreciate it. Is there some reason none of them are being serviced? Maybe there is some register that could explain this that I am overlooking?

For reference here are some of the registers and their values, these were pulled using the "Registers" window in CCS:

NVIC_EN0      0x00280180
NVIC_EN1      0x00000580
NVIC_PEND0    0x00280100
NVIC_PEND1    0x00000500
NVIC_ACTIVE0  0x00000000
NVIC_ACTIVE1  0x00000000
NVIC_INT_CTRL 0x00418000

Board/Processor/Tool specs:

LM3S9D92
Custom board
TI-RTOS 1.1.0.25
CCSv5.5

Thanks!
Mike

emac - Ethernet Controller header has a bug and Hibernate header gives warnings

$
0
0

I'm not sure if this has been brought to TI's software team's attention yet, but the ethernet controller header file has a definite bug in the latest TivaWare, version 2.0.1.11577

I get a compiler error due to tEMACWakeUpFrameFilter not being properly defined. Here's a code snippet:

#if defined(ccs) ||             \
    defined(codered) ||         \
    defined(gcc) ||             \
    defined(rvmdk) ||           \
    defined(__ARMCC_VERSION) || \
    defined(sourcerygxx)
__attribute__ ((packed)) tEMACWakeUpFrameFilter;
#else
tEMACWakeUpFrameFilter;    // Problem here!
#endif

Anyway, the hibernate header file also gives warnings about that these functions are not visible outside of function:

extern void HibernateCalendarSet(struct tm *psTime);
extern int HibernateCalendarGet(struct tm *psTime);
extern void HibernateCalendarMatchSet(uint32_t ui32Index, struct tm *psTime);
extern void HibernateCalendarMatchGet(uint32_t ui32Index, struct tm *psTime);

Hope this helps.

optimizing EDMA PCIe transfers for read/write and multiple cores

$
0
0

TI experts-

We're implementing PCIe outbound transactions using EDMA.  We have C66x-to-host transfers working ok, but we're having trouble with host-to-C66x.  When we use a data test pattern, the initial 50 or so bytes are ok, but then we see repeated bytes.  The point where data starts repeating is not consistent.  For now we're using blocking transfers; i.e. we wait in CPU code for EDMA to complete.

At this point we have some general questions:

  -is there a fundamental difference in EDMA config
   for read vs. write?

  -do we need to use a different EDMA controller for
   read vs. write?  Or just a different channel
   within the same controller?

  -when we run the same code on multiple cores,
   should we assign different groups of cores to
   different EDMA controllers?  If so is there a
   recommended grouping?

If there is already an online document that discusses techniques for optimizing EDMA transfers for PCIe, please let us know.  I've attached a small .c file that has our current EDMA config.  Thanks.

-Jeff
Signalogic

Compling error related with "_BCACHE_bootInit"

$
0
0

Hi

I had experienced one problem that there is an error. I am using C6455 on CCS 5.5. The project is archived in attachment.

undefined first referenced 
symbol in file 
--------- ---------------- 
_BCACHE_bootInit C:/Program Files (x86)/bios_5_42_01_09/packages/ti/bios/lib/bios.a64P<boot.o64P>

I had search the forum, and there is a similar post:  http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/53700.aspx

I had done what the previous post mentioned, but there is nothing changed.

(Please visit the site to view this file)

Thanks in advance.

Xining Yu

DM816x Power estimation spreadsheet and EMIF/DDR3

$
0
0

Hi,

I am attempting to reduce power consumption in a low-memory-load use case for a project using the DM8168.

The power estimation spreadsheet shows that reducing the DDR clock from 800 to 400 MHz should result in about 1 W total power reduction (for low utilization levels) for both EMIF interfaces.

I have configured the clock to 400MHz in U-Boot, and see only about 0.25W reduction. I used the power monitor on our EVM board, and see the 1.5V current drop only very little; the spreadsheet shows that rail to be a major source of power reduction.

Reading back the DDR PLL registers shows me that the DDR clock is indeed 400MHz.

Do I need to enable additional power-saving features to realize the savings? Are other active power saving features masking the improvement? Am I misinterpreting the spreadsheet?

Thanks.


PWM using TAx.0 : period and duty cycle use the same register TAxCCR0

$
0
0

I'm using MSP430F5342.

My HW schematic requires PWM signals on

     pin 18 P1.5/TA0.4     <- no problem, duty cycle on TA0CCR4, period on TA0CCR0

     pin 20 P1.7/TA1.0     <- problem, duty cycle on TA1CCR0, period on TA1CCR0

All sample code I've seen uses TAxCCRn for duty cycle on peripheral TAx.n and TAxCCR0 for period. For TA1.0, n=0 and both period and duty cycle need to be in TA1CCR0. I do get a PWM, but with period = duty cycle. (Actually, the period is internally one clock longer.) So TA1CCR0=1 gives HIGH one clock in a two-clock period, or 50% duty at 4MHz (8MHz/2). TA1CCR0=2 gives HIGH two clocks in a three-clock period, or 67% duty at 2.667MHz (8MHz/3). You get the idea.

The actual code uses a driver library function, but single stepping through it confirms that TA1CCR0 is being overwritten.

    Timer_generatePWM(
            __MSP430_BASEADDRESS_T1A3__,   // P1.7/TA1.0 uses timer A1
            TIMER_CLOCKSOURCE_SMCLK,
            TIMER_CLOCKSOURCE_DIVIDER_1,
            period,
            TIMER_CAPTURECOMPARE_REGISTER_0,   // P1.7/TA1.0 uses register 0
            TIMER_OUTPUTMODE_RESET_SET,
            dutyCycle
    );

I know I can use interrupts to generate the signal, and I've done it for low frequencies. But this signal must be around 500KHz, and with an 8MHz clock, that ain't gonna happen with an interrupt handler.

Am I out of luck with this pin? Is there a solution without reworking the board to swap with another pin that allows PWM?

Thanks,

Rich

keystone SRIO physical loopback connection evm6678L

$
0
0

Hello All,

I'm trying to use the SRIO module in the keystone 667x devices. The target platform is a custom design where a TMS320C6671 DSP is connected using 4 SRIO lanes with a Xilinx artix FPGA. Because I'm not familiar with serial rapid IO connections I wanted first to write some codes and test them on the TMDSEVM6678L EVM (the SRIO module is the same in the 6671 and 6678 DSP).

First thing we did was a connection between the TX and RX on SRIO lane 0 on the AMC edge connector (on the evaluation module).

Using this hardware I wanted to realize a physical external loopback on lane 0.

Question 1.
First of all I want to ask if the idea with connecting the RX and TX differential pairs from the SERDES0 is reasonable? And also if such a connection allows to build and test correct SRIO application code?

I'm already trying to build and run a working code on this hardware (EVM with tx rx connection).

First thing that is done is enabling the SRIO blocks. Then is the PLL configuration. I'm getting the PLL lock and then I enable the TX and RX for channel 0 to run in normal operation mode. The default configuration is 4x x1 port so after setting the BOOTCOMPLETE bit I'm checking the SP0_ERR_STAT and LANE0_STAT0 also the SRIO_SERDES_STS register. There are two different behaviors I observed:

1. While configuring the PLL and trying to run some reasonable speeds I got the Port OK bit (SP0_ERR_STAT) together with the RX_SYNC bit (LANE0_STAT0) only if I set the lowest multiplier and quarter rate. But once I read those values () I observe that the port OK bit and rx sync bit are getting 0 after short time.

2. In case of bypassing the PLL (value 11(b) in the CLKBYP field in the serdes macro configuration register) once achieved PORT_OK stays forever. (from this observation I assume that some part of the configuration is OK)

Question 2.
In this case I want to ask if this situation point to some wrong register configuration of the SerDes, Tx, Rx (In this case if there are some recommended values for such a solution) or the whole concept is wrong (Question 1)?

Trouble installing/running the DAC161S997EVM software:

$
0
0

I have installed the software according to the instructions. I have the EVM connected to the USB port and it shows up in the device manager as COM6.

I run the software and when it asks for the com port, there are no options to select. I manually entered "COM6" in the window and when I press connect I get a message like:

Error 1073807202. .. VISA configure Serial Port .......

Possible cause is that the serial port was not configured properly... how can I fix this? I tried installing on Windows XP and Windows 8.. Bothe have the same problem.

thanks,

Orod Bavar

mSP430 coding in C

$
0
0

Hi,

I am trying to write the MSP430 code (MSP430-G2553) in C, and want to use  absoulute hex values insted of symbols. For example for instead of   TACTL = TASSEL_2 + MC_2 + TAIE;  I prefer to write TACTL = 0x0222; in hex, and it works.

Being a digital designer,  I find it more easy and intuitive. But I have trouble with interrupt vector addresses. For example what are the absolute values of the following and similar other vectors in these statements?  #pragma vector = PORT1_VECTOR and #pragma vector = TIMER0_A1_VECTOR ?? Is there any table somewhere? I tried some values from the 430 User guide but did not work !!

Thanks for your time

Inam

MSP430 - Bluetopia - how to send a string automatically?

$
0
0

Hi,
i am experimenting with the MSP430F5438A + PAN1326 + Android Phone + Bluetopia + SPPDemo

everything works fine so far with the debug-console and i already implemented some adoptions to the code:
i managed autopairing, store/read a link-key to flash memory and so on...

now i tried to run some commands automatically one after each other, but i cannot solve the problem:
i entered a new command "test" at the debug-console to open a new method:

void Test(){
ClientMode();
ReadKeyFromFlashToSystem();
OpenRemoteServer();
Write();
CloseRemoteServer();}

i hope it is clear what this program should do:
change to client mode, read the stored linkkeys, open the port to the server, write a string and finally close the server!

when i run those methods step by step at the debug-console everything works fine!!! no problems!
but when the comands shall be called automatically by my method it throws an error...

i think i already found out the problem with debugging:
it seems to me, that no event-callbacks occur between the commands!?
so it tries to write the string before the etPort_Open_Confirmation - Event is called.

i also tried to put delays between the commands, but this doesnt help!?
i also tried to put a while(connected!=true), but this loops forever, because the Event never comes...

so the question is, where shall i place the code, or how shall i call those methods that there is time in between for the events?!? interrupts? the scheduler?

thanks for your help!

Viewing all 262198 articles
Browse latest View live


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