This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

大神们,可否提供一下参考设计PMP4496中的MSP430G2332单片机程序。

Other Parts Discussed in Thread: MSP430G2332, PMP4496, MSP430TCH5E

如题,小弟刚接触电路不久,参照PMP4496 中的设计,成功地完成PCB 以及贴片的工作,接上电池后发现 ,板子并不工作,MSP430G2332 中缺少程序。求各位大神老师,可否为小弟提供一下,感激不尽。rindybin@126.com

  • Please refer to the demo code attached. Reminder, it's only for reference, please revise it before you release it to production.

    By the way, please build “Release Version”, otherwise would fail due to not enough code space.

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

    DISCLAIMERS 

    Export Control Classification Number (ECCN) 

    Any use of ECCNs listed in the Manifest is at the user’s risk and without recourse to TI.   Your company, as the exporter of record, is responsible for determining the correct classification of any item at the time of export. Any export classification by TI of Software is for TI’s internal use only and shall not be construed as a representation or warranty regarding the proper export classification for such Software or whether an export license or other documentation is required for exporting such Software. 

     Links in the Manifest

     Any links appearing on this Manifest (for example in the “Obtained from” field) were verified at the time the Manifest was created. TI makes no guarantee that any listed links will remain active in the future.

     Open Source License References

     Your company is responsible for confirming the applicable license terms for any open source Software listed in this Manifest that was not “Obtained from” TI.  Any open source license specified in this Manifest for Software that was not “Obtained from” TI is for TI’s internal use only and shall not be construed as a representation or warranty regarding the proper open source license terms for such Software.

       

    Export Information

     ECCN for Software included in this release:  Publicly Available

     ECCN for Technology (e.g., user documentation, specifications) included in this release:  Publicly Available

     Manifest

     See Legend above for a description of the columns and possible values. 

    Software Name 

    Version 

    License Type

     Delivered

     As

     Modified by

     TI

     MSP430TCH5E_Code_Examples

     1_00_00_00

     BSD_EX

     Source

     Texas Instruments

     Location

       [installed path]/MSP430TCH5E_Code_Examples

     Obtained from

     Texas Instruments

     Credits

     Licenses

    Copyright (c) 2013, Texas Instruments Incorporated

     All rights reserved.

     

    Redistribution and use in source and binary forms, with or without

     modification, are permitted provided that the following conditions

     are met:

     

    * Redistributions of source code must retain the above copyright

     notice, this list of conditions and the following disclaimer.

     

    * Redistributions in binary form must reproduce the above copyright

     notice, this list of conditions and the following disclaimer in the

     documentation and/or other materials provided with the distribution.

     

    * Neither the name of Texas Instruments Incorporated nor the names of

     its contributors may be used to endorse or promote products derived

     from this software without specific prior written permission.

     

    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"

     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,

     THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR

     PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR

     CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,

     EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,

     PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;

     OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,

     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR

     OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,

     EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

     

    ******************************************************************************

     

    MSP430 CODE EXAMPLE DISCLAIMER

     

    MSP430 code examples are self-contained low-level programs that typically

     demonstrate a single peripheral function or device feature in a highly

     concise manner. For this the code may rely on the device's power-on default

     register values and settings such as the clock configuration and care must

     be taken when combining code from several examples to avoid potential side

     effects. Also see www.ti.com/grace for a GUI- and www.ti.com/msp430ware

     for an API functional library-approach to peripheral configuration.

     

  • 老师你好,我用CCS 7 打开4496项目 ,编译的时候发现program will not fit inti available memory ,是我用的编译器版本太高 ,还是真的代码量太多?

  • 老师你好,我用CCS 7 打开4496项目 ,编译的时候发现program will not fit inti available memory ,是我用的编译器版本太高 ,还是真的代码量太多?

  • 编译时请选择 “Release Version”, 否则显示内存不够。

  • 感谢,是在CCS中设置,还是代码需要重新编写

  • 在CCS项目设置,Build Configuration -->Set Active --> 2 Release.

  • 感谢,已经设好Release ,.text不报错 ,现在 .cinit 、 .const 都是说内存不足,