• 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 » Digital Signal Processors (DSP) » C5000 Ultra Low Power DSP » C5000 Ultra Low Power DSP Forum » TMS320C5402 DSP board can not Load the programmes
Share
C5000 Ultra Low Power DSP
  • Forum
  • Announcements
Options
  • Subscribe via RSS
Top 6 Wiki Links
  • C5000 Main Wiki
  • C5000 Software
  • C5515 Boot-Image Programmer
  • CSL (including CSL 3.00)
  • C5000 Connected Audio Framework
  • Porting C5000 Teaching ROM to C5535 eZdsp
  • Forums

    TMS320C5402 DSP board can not Load the programmes

    This question is not answered
    jinqi zhou
    Posted by jinqi zhou
    on Aug 10 2009 06:35 AM
    Prodigy30 points

         Recently I have a trouble about TMS320C5402.I want to know what caused the TMS320C5402 DSP board can not Load the programmes:

         I have to identified that EPROM has been written into programmes  successfully. Now I provide DSP board TMS320C5402 with 5V voltage and

    current shown as 170mA, then measure the CLK pin in the board with oscilloscope. The figure shows that the frequency out of CLK pin is

    always 5M, however, the right should be 100M. I try to close the constant current source and then open it again, the situation is still

    the same, and it doesn't work even though reseting the board. In my experiments, only one or two times is the frequency out of CLK pin the

    right occasionally, but most are not right. In my experiments, I have excluded such cases as bad EPROM device, electromagnetic interference

    and bad contact between devices.

         I haven't met with this problem and it has troubled me a long time, Could you do me a favour and give me a suggestions on it? Thanks a lot!

    C5400
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • TommyG
      Posted by TommyG
      on Aug 10 2009 12:37 PM
      Genius12445 points

      Jinqi Zhou,

      It is kind of hard to guess your problem based on the description that you have given so far.  What is your target board?  Is it your own design or one from TI? 

      The fact that the board boots correctly occasionally hints at a problem with your startup process.  Can you give more information on what you meant by closing and opening the constant current source.  Do you mean the power supply?  Have you verified that you have implemented RESET circuit correctly?  Also, are power and clocking done correctly?  One other point to look at is whether you have all unused pins terminated correclty, especially the JTAG signals.

      From the SW side, how do you determine that the EPROM is programmed correctly?  Are you specifying Boot Mode correctly?  If wrong boot mode selected, then you would see unexpected results.  Do you have some way to verify that your SW is functional?  Testing on TI EVM or simulator would be a good choice for this type of task.

      Please provide some additional information so we can get to the root cause of your problem.

       ---------------------------------------------------------------------------------------------------------

      ACAT/DCAT Team

      ---------------------------------------------------------------------------------------------------------

      Please click the Verify Answer button on this post if it answers your question.
      --------------------------------------------------------------------------------------------------------- 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • jinqi zhou
      Posted by jinqi zhou
      on Aug 15 2009 05:13 AM
      Prodigy30 points

      Thank you for your reply.

      For your questions, I’d like describe my problem in more details. The target board is my own design.

         I have written program into the eeprom of the board, and the boot mode is 8 bit parallel boot mode. But the vc5402 cannot read the program correctly.

         I measure the address pin of vc5402, a0 to a15 is all high level. And the pins of PS,IS,mstrb and iostrb show all high level , but the xf pin and ds pin showed low level.

         I use CCS to read directly the program located in 0x8000 of eeprom without and code running. The ce of the eeprom is always set to low level. The oe of the eeprom is controlled by the mstrb and r/w. Here is the phenomenon in different board:

       

      a)   the time of mstrb enable signal is too short to let the eeprom output data. And the CCS cannot show any data in eeprom.

      b) The signal of mstrb is right, and control the oe,ce,r/w and the address of eeprom is all right, is right. but still the eeprom cannot output any data. But we can read the eeprom in specific eeprom writer correctly.

       

      Last but not least , I want to know the ESD of vc5402. The board worked well but now it can not bootload the program from eeprom, even after reset the vc5402, and the reset function was good too.

      Oh, I nearly forgot asking one question to you. What do you mean that “One other point to look at is whether you have all unused pins terminated correctly, especially the JTAG signals”. For the JTAG  in my board, just one EMU1/OFF pin is set to the high level, the others are terminated nothing. Is there any effect on the vc5402? Besides, HPI and INT pins are unused, and are all terminated nothing. What do you think of it? And what should I deal with these unused pins?

      C5402
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • TommyG
      Posted by TommyG
      on Aug 17 2009 10:42 AM
      Genius12445 points

      I have a couple of questions to clarify what you stated above.

      You say that you use CCS to read the EEPROM.  Is that working correctly?  It's not clear from your statements.  Can you connect CCS to your target and read the CPU registers to indicate that the JTAG interface is working?

      The fact that you don't see any activity on the EMIF seems like the DSP might not be booting correctly.  did you follow the requirements specified in the Bootload Application Report (SPRA618B)?  The location of the boot table needs to be specified at location 0xffff in IO or Data Space. 

      How do you have the CLKMD pins configured to a supported mode?  These pins are read at Reset to configure the onchip PLL.  Do you see CLKOUT begin toggling after device comes out of Reset?

      According to the Data Manual the XF pin should go high if a valid Rest signal is seen by the DSP.  You say that this pin is low, so that indicates that the DSP is not initiating the Rest process which would include reading the external memory.

      I have request to IC team on EDS rating for your DSP.  I do not find this information in the Data Manual.  Do you have some concern that the board has been damaged by ESD?  Do you have a second board that you can test?

      The question about unused pins being terminated correctly applies to Input signals.  The EMU1 pin is of most concern.

      Regards,
      Tom

       

       ---------------------------------------------------------------------------------------------------------

      ACAT/DCAT Team

      ---------------------------------------------------------------------------------------------------------

      Please click the Verify Answer button on this post if it answers your question.
      --------------------------------------------------------------------------------------------------------- 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • jinqi zhou
      Posted by jinqi zhou
      on Aug 18 2009 04:48 AM
      Prodigy30 points

       

      Hi, TommyG

       

      Here is my answer for your questions:

       

      1)    I connect CCS to my target and read the CPU registers and found out that the mp/mc=1, which pin is connected to low level in my board. and DROM=0 which should be 1, something is wrong with it.

       

      2)   I follow the requirements specified in the bootload application Report and it worked well. Now it can't iniciate itself.

       

      3)   The CLKMD pin is set all '1', and the frequance from clkout is 5MHz, half of the input freqence, as I set. But the waveform from clkout pin is no good, there are 100mV of jitter on the waveform.

       

      4)    Yes. The XF pin is low, it indicates that the DSP is not initiating the Reset process. The pin is high when DSP get reset.

       

      5)    I have couples of such target boards I designed. They worked correctly before, however, now they don’t work as they are supposed to. Therefore, I am considering whether EDS has damaged my boards, and want to get some useful suggestions hopefully.

       

      6) I read the eeprom SST39VF040 through CCS, and found out the CCS can't get any data from EEPROM at all .the CE OE and W/R is all right.

       

           I use Oscilloscopes to probe the data output. the waveform didn't have any change. but the EEPROM could be read and written correctly under specific EEPROM programmer.

      C5402
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    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