1296 views|0 replies

3836

Posts

19

Resources
The OP
 

Things to pay attention to when learning TMS320C2000 [Copy link]

1) It can run in single step, and will always return to address 0 when running continuously: Watchdog is not turned off, and continuous running will reset the DSP back to address 0.
2) OUT files cannot be loaded into the on-chip flash: Flash is not RAM, and cannot be written with simple write instructions. A special program is required to write. The load command in CCS and C Source Debugger cannot write to flash. OUT files can only be loaded into on-chip RAM or off-chip RAM.
3) How to add breakpoints in flash: You can use single-step debugging in flash, or you can use hardware breakpoints to add breakpoints in flash. Software breakpoints cannot be added in ROM. Hardware breakpoints set the address of the memory, and an interrupt is generated when the address is accessed.
4) Interrupt vector: The interrupt vector of C2000 cannot be relocated, so the interrupt vector must be placed in the flash starting at address 0. When debugging the system, the code is placed in RAM, and the interrupt vector must also be placed in flash.

Also, the problem of initialization

After DSP is reset, the initial values of many registers are usually inconsistent with the user's requirements, such as wait registers, SP, interrupt positioning registers, etc., which need to be set to the values required by the user through the initialization program. The main functions of the initialization program are:
1) Set the initial value of the register.
2) Create an interrupt vector table.
3) Initialize peripheral components

This post is from DSP and ARM Processors
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews

Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190

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