Quantcast
Channel: Tools
Viewing all 91832 articles
Browse latest View live

Forum Post: USB Descriptor Tool does not modify main.c

$
0
0

I followed this (excellent) video on using the USB Descriptor Tool while running CCS 6 on my 64-bit Win7 system. The video finally got to the point where I was instructed to click on the little gear icon, then be treated to an automatic modification of my (open) main.c file in CCS. It did not happen: instead I was asked (by the tool) where to save the resulting (.c and .h) files. i still have little clue on how to integrate these files. How can I get this to work like that video said it would?


Forum Post: RE: CCS: Constants Manually Placed in Flash Are Not Initialized

$
0
0

Sorry, I should have mentioned that I tried both adding a reference and adding "#pragma RETAIN" already. Here is the updated code:

#include <stdint.h>  #pragma DATA_SECTION(".infoD") #pragma RETAIN uint16_t test = 0x1234;  int main() {  while (1)  {   uint16_t dummy = test;   dummy++;  } } 

Notice that I had to remove the "const" keyword, otherwise the compiler would remove the access to the memory location and insert 0x1234 directly into the assembly. While debugging I can change the value at memory location .infoD (0x1800) and see it reflected in dummy; however memory location 0x1800 has a value of 0xFFFF when the firmware is first flashed and the debugger breaks at main().

My overall goal is to be able to initialize particular flash addresses to constant values; however I can't find a combination of keywords which will accomplish that correctly.

Forum Post: RE: Dynamic linking library for C665x

$
0
0

Hello Todd,

Thank you for your information. I'm now able to see the assembly code accessed global variable using GOT by adding --pic and --linux. Then out file is created. My option and linker file are below.

compiler and linker option:

-mv6600 --abi=eabi -k --pic=near --linux -z --dynamic=lib

linker file:

MEMORY
{
BLOB: o = 0h l = 10000000h
}
SECTIONS
{
.startFunc : 0x0
.startData : BLOB
.dsbt : BLOB
}

But other problem occur. I run bat file below after building out file to create binary file. The binary is read to appropriate address by main application using fread.

test.bat:

set CCS_INSTALL_ROOT=C:/ti/ccsv5
set CG_TOOL_ROOT=%CCS_INSTALL_ROOT%/tools/compiler/c6000_7.4.7

del dllAdd.dll
"%CG_TOOL_ROOT%/bin/strip6x" -o dllAdd.dll dllAdd.out
"%CCS_INSTALL_ROOT%/utils/tiobj2bin/tiobj2bin.bat" dllAdd.dll dllAdd.bin "%CG_TOOL_ROOT%/bin/ofd6x.exe" "%CG_TOOL_ROOT%/bin/hex6x.exe" "%CCS_INSTALL_ROOT%\utils\tiobj2bin\mkhex4bin.exe"

error message:

"strip6x" -o dllAdd.dll dllAdd.out
error: corrupted object file: program segment contains a section whose vaddr
(0x0000022f) is less than the program segments (0x00000240)
error: corrupted object file: a single dynamic relocation table was requested,
but the DT_JMPREL relocation table was not placed immediately after the
DT_RELA table in memory and/or the section table; the .dynamic section

Could you possibly give me advice?

Regards,
Kazu

Forum Post: RE: wlan_station errors

Forum Post: RE: LPF MFB 3rd Order Bessel ~60kHz Gain=1

$
0
0

Forum Post: RE: CCS studio

Forum Post: RE: Statically Linked ELF binaries for TI C6x

Forum Post: RE: Dynamic linking library for C665x

$
0
0

Hello Kazu,

In a dynamic linking scenario, you should not be using a linker command file. Target memory allocation and symbol resolution (for symbols in the .dll that is being loaded) and relocation of references to imported symbols must be resolved at load time by the dynamic loader application. There should be no reason for you to use a linker command file in creating the .dll. The code and data will be organized by the linker according to a dynamic linking segment model (please see the above referenced "C6000 Embedded Application Binary Interface" specification for more details). In general, you should see all code sections collected into a Read-Only program segment, and data sections collected into a Read-Write program segment. The R/W program segment will normally contain all data objects that are referenced via near-DP addressing at the front of the segment.

It is unclear to me what your intention is from looking at the contents of the .bat file. Can you provide a more general description of what it is you are trying to accomplish?

Regards,

Todd Snider


Forum Post: RE: Upgrading CCSv5 for use with Blackhawk USB200

Forum Post: RE: How force the editor to use spaces instead of tabs in CCS v6

$
0
0

This post was very helpful to me. I want to support it by showing a screenshot of the dialog that people need to edit, from CCS v6.

Forum Post: RE: msp430-elf-gcc 4.9.1 source - configure options

Forum Post: RE: Emulator will not stay connected

$
0
0

Update:  I disabled USB 3.0 in the BIOS and the operation appears to have changed slightly.  After connecting the USB cable, I can run 3-4 successful Test Connections in a row before it fails.  Previously only the first one worked until I switched USB ports.

Forum Post: RE: Can not find simulators in CCS v6.0

$
0
0

Where specifically did you put the v5 files as far as in the v6 directory? Also, did you copy any other ones? I can't get it to work and I am using the same board as you

Matthew

Forum Post: RE: new C2000 6.2.8 compiler problem

$
0
0

Thank you for submitting a test case via private channels.  I can reproduce the error.  I filed SDSCM00050811 in the SDOWP system to have this investigated.  Feel free to follow it with the SDOWP link below in my signature.

Thanks and regards,

-George

Forum Post: RE: Why the TI Wiki code to enable Neon crashes?

$
0
0

Rafael,

I looked this forum thread. But still have more questions:

Do I need to include a boot.asm file into my project as one regular file to compile with other files in my project? The boot.asm I found is in TI CCS folder "C:\ti\xdctools_3_25_03_72\packages\ti\targets\arm\rtsasm\boot.asm.

Inside the file there are some lines of code to enable Neon and set to system-Mode. Should I bring this one in my project and compile it with my other project files?

Thank you,

xyin


Forum Post: RE: Archived Q&A from WEBENCH Office Hours held in conjunction with APEC 2013

$
0
0

Does web bench support parallel FETS? How do I tell it to place FETS in parallel?

Marty

Forum Post: RE: Maximum current output of LP38513-ADJ

$
0
0

Hi,

Thanks for alerting us to this problem. The LP38513-ADJ dropout voltage was set a little too conservatively in the WEBENCH Power Designer, limiting the load current for your design. It's adjusted now. Please try your design again.

Forum Post: RE: Software update error in CCS5.5

$
0
0

Hello David,

Were you able to update CCSv5.5 successfully?  Please let us know if you have any other questions.

Regards,

Sem Amesawu

Forum Post: ndk_2_21 and bios_mcsdk_02_01_02_06_setupwin32

$
0
0

When installing bios_mcsdk_02_01_02_06_setupwin32, component ndk_2_21 can be detected but can't not be installed in CCSV5.5. Therefore, ndk_2_23_02_03 is downloaded, unzipped, and copied into the folder where ndk_2_21 is installed by bios_mcsdk_02_01_02_06_setupwin32. However, ndk_2_23_02_03 can't be detected automatically by CCSV5 in some situations. Is there a way to make CCSV5.5 detect and install ndk_2_23_02_03?

Forum Post: RE: Is there a request for CCS on MAC OSx?

$
0
0

Yes, it would be nice to have CSS for Mac.

Viewing all 91832 articles
Browse latest View live


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