• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Microcontrollers » All Tags » CSM
Share
Microcontrollers
  • C2000™ Microcontrollers C2000™ Microcontrollers
  • Hercules™ Safety Microcontrollers Hercules™ Safety Microcontrollers
  • MSP430™ Microcontrollers MSP430™ Microcontrollers
  • Other Microcontrollers Other Microcontrollers
  • Stellaris® ARM® Microcontrollers Stellaris® ARM® Microcontrollers
  • Tiva™ ARM® Microcontrollers Tiva™ ARM® Microcontrollers

Browse by Tags

Microcontrollers

Welcome to the Microcontrollers Section of the TI E2E Support Community. Ask questions, share knowledge, explore ideas, and help solve problems with fellow engineers. To post a question, click on the forum tab then "New Post".

Tags
You have subscribed to this tag. To view or manage your tag subscriptions, click here.   Close
You have unsubscribed from this tag. To view or manage your tag subscriptions, click here.   Close
You are currently viewing:
CSM
  • 28035
  • 2803x
  • 2833x
  • 28xx Flash
  • boot
  • bootloader
  • C Programming Language
  • C2000
  • CCS 4
  • CCS v4
  • CCSv4
  • Code Composer Studio
  • Concerto
  • F28035
  • F28335
  • F2833x
  • flash
  • Flash API
  • flash programming
  • JTAG
  • Piccolo
  • SCI
  • TMS320C2000
  • TMS320F28035
  • TMS320F28335
Related Posts
  • Forum Post: Re: TMS320F28335 DSP fall to secure mode

    Pradeep Shinde Pradeep Shinde
    Trying ‘Depletion Recovery’ (button in the Operation window) will help if the flash is in over-erase condition. Probably, the flash is permanently locked. That is all CSM locations are now 0x0000. This can happen if the erase operation is terminated (reset or power-down) before completion...
    on Nov 11, 2008
  • Forum Post: 28335 SCI Boot

    JAY PRABHAKAR JAY PRABHAKAR
    In my application, I would like to be able to jump to the SCI Boot loader without having to (a) reset the DSP (b) having to jumper GPIO84 low... I have looked at the documentation in "SPRU963A" extensively and have determined that I need to jump to location 0x3FF633 in ROM, after setting up...
    on Mar 30, 2009
  • Forum Post: Re: Difficulty reconnecting after locking F28335

    Lori Heustess Lori Heustess
    Steve, The code security module (CSM) on the 2833x will disconnect the JTAG if it is connected and an access is made to secure memory. A byproduct of this is when the device first powers up, before CCS is connected, the CSM may disable the JTAG. To prevent that from occuring, there are two solutions...
    on May 1, 2009
  • Forum Post: CSM lockout on eZdsp F28335

    Jeremy Skippen Jeremy Skippen
    After developing some code in CCS and running it in RAM I was interested in running it from flash. I managed to compile, link and load the program easily enough, but I started getting wierd behaviour after calling the following routine: #pragma CODE_SECTION(InitFlash, "ramfuncs") void InitFlash...
    on May 29, 2009
  • Forum Post: Re: Locked Flash

    Lori Heustess Lori Heustess
    If the code security module is locked, then only secure memory can access secure memory. This means that if the flash API is running from secure RAM it can modify the flash. So the question is how to get it into secure RAM. One way is to have a loader in the OTP (which is also secure). You could call...
    on Jul 1, 2009
  • Forum Post: Re: Locked Flash

    georgiad georgiad
    Thank you very much Lori for your reply Now my question is: is it possible to write data in a secure RAM, for example from the serial port? What I need is that after a period of time, my customers make some measurements of my unit, pass the results in the unit through the serial port and write them...
    on Jul 2, 2009
  • Forum Post: F28335 on custom board automatically locked

    mcmaier mcmaier
    Hi, We're currently developing a custom motor control application board using the F28335 DSP. The necessary software is being developed and tested on a spectrum Digital eZdsp F28335 and works fine so far. This week we wanted to start testing the software on the application board. This board features...
    on Aug 13, 2009
  • Forum Post: CSM and Passwords.asm

    Sergey Nikitin Sergey Nikitin
    Hello, Example "Running an Application from Internal Flash Memory on the TMS320F28xx DSP (Rev. H)" has a file Passwords.asm. This file has the following comment: * 4) The section "csm_rsvd" is required when using code security. * Failure to program addresses 0x33FF80 through 0x33FFF5...
    on Nov 18, 2009
  • Forum Post: TMS320F2810 CSM Locking Problem

    WillT WillT
    Hello, I'm having problems getting a program to run while my DSP is locked. I'm fairly new to DSPs and TI devices so forgive me if I'm asking something stupid. I've got a program that I need to protect so I want to be able to lock the DSP using the CSM with a password. However,...
    on Jan 18, 2010
  • Forum Post: Re: TMS320F2810 CSM Locking Problem

    Lori Heustess Lori Heustess
    WillT I've got a program that I need to protect so I want to be able to lock the DSP using the CSM with a password. However, once I've programmed a password and locked the DSP, the program no longer runs after the device has been power cycled. As far as I can tell, everything is running from...
    on Jan 25, 2010
  • Forum Post: Re: TMS320F2810 CSM Locking Problem

    WillT WillT
    Hi, I'm working on a motor controller. When the DSP is unlocked everything seems to work fine, but once it is locked it doesn't seem to do anything at all. It no longer sends or receives CAN messages (without which it wouldn't enable the PWM channels). Even the GPIO pins no longer seem...
    on Jan 25, 2010
  • Forum Post: Re: TMS320F2810 CSM Locking Problem

    Lori Heustess Lori Heustess
    Another suggestion is to build with the -w linker switch. This will tell you if the linker is assigning any sections to memory that you did not specify in the linker command file. I also suggest taking a look at the .map file to see if anything is executing in unsecure memory and may be trying to access...
    on Jan 25, 2010
  • Forum Post: Re: TMS320F2810 CSM Locking Problem

    WillT WillT
    Hi, I've tried the -w switch but I don't get any warnings. I don't think anything is wrong in the .map file either. One thing I've just thought of is that the DSP is on some hardware which by default runs a CAN bootloader on an external EEPROM. If this doesn't detect a download...
    on Jan 26, 2010
  • Forum Post: Re: TMS320F2810 CSM Locking Problem

    Lori Heustess Lori Heustess
    WillT One thing I've just thought of is that the DSP is on some hardware which by default runs a CAN bootloader on an external EEPROM. If this doesn't detect a download request after 0.5s it switches over to the DSP internal memory. Could locking the DSP stop the external bootloader from functioning...
    on Jan 26, 2010
  • Forum Post: Re: TMS320F2810 CSM Locking Problem

    WillT WillT
    Thanks for the explanation. So if the boot ROM on the DSP is unsecured, how can I get it to run the program from the secured Flash? As I understand it the boot ROM checks the GPIO to decide where to boot to and in my case this is set to run from the 0x3F7FF6 location in FlashA. Many thanks
    on Jan 26, 2010
  • Forum Post: Re: TMS320F2810 CSM Locking Problem

    Lori Heustess Lori Heustess
    WillT So if the boot ROM on the DSP is unsecured, how can I get it to run the program from the secured Flash? As I understand it the boot ROM checks the GPIO to decide where to boot to and in my case this is set to run from the 0x3F7FF6 location in FlashA. The security won't prevent code execution...
    on Jan 26, 2010
  • Forum Post: TMS320F2808 Flash Error / CSM

    Josh Josh
    Hello, I'm using the eZdsp kit for the TMS320F2808 processor. Recently I have been having problems using Code Composer Studio (version 3.3) to flash the device. I get the following error message. Flash API Error #24: The Erase operation failed the pre-compaction step. Right now...
    on Jan 29, 2010
  • Forum Post: Code Security Module

    Dean Hedin Dean Hedin
    In the case of unintentional CSM password lock the device becomes unusable. Why is it that the erasure of of the device (along with the erroneous passwords) not permitted in this situation? The purpose of the CSM (as I see it) it to secure code from reverse engineeering. Not to destroy devices...
    on Feb 25, 2011
  • Wiki Page: [CSM] When does the CSM get locked

    Lori Heustess Lori Heustess
    Question: What are the scenario’s that CSM gets locked automatically and want to know weather its deterministic or not? Answer: If a password is programmed into the flash, the CSM is locked on reset and stays this way until the password match flow is executed (refer to the System Control...
    on Mar 16, 2011
  • Wiki Page: [CSM] Recovering a locked device

    Lori Heustess Lori Heustess
    Question: Is it possible to 'reset' a locked F28x or F24x chip to its initial empty-flash status? Answer: Sorry, but the answer is no. The flash architecture on these devices does not allow any reasonable way that would still be secure, so nothing was put in to allow this. Also please...
    on Mar 25, 2011
  • Wiki Page: [CSM] Permanent lock

    Lori Heustess Lori Heustess
    Question: My application has a requirement for the flash contents to be irrevocably locked. The documentation states that setting the CSM password to all zeroes permanently locks the device. Does this mean that the CSM is permanently locked, but that the device can still boot and execute from...
    on Mar 25, 2011
  • Forum Post: TMS320F243 Flash programming problems

    saltan saltan
    Dear All, I need a detailed explanation why I cannot use SDFlash nor prg2xxx (an old DOS program) to reprogram TMS320F243. First of all I want to explain all of the things I've made. AIM: We have a little old TMS320F243 board that should be reprogrammed. ENVIRONMENT IS CCS...
    on Apr 19, 2011
  • Forum Post: Code protection for F28069 device stops execution of code in flash

    Johannes Wolkerstorfer Johannes Wolkerstorfer
    I have the following difficulty activating the CSM-password in a F28069 Control Stick: Whenever, the CSM is activated (in my understanding the following suffices to activate the CSM: Set CSM_RSVD and CSM_PWL locations in flash sector A: "CSM_RSVD : origin = 0x3F7F80, length = 0x000076"...
    on Sep 20, 2011
  • Forum Post: c2prog - error erasing flash

    Sergey Titov Sergey Titov
    Good day, I tried to use c2prog for serial programing of F28030 and got error erasing/loading flash. connection to target and hex verifying is ok. our assumption is that access to flash is locked by some internal logic or c2prog incorrectly using flash api (doesn't perfom dummy read from...
    on Nov 22, 2011
  • Forum Post: is it safe to unlock the CSM at the beginning of the firmware?

    Max Sonnaillon Max Sonnaillon
    Hello, We are going to use the CSM protection for the first time to make sure nobody can copy our product. Because our firmware makes use of FLASH programming in several routines, we want to unlock the CSM at the beginning of the code, in the main() function. Would this approach be safe? ...
    on Nov 23, 2011
12
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use