Author Topic: TI`s CCS  (Read 835 times)

0 Members and 1 Guest are viewing this topic.

Offline stoyanoffTopic starter

  • Contributor
  • Posts: 34
  • Country: bg
TI`s CCS
« on: June 24, 2020, 04:55:11 am »
Greetings! I`m using TI`s CC studio for a few week and I have some questions!
First: My project is created as a renamed example project for InstaSPIN lib. And in the General property tab it is sellected "Generic C28xx Device". So if I which to my controller(F280041C) I am receiving multiple errors  like "#10263 BEGIN memory range has already been specified". And when I return the Generic C28xx Device setting I can`t compile the project -> errors again. What is happening here?
Second: If I haven`t set the proper controller how the CCS is going to find out if there is enough space, how much is left and so on?
Third: I can`t program my uC in release mode. In debug mode everything works fine, but when I use "load" nothing happens -> the program doesn`t work... Any ideas?
Thanks!
 

Offline MosherIV

  • Super Contributor
  • ***
  • Posts: 1530
  • Country: gb
Re: TI`s CCS
« Reply #1 on: June 24, 2020, 07:25:36 am »
You have my sympathies for using anything Eclipse based  :palm:

A2 if you have not chson any specific micro or generic family, it is either up to you to specify the address space or the linker is going to assume you have infinite space

A3 the release mode may not be configured correctly. Compare the release mode setting with the debug mode. The main difference between debug and release is release will not include the symbol names in the binary blob for debugging.
If you do not care about leaving variable names in the binary blob, just use debug.
 

Offline stoyanoffTopic starter

  • Contributor
  • Posts: 34
  • Country: bg
Re: TI`s CCS
« Reply #2 on: June 24, 2020, 11:42:32 am »
Ok! In the project I have a file called f28004x_ram_cpu_is.cmd which contains the memory definitions. It is exactly for my uC. If we assume the memory map is made exactly for my uC, so the space is not unlimited, but defined in this file. And it should return an error if I`m out of space...
Thanks!
 

Offline Bassman59

  • Super Contributor
  • ***
  • Posts: 2501
  • Country: us
  • Yes, I do this for a living
Re: TI`s CCS
« Reply #3 on: June 26, 2020, 04:54:43 am »
Greetings! I`m using TI`s CC studio for a few week and I have some questions!
First: My project is created as a renamed example project for InstaSPIN lib. And in the General property tab it is sellected "Generic C28xx Device". So if I which to my controller(F280041C) I am receiving multiple errors  like "#10263 BEGIN memory range has already been specified". And when I return the Generic C28xx Device setting I can`t compile the project -> errors again. What is happening here?
Second: If I haven`t set the proper controller how the CCS is going to find out if there is enough space, how much is left and so on?
Third: I can`t program my uC in release mode. In debug mode everything works fine, but when I use "load" nothing happens -> the program doesn`t work... Any ideas?
Thanks!

Definitely import one of the example projects that is based on your device and spend some time looking at the various project settings and files. The examples all build so you'll be able to see what the hell is going on.

I find that this was the only way to get going with any vendor's Eclipse-based tools, including at last count TI CCS, NXP MCUXpresso, SiLabs Simplicity Studio.
 

Offline mayor

  • Regular Contributor
  • *
  • Posts: 247
  • Country: ca
Re: TI`s CCS
« Reply #4 on: June 26, 2020, 10:27:09 am »
Echoing Bassman59's suggestion. There are too many includes pointing to too many locations in the SDK to start from scratch. TI provides an "empty" project, which is as close to "from scratch" as you should attempt (it's a LED blinker). But besides, it's best to find an example project close to what you want to accomplish and modify it to suit your needs.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf