Additionaly, MISRA 10.3 check fails each time variable is passed by a pointer - even when passing structure pointer and using structure->element operator inside complex expression.
Thank you for your support!
Best regards,
Jernej
Additionaly, MISRA 10.3 check fails each time variable is passed by a pointer - even when passing structure pointer and using structure->element operator inside complex expression.
Thank you for your support!
Best regards,
Jernej
Another code snippet - however this goes through MISRA check without any errors and is quite similar to previous (if first failed, this one should also fail):
int16_t global_var; void Test(const int16_t *input) { global_var = *input + 1; }
Best regards,
Jernej
Hi Jehan,
Check this link out: http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/273446.aspx
Regards,
Gautam
Thank you very much!
I have now tried to communicate with another MSP on another project - it is a MSP430F2418 - this works fine, no problems at all. But if I then try to hook up to the FR6989 the error message pops up again.
Hi Ki,
My problem seems related to my task which is doing the acquisition on the ADC. If I remove this task I don't have the problem anymore? But I really don't know what can be the cause..
Regards,
When you create a new project you can add existing code to it. Simply right click on your project in the project explorer and select "Add files...". Select the files that you want to add. After that it will then prompt you if you want to Copy or Link the files. Copying the files makes a copy of them in your project folder. Linking them leaves them in there original location and makes a reference to them in the project.
As far as header files you do not need to add them to the project but you do need to add their locations to the search paths in the project properties.
I guess there is some sort of school project starting as there were a few of these threads in the past couple of days. Please follow this thread: http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/366355.aspx
There is no answer there yet but it is the exact same question.
We had register level optimization on. When I turn it off I am able to set the breakpoint. I don't understand why it is optimizing it out, but I will investigate more.
Thanks
David,
If you're still not able to get it working after going through the wiki link, would you be able to share your project (or a simplified version of it) so we can take a look and see if we can get it working?
Hi Jyothi,
If you right-click in the CCS graph and select 'Data -> Export All", you can export the plotted results to a simple csv file. Then you can format the data what ever way you wish to import that into MATLAB. If you are not sure how to import data into MATLAB, I suggest you contact their support.
Thanks
ki
This isn't really a compiler question. But I did find this manual. It is pretty clear that all the Stellarisware functions related to USB anything is in there. Hope this helps ...
-George
As I expected, I see the line ...
#define _TMS320C6600 1 /* Predefined */
This means the appropriate functions are made available in c6x.h.
I'm still not clear on what you see that makes you think the code is not building or executing correctly.
Thanks and regards,
-George
Thanks for the swift response. I will look into that and respond with my findings.
I am going on holiday tomorrow so will take a few weeks to respond.
Hi Tony,
Thanks for the update. However I still feel that you should be able to program both devices without having to put one in bypass. Did you try the ccxml file I attached?
Thanks
ki
I don't think so... at least i can't seem to find a way...
Can you try deleting the launch configuration for the project and see if that helps?
http://processors.wiki.ti.com/index.php/Troubleshooting_CCSv6#Debugger
Thanks
ki
Other odd behavior with GUI Composer:
Install Project: Have a GUI project that you want to save from the Design view to a CSS project. In the GUI Composer, select Save (at the top left), then select the Install Project icon.
If you type a name and then Enter before selecting OK, it saves fine.
But if you type a name and select OK (without Enter), it comes up and shows a "Save Files" window that says "There are unsaved files. Please press one of the following: ....". It also indicates I'm trying to do an export, which I am not.
Tab Container: Have a 2 tab container. In Design view, the selected tab starts out as highlighted. If you press the other tab without doing anything else, the tab text highlight indicating selected, but the tab contents don't change. But if I select the Content Pane of the Tab Container first, then when I select the tab it does change to the tab contents. But the first time coming back from running the application, it DOES switch properly.
This is an extremely powerful and useful GUI, but really needs more testing. There are a number of features that show as useful, but don't seem to do anything yet. Example: text-align seems to work, but vertical-align doesn't.
Are you using EABI or COFF ABI? If you are using EABI, make sure not to use the leading underscore in your assembly code.
[quote user="Suresh Chandresekar"]Is there a fast work-around?[/quote]
I don't think so. I tried several variations as well. None of them worked. Sorry!
-George
When I press the pause button on running code in a CSS debug session for an imported Energia sketch, it sometimes references the line number of the next code line after the one it's actually stopped at. As far as I can tell, this only occurs with a program which has hung somewhere (e.g. an infinite loop).
I've only tested this with a EK-TM4C1294XL launchpad, because that's the only hardware I have. I'm using Energia 0101E0012. It doesn't appear to be a compiler issue because I've tried replacing Energia's GCC 4.7.3 with my own GCC 4.8.4, with no change in behavior.
Has anyone else observed this?
P.S. I'm using CCSv6.0.1.00040, on Windows 7 x64.
Sorry for the delay. let me ping the Emulation folks again.