• 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 » MSP430™ Microcontrollers » MSP430 Ultra-Low Power 16-bit Microcontroller Forum » BSL programming
Share
MSP430™ Microcontrollers
  • Forum
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS
MSP430 Resources
  • MSP430 Product Folder
  • MSP-EXP430G2 - MSP430 LaunchPad Value Line Development kit
  • MSP430 Getting Started Guide
  • MSP430 Microcontroller Projects
  • More Resources >
  • Forums

    BSL programming

    This question has suggested answer(s)
    embedding ideas
    Posted by embedding ideas
    on Sep 09 2009 04:44 AM
    Prodigy70 points

    Hi all,

    i want to customize & programme the BSL code of the msp430f5438 . How can i programme it by JTAG. please explain with the procedure ,also tell me it is possible to customize & programme the  BSL code for the msp430f5438  chip?what is the version of the BSL that i can load to the 5438? also tell me from which compiler or IDE is used to programm,

     

    i read   slau  265c.

     

    thank u

     

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • BrandonElliott
      Posted by BrandonElliott
      on Sep 09 2009 08:45 AM
      Genius13925 points

      Both BSL and JTAG programming are described in our Programming User's Guide

      Our primary JTAG programmer is the MSP-FET430UIF

      EVMs, Examples, & app reports are located at www.MSP430.com

       

      EDIT: Sorry, just noticed that last line about having read the Programming UG.

      The programming spec is described there, though. What are you not finding in that guide that you are looking for?

      Our primary IDE's are IAR and CCS (was CCE)

      How to create a simple new project: in IAR, in CCS

      Jtag BSL
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • embedding ideas
      Posted by embedding ideas
      on Sep 09 2009 09:53 AM
      Suggested Answer
      Prodigy70 points

      Thank you for reply.

      I wants to know ,from where i can take the basic BSL code ,so i can add my  code(modify the BSL) & compile it .then how can i load or burn it into t specific protected memory of the chip or can i place this compiled code any where in to the flash memory via jtag?

        Explanation:   I want to add my code into the BSL code & place it into protected memory ,this programme contain  detection one switch .if it is in on condition  then it allow to  programme my flash & if it found to be in off condition then  it will exit the BSL routine & start at normal operation . so i need the BSL code to customize it as per my requirement.

                                                 in the slau265c in the ROM based BSL i doesn't found the BSL source code . it give the reference of the loadable boot loader BS_150S_14x.txt  .& it is in the hex format.

                                         also i want to know   the MSP430f5438 chip is support  such functionality?bcz while gone throuh the msp forum i read some problem regarding the MSP430f5438L while BSL programming? so it is fine with the MSP430f543L or i can use the MSP430f5438A?

                                          i read  slau 265c,slaa069d etc

       

                                       i want some help .

      slaa096d
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • BrandonElliott
      Posted by BrandonElliott
      on Sep 09 2009 10:05 AM
      Suggested Answer
      Genius13925 points

      A couple of quick notes on this:

      embedding ideas

      I wants to know ,from where i can take the basic BSL code ,so i can add my  code(modify the BSL) & compile it .then how can i load or burn it into t specific protected memory of the chip or can i place this compiled code any where in to the flash memory via jtag?

      ...

       in the slau265c in the ROM based BSL i doesn't found the BSL source code . it give the reference of the loadable boot loader BS_150S_14x.txt  .& it is in the hex format.

      1. The BSL Rom code is not publicly available.

      embedding ideas

        Explanation:   I want to add my code into the BSL code & place it into protected memory ,this programme contain  detection one switch .if it is in on condition  then it allow to  programme my flash & if it found to be in off condition then  it will exit the BSL routine & start at normal operation . so i need the BSL code to customize it as per my requirement.

      2. The 5xx BSL is designed to be customize-able, but a flash bug has prevented this until the MSP430F54xxA

      3. We have a report which can help you load your custom bootloader here:  Flash Monitor

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • embedding ideas
      Posted by embedding ideas
      on Sep 09 2009 11:03 AM
      Prodigy70 points

      thank you again...

      so it is not feasible to go with the msp430f54xx with customized BSL.......for my application.&

      it is better to wait for MSP430f5438A ?

      but flash monitor will give such security as i achieve from the BSL customized code for msp430f54xx?

       

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • old_cow_yellow
      Posted by old_cow_yellow
      on Sep 09 2009 14:48 PM
      Guru26485 points

      It is feasible to write customized BSL for MSP430F54xx rev.L. But you have to either (a) avoide the hardware bugs in that protected Flash, or (b) put your BSL in the Main Flash. There is no need to wait for MSP430F54xxA.

      Do you use c? If so, you do not want to have the source code for the TI MSP540F54xx BSL nor other ROM BSL.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • embedding ideas
      Posted by embedding ideas
      on Sep 10 2009 00:02 AM
      Prodigy70 points

      Thank  u old_cow_yellow,

       

      it means it is feasible to go for flash monitor programme ,  but for flash monitor programme require at least one integrated USART & msp54xx series have integrated UART? so it is feasible?

       

       

       

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • old_cow_yellow
      Posted by old_cow_yellow
      on Sep 10 2009 02:14 AM
      Guru26485 points

      Correct.

      In addition, all MSP430 chips have at least one Timer and Timer assisted software UART can be used for BSL.

      As a matter of fact, all TI ROM BSL and the current TI F54xx BSL all use Timer assisted software UART. TI also uses a trick so that a crystal is not required and the MSP430 will use the PC's transmission as a time reference.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • William Goh
      Posted by William Goh
      on Oct 09 2009 11:17 AM
      Genius12030 points

      In the near future, we will be releasing an app note specifically to design a custom BSL for 5xx devices.

      For now, the flash monitor app note will be your best point of support.

      William

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

      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.
    • Jef van de Molengraft
      Posted by Jef van de Molengraft
      on Dec 02 2009 19:52 PM
      Prodigy30 points

      I'm writing BSLcode in C (and maybe a little bit of inline assembly) for the MSP430 and will post the source code when I'm done.

      Cheers,

      Jef

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jef van de Molengraft
      Posted by Jef van de Molengraft
      on Dec 03 2009 16:51 PM
      Prodigy30 points
      RAM-Bootloader.zip

      Hi,

       

      I've programmed a very small bootloader that is ment to run from RAM, but it's easily relocated to flash segments. The source code (IAR Worbench 4.21 project) shows how to put code at a certain memory location (using a modified linker file). It also shows how to set the reset vector to another function than main(). (unsing a modified cstartup file).  I've also include documentation of the protocol.

      Hope this helps.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • lyn li
      Posted by lyn li
      on Aug 25 2010 01:45 AM
      Prodigy10 points

      Thank you very much!

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jens-Michael Gross
      Posted by Jens-Michael Gross
      on Aug 25 2010 07:10 AM
      Guru141810 points

      embedding ideas
      customize & programme the  BSL code for the msp430f5438  chip?


      Short answer: no. The 54xx series has no programmables BSL area. Only the 54xxA series has.

      embedding ideas
      what is the version of the BSL that i can load to the 5438

      on teh 5438A you can load any BSL you want. It has to fit into the area and needs to work based on existing hardware (for the serial BSLs, this is Port 1, which is available on every MSP) and must support the proper BSL entry sequence.

      I don't see any reason to upload a different version of BSL than the one that is already there, except there is a bugfixed version available (if so, there will be an installer for this very MSP version, which does the job for you) or you want to write your own BSL (then it is void to ask for an official 'version' of it).

      There are appnotes from TI dealing with usage of existing and programming of own BSLs as well as several (many) threads n this forum which deal with this topic.

      _____________________________________
      Before posting bug reports or ask for help, do at least quick scan over this article. It applies to any kind of problem reporting. On any forum. And/or look here.
      If you cannot discuss your problem in the public, feel free to start a private conversation: click on my name and then 'start conversation'. But please do so only if you really cannot do it in a public thread, as I usually read all threads. And I prefer to answer where others can profit from it (or contribute to it) too.

      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