7665 views|25 replies

9702

Posts

24

Resources
The OP
 

Hard work pays off? TMS320F28379D debugging experience [Copy link]

 

I recently wanted to use the 4-channel ADC of TMD320F28379D because the data collected by the 4-channel ADC of STM32G474 has always been slightly abnormal.

Although we have dedicated ADC chips and evaluation boards, we have not had an FPGA for high-bandwidth data acquisition and have been unable to bring out the best performance of the ADC.

I have already bought an FPGA chip and was planning to build a set of boards myself and learn FPGA from scratch, but time did not permit, so I could only try to get a handle on the C2000.

Among TI's microcontrollers, MSP430 is the most user-friendly, but it has been rarely used recently and has almost been replaced by STM32.

Except for MSP430, I have used almost all TI microcontrollers except MPU, including CC2650, CC3200, Hercules, C2000 and so on.

I am almost tortured by these chips. I feel that these chips are not suitable for novices or enthusiasts. Perhaps only those people from large companies who can get original support and have plenty of time to do systematic research can afford to play with this kind of chips.

This time I bought the TMS320F28379D-LAUNCHPAD development board a year ago. I thought about it for a long time and finally decided to tinker with it.

I never expected that after spending a whole day, I couldn't even compile a single official example program. The strong sense of frustration made me feel very bad that day. I wanted to throw away this board that I had hardly used and never touch TI's microcontroller products again.

Fortunately, hard work pays off. Just now, the problem was solved and the board was temporarily saved.

I have installed the latest version of CCS10.0 and the latest version of C2000Ware_3_01_00_00

The routine I want to make is

C2000Ware_3_01_00_00\device_support\f2837xd\examples\cpu1\adc_soc_continuous_dma

But when I import it into CCS, there is always an error

For example, ResourceExplorer could not find the local folder (sometimes it could not be found, sometimes it could not be found), and importing the project failed, but these were all resolved quickly in the end.

The most difficult thing is this compilation error

error #10234-D: unresolved symbols remain

and

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

Because there are no other prompts except these errors, I have no idea where the problem lies.

Then there are the following symbols that are not defined, etc. (This is the error message of other unusable projects)

Various header files added are useless

Finally, use Notepad++ to search all the files in the C2000Ware_3_01_00_00 directory to see which files contain these undefined codes.

Finally, I found that there is a mirror image in C:\ti\c2000\C2000Ware_3_01_00_00\.tirex-temp\install-extract-ab2a86f1-0002-49a6-837d-3c0b77e8ea71\C2000Ware_3_01_00_00_Software that has the same directories and files as those in the C2000Ware_3_01_00_00 directory.

For example, the F2837xD_PieCtrl.c file referenced in my project is in C2000Ware_3_01_00_00\device_support\f2837xd\common\source. When I open it, it is blank, just like the file in the C2000Ware directory installed on other drives.

However, the files such as F2837xD_PieCtrl.c under C2000Ware_3_01_00_00\.tirex-temp\install-extract-ab2a86f1-0002-49a6-837d-3c0b77e8ea71\C2000Ware_3_01_00_00_Software and device_support\f2837xd\common\source have content.

Judging from the folder name of .tirex-temp, it seems to be a temporary file during the decompression process.

Finally, I copied all the contents under C2000Ware_3_01_00_00\.tirex-temp\install-extract-ab2a86f1-0002-49a6-837d-3c0b77e8ea71\C2000Ware_3_01_00_00_Software to replace the files under C2000Ware_3_01_00_00, and the compilation passed.

Another problem is that the path when I installed C2000Ware on my C drive is the default

There is a C2000Ware_3_01_00_00_Software under it, and there is another C2000Ware_3_01_00_00_Software under C2000, with the same content.

I'm not sure if I installed it wrong or CCS reinstalled it for me. Later I found that the files in this folder contained content.

This post is from Microcontroller MCU

Latest reply

Two years ago, I planned to use TI C2000 series TMS320F28379D to design a servo drive, but the chip was very difficult to buy at that time, so I gave up. The driver designed with this chip should have good performance. Many driver manufacturers use TMS320F28377   Details Published on 2024-5-22 11:45
 
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾

661

Posts

18

Resources
2
 

Brother Xia has a really wide range of interests!

Can 28 replace 430? The power consumption is not good enough. Isn't 430's main feature low power consumption?

This post is from Microcontroller MCU
 
 

7422

Posts

2

Resources
3
 

>>>I am almost tortured by these chips. I feel that these chips are not suitable for novices or enthusiasts. Perhaps only those people from large companies who can get original support and have plenty of time to do systematic research can afford to play with this kind of chips.

I totally agree, it's too complicated. Of course, it's not that complicated devices are bad, but that when the devices are complicated, they don't provide corresponding means for end users to eliminate this complexity, but instead they take complexity as glory. TI always likes to do its own thing. CCS needs to have a set of XDS tools in Eclipse, Arduino needs to have its own set of Energia, and the coprocessor in 2650 needs to use another tool outside of CCS for coding and debugging... All the interest in TI MCUs has been killed by the complexity.

Nothing is irreplaceable.

This post is from Microcontroller MCU

Comments

Indeed, CCS is more complicated to configure, and many functions cannot be used right away. Also, the CC2650 I used to work on, although it was developed with IAR, also required configuring various paths and solving the problem of XDS emulator. Too much time was wasted on tool configuration. I feel that only professionals can afford its MCU.  Details Published on 2020-3-25 20:48
Indeed, CCS is more complicated to configure, and many functions cannot be used right away. Also, the CC2650 I used to work on, although it was developed with IAR, also required configuring various paths and solving the problem of XDS emulator. Too much time was wasted on tool configuration. I feel that only professionals can afford its MCU.  Details Published on 2020-3-24 11:04
 
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 

9702

Posts

24

Resources
4
 
freebsder posted on 2020-3-24 10:55 >>>I am almost tortured by these chips. I feel that these chips are not suitable for novices or enthusiasts. Maybe only those big companies...

Indeed, CCS is complex to configure and many of its functions cannot be used out of the box.

There is also the CC2650 that I worked on before. Although it was developed with IAR, it also required configuring various paths and solving problems with the XDS emulator. Too much time was wasted on tool configuration.

I feel that only professionals can play with its MCU, and it is too difficult for novices to play with it.

This post is from Microcontroller MCU
 
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 

9702

Posts

24

Resources
5
 

After watching the online seminar, I feel that CLB is good. Is it so difficult to import a CLB project?

This post is from Microcontroller MCU
 
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 

1295

Posts

0

Resources
6
 

Texas Instruments is the Chief Yan in the chip field!

This post is from Microcontroller MCU

Comments

Their hardware design is impeccable, but they need to work harder on software and resources. They should learn more from ST.  Details Published on 2020-3-24 15:17
 
Personal signature

 

 

 
 

1295

Posts

0

Resources
7
 

There are still many problems with these chips.

This post is from Microcontroller MCU
 
Personal signature

 

 

 
 

1295

Posts

0

Resources
8
 

There is no perfect chip in the world, and reasonable choice is very important!

This post is from Microcontroller MCU
 
Personal signature

 

 

 
 

1295

Posts

0

Resources
9
 

If you design your own board, there will be many, many problems waiting for you!

This post is from Microcontroller MCU

Comments

I have to go down the FPGA path, and I am mentally prepared.  Details Published on 2020-3-25 12:48
 
Personal signature

 

 

 
 

1295

Posts

0

Resources
10
 

As long as you put in the effort, these problems should be solvable!

This post is from Microcontroller MCU
 
Personal signature

 

 

 
 

9702

Posts

24

Resources
11
 
Daqin Zhengsheng published on 2020-3-24 14:36 Texas Instruments is the chief of the chip industry!

Their hardware design is impeccable, but they need to work harder on software and resources. They should learn more from ST.

This post is from Microcontroller MCU

Comments

There are many hardware problems!  Details Published on 2020-3-24 15:43
 
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 

1295

Posts

0

Resources
12
 
littleshrimp posted on 2020-3-24 15:17 His hardware design is excellent, but he needs to work harder on software and resources. He should learn more from ST.

There are many hardware problems!

This post is from Microcontroller MCU
 
Personal signature

 

 

 
 

423

Posts

0

Resources
13
 

The moderator's STM32G474 has given up on treatment?

This post is from Microcontroller MCU

Comments

Compare the AD results of other companies to see if the problem is really in STM32  Details Published on 2020-3-25 06:11
 
 
 

9702

Posts

24

Resources
14
 
threetigher posted on 2020-3-24 22:42 The moderator's STM32G474 just gave up treatment?
Compare the AD results of other companies to see if the problem is really in the STM32
This post is from Microcontroller MCU

Comments

The effect of MCU + internal ADC is usually not satisfactory! It is recommended to use chips from analog companies. TI's analog chips were acquired from National Semiconductor.  Details Published on 2020-3-25 09:14
 
 
 

1295

Posts

0

Resources
15
 
littleshrimp posted on 2020-3-25 06:11 Compare the AD results of other companies to see if the problem is really in STM32

The effect of MCU+internal ADC is usually not satisfactory!

It is recommended to use chips from analog companies. TI's analog chips were acquired from the original National Semiconductor.

This post is from Microcontroller MCU

Comments

Try using C2000 first, and then use dedicated ADC chips when FPGA is understood.  Details Published on 2020-3-25 11:30
 
Personal signature

 

 

 
 

9702

Posts

24

Resources
16
 
Daqin Zhengsheng published on 2020-3-25 09:14 The effect of MCU+ internal ADC is usually not satisfactory! It is recommended to use the chip of analog company. TI's analog chip is acquired from the original National Semiconductor...

Try using C2000 first, and then use dedicated ADC chips when FPGA is understood

This post is from Microcontroller MCU
 
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 

9702

Posts

24

Resources
17
 
Daqin Zhengsheng published on 2020-3-24 14:51 If you design the board yourself, there will be many, many problems waiting for you!

I have to go down the FPGA path, and I am mentally prepared.

This post is from Microcontroller MCU
 
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 

2618

Posts

0

Resources
18
 

It’s amazing! So many frustrating bug prompts were actually fixed.

This post is from Microcontroller MCU
 
 
 

423

Posts

0

Resources
19
 
freebsder posted on 2020-3-24 10:55 >>>I am almost tortured by these chips. I feel that these chips are not suitable for novices or enthusiasts. Maybe only those big companies...

If TI could learn from ST, it would be awesome.

This post is from Microcontroller MCU

Comments

It's impossible. TI doesn't give away boards anymore, and there are no more activities on the official website. It can't afford to play this trick.  Details Published on 2020-3-26 22:56
 
 
 

7422

Posts

2

Resources
20
 
threetigher published on 2020-3-25 20:48 If TI wants to learn from ST, it will be awesome
Impossible. TI doesn’t even give away boards anymore, and there are no more activities on the official website. It can’t afford this.
This post is from Microcontroller MCU
 
 
 

Guess Your Favourite
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list