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

Forum Post: RE: atan gets a wrong result

$
0
0

I'm sorry, I cannot reproduce the problem.  Since it runs fine on the simulator, it is unlikely to be a compiler problem.  You should check that the values displayed in the watch window accurately reflect the computed values.  Try printing the values and comparing the results to what you see in the watch window:

#include <stdio.h> #include <math.h>  #define PI 3.1415926  void main() {     unsigned int i;      volatile double val_sin[21];      for(i=0; i<21; i++)         val_sin[i]=sin(PI*i/16.0);      for(i=0; i<21; i++)         printf("sin(%d*PI/16) = %f\n", i, val_sin[i]); } 

Forum Post: RE: Combine DEBUG and RELEASE BUILDS

$
0
0

CCS only builds for TI, and not easily even when moving between TI platforms (6437, 6455, 6740, 6672, etc.), a make environment can build for all our platforms (including PC). What I can use is a specific make instruction to default to DEBUG build mode for the 674x platform, for one specific file.

When I break after the compilation hangs the following message appears:

 INTERNAL ERROR: C:\ti\ccsv5\tools\compiler\c6000_7.3.17\bin\cg6x.exe experienced a fatal internal fault

This is a serious problem. Please contact Customer
Support with this message and a copy of the input file

Forum Post: RE: How to specify MSP430 LaunchPad voltage using the MSP-FET430UIF and Code Composer

$
0
0

Thank you so much!  We'll try this.

Forum Post: RE: Debug Server Scripting

$
0
0

I have this in my script:

debugSession.breakpoint.add("blink.c", 34);
debugSession.target.run();
var Iaddress = debugSession.symbol.getAddress("i");
printTrace("address of i is . . . " + Iaddress);

It outputs: address of i is . . . 17402

i is declared like this:

volatile unsigned int i;

try putting volatile in front of yours to prevent optimization.

Forum Post: RE: SwitcherPro Desktop - Any Way to Edit MyParts?

$
0
0

How solid is the security and privacy of the web based tools?  Is there any option for times with poor or no internet access?

Forum Post: Error installing ccs

$
0
0

The error appear installing the ccs. See attached.

 

Forum Post: RE: EVM6678 emulator connecting error

$
0
0

Hi,

Based on the initial error messages I think the emulator was reporting back to CCS the device had a power failure on the connected cores (1, 2, and 0), while failing to write to a specific address in core 3. In my opinion it seems the baseboard of the EVM suffered a power glitch while loading code to core 3 (the one with the failed write).

The following error message, (the IcePick_D error) seems to indicate the emulator cannot be initialized anymore - if you are using the onboard emulator provided with the EVM, that could be a power failure on the entire board.

The third error message is just related to the fact you probably had the CCS debugger already launched, which causes the Test Connection to indicate the emulator was already "in use". 

Can you try to check the fist page suggested by Rajasekaran to better pinpoint the exact broken link in this setup?

Hope this helps,

Rafael

Forum Post: RE: Weak function definition in CCS - MSP430

$
0
0

It's known now, only because of this thread.  It is in the queue to be fixed, but there is no schedule for it.  The function should not be inlined, but apparently it is in this case.  As to whether it is legal to have a function definition that is marked both weak and inline, I don't have the answer.


Forum Post: RE: OPA336 Spice model import to PSPICE

$
0
0

Shrenik,

You are not getting the included file that contains the subcircuits for the OPA336. Please check the names of the files that your are including and make sure they are present. The file on the web is named OPA336.txt, not .lib and that may be causing you an issue unless you renamed the file.

All of the errors are for missing Subcircuits that are not defined, but all are present in the file on the web.

Britt

Forum Post: Placing Code Above 0xFFFF MSP430F5528

$
0
0

I would like to place a couple of functions in Bank C (above 0x14400) I used the

#pragma LOCATION(0x14400);

I get the warning

#1515-D location pragma address is too large

directive does work for addresses below 0x10000. In addition I have set the Large Memory Model flag on the compiler, This must be for show only as I still must use the intrinsic _data20_ ... to read or write above the 64K boundary....

Any suggestions?

Forum Post: RE: User Experience Code on MSP430 Exp Board

$
0
0

I am having the same problem with new MSP-EXP430F5438 board and latest version of ccs

Version: 6.0.1.00040 and MSP-EXP430F5438_User_Experience_16KB program downloaded via "Getting Started" option in CCS.

Below is console output:

**** Build of configuration Debug for project MSP-EXP430F5438_User_Experience_16KB ****

"c:\\ti\\ccsv6\\utils\\bin\\gmake" -k all

'Building target: MSP-EXP430F5438UserExperience.out'

'Invoking: MSP430 Linker'

"c:/ti/ccsv6/tools/compiler/msp430_4.3.3/bin/cl430" -vmspx --code_model=large -O2 --opt_for_speed=5 -g --define=__MSP430F5438A__ --diag_warning=225 --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal -z --stack_size=160 -m"MSP-EXP430F5438UserExperience.map" --heap_size=160 --use_hw_mpy=F5 -i"c:/ti/ccsv6/tools/compiler/msp430_4.3.3/lib" -i"c:/ti/ccsv6/tools/compiler/msp430_4.3.3/include" -i"c:/ti/ccsv6/ccs_base/msp430/include" -i"c:/ti/ccsv6/msp430/include" -i"c:/ti/ccsv6/tools/compiler/msp430_4.3.3/lib" -i"c:/ti/ccsv6/tools/compiler/msp430_4.3.3/include" -i"C:/Users/Frank/workspace_v6_0/MSP-EXP430F5438_User_Experience_16KB" --reread_libs --warn_sections --xml_link_info="link_details.xml" --rom_model -o "MSP-EXP430F5438UserExperience.out" "./main.obj" "./system_pre_init.obj" "./UserExperienceDemo/5xx_ACTIVE_test.obj" "./UserExperienceDemo/FFT.obj" "./UserExperienceDemo/FFT_430.obj" "./UserExperienceDemo/LPM.obj" "./UserExperienceDemo/PMM.obj" "./UserExperienceDemo/PowerTest.obj" "./UserExperienceDemo/UserExperienceGraphics.obj" "./UserExperienceDemo/UserExperience_F5438A.obj" "./UserExperienceDemo/adcTemp.obj" "./UserExperienceDemo/audio.obj" "./UserExperienceDemo/balanceBall.obj" "./UserExperienceDemo/clock.obj" "./UserExperienceDemo/flashUtils.obj" "./UserExperienceDemo/menuSetting.obj" "./UserExperienceDemo/usbTest.obj" "./MSP-EXP430F5438_HAL/hal_adc.obj" "./MSP-EXP430F5438_HAL/hal_board.obj" "./MSP-EXP430F5438_HAL/hal_buttons.obj" "./MSP-EXP430F5438_HAL/hal_lcd.obj" "./MSP-EXP430F5438_HAL/hal_lcd_fonts.obj" "./MSP-EXP430F5438_HAL/hal_rf.obj" "./MSP-EXP430F5438_HAL/hal_rtc.obj" "./MSP-EXP430F5438_HAL/hal_usb.obj" "./F5xx_F6xx_Core_Lib/HAL_FLASH.obj" "./F5xx_F6xx_Core_Lib/HAL_PMAP.obj" "./F5xx_F6xx_Core_Lib/HAL_PMM.obj" "./F5xx_F6xx_Core_Lib/HAL_TLV.obj" "./F5xx_F6xx_Core_Lib/HAL_UCS.obj" "../MSP-EXP430F5438_User_Experience_Lib.lib" "../lnk_msp430f5438a_mod.cmd" -l"libc.a" -lMSP-EXP430F5438_User_Experience_Lib.lib

<Linking>

"../lnk_msp430f5438a_mod.cmd", line 139: warning #10424-D: Linker command file

has no sections of type=VECT_INIT, but does contain .intXX sections. This

file may be out of date. Generating interrupt pointers for all .intXX

sections. The default handler provided in the RTS will be used if no other

handler is found. It is recommend that you update your linker command file

to the latest version.

error #10269: output file "MSP-EXP430F5438UserExperience.out" exceeds code size

>> Compilation failure

limit

error #10010: errors encountered during linking;

"MSP-EXP430F5438UserExperience.out" not built

gmake: *** [MSP-EXP430F5438UserExperience.out] Error 1

gmake: Target `all' not remade because of errors.

**** Build Finished ****

Thanks for any help you can provide.

Frank T

Forum Post: can't print unsigned int

$
0
0

Hi,

I'm usingCCS5.4 and the TMS570.  I'm trying to printf, but it won't print variables.

 

If I do a printf with a literal string (printf("Hello world\r\n);) it works OK, but if I try to add printing a variable I get an undefined exception.

I have made sure I have full printf support marked in the project properties.

 

Thanks,

David

Forum Post: RE: ARM CGT v5.1.6 - switch-case statement bug with 64 bit constants

$
0
0

That is indeed a bug.  I've submitted SDSCM00050721 to track this issue.

Forum Post: RE: OPA336 Spice model import to PSPICE

$
0
0

Hi,

Thanks for the prompt reply. The issue was as per http://www.ti.com/lit/an/sloa070/sloa070.pdf I only ended up importing opa336 and not its subcircuits. I just changed the txt to lib and carried on with create parts for library without importing 336. 

The 'subcircuit not found errors' are gone but there seems to be a convergence issue. I am just using a simple inverting amplifier configuration(attached) to make sure the models are working fine. The main error seems to be ERROR -- Convergence problem in bias point calculation. I have also attached the screenshot of the error. 

The library that I ended up creating is also attached.

Forum Post: RE: Activating MSP large code model leaves small code model option in compiler options

$
0
0

If you can't get the compiler into large data model, you are in for a bunch of other problems, I'd expect.

As far as placing the section, you can do it the old way: give it a unique name with #pragma DATA_SECTION, and modify the linker command file to place that unique name where you want it.


Forum Post: .out Load Failed While debugging

$
0
0

Board :- Board Booster Pack Tiva C Series TM4C1294NCPDT

IDE : TCCS V5

System OS : Win XP 64Bit

(Please visit the site to view this file)

Forum Post: RE: CCS v6 Installation will not continue

Forum Post: RE: Variables in FRAM - not recognized by CCS? RAM usage doesn't change

$
0
0

The byte counts report is generated based on the info from the ELF program segment table.

If a loadable segment is a data segment, we increase the data byte count by the size of the segment.

If you simply tell the linker to allocate the memory region to hold the array buffer and nothing are needed to load to the target, the data count will not be increased.

Regards,

Raymond

Forum Post: RE: LM5118 PSPICE reference simulation not converging

$
0
0

MichaelH,

I have confirmed that the reference design works correctly in version 16.2, however, it does not converge in 16.6. I am not sure why the newer version does not work the same as the previous version. In order to get the simulation to run peoperly, please change the Maximum step size from 80n to 20n:

And set the following options:

RELTOL from 0.01 to 0.001, Transient time point iteration from 100 to 1000, and check the Use perordering to reduce... box:

The simulation should now run correctly as it does in 16.2.

Britt

 

Forum Post: RE: CCS 5.5 Arm Cortex M3 Software download not possible

$
0
0

[quote user="Franz Boeni"]I hope you understand my problem, and can do the same thing (Starter Kit B92 with the emulator of this kit). But please try with real different SW where the linker has complete different position of code. Only then you can detect the problem quickly.[/quote]I understand your problem, but I don't understand what is causing it (I can't recall a previous problem where the same symptoms).

I don't have a Starter Kit B92, so tested using a EK-EVALBOT with a LM3S9B92. CCS v5.5.00077 was tested on two PCs:

- Windows 8.1 64-bit with the latest CCS 5.5 updates - TI Emulators version 5.1.507.1

- Windows 7 64-bit with a fresh CCS 5.5 install - TI Emulators version 5.1.232.0

On both PCs was able to switch between two different programs being downloaded, with the correct program downloaded into flash.

[quote user="Franz Boeni"]Hope you will have a next idea.[/quote]1) Can you try enabling Debug Server Logging as per http://processors.wiki.ti.com/index.php/Troubleshooting_CCSv5#Debug_Server_Logging and attach the log file.

2) Can you zip up and attach the example ARM 'Hello World' project which you said previously demonstrated the problem, so we can check  the project and target configuration properties.

Viewing all 91748 articles
Browse latest View live


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