Zynq UltraScale+ MPSoC Power Advantage Tool part 7 - Building and Running the MSP430 Design from Sources

The MSP430 (System Controller) is external to the Zynq, and has some code space for customer applications that need to completely turn off the Zynq. This
section describes how to build and run the Power Advantage Tool MSP430 code from sources.

Note: This code is being released as-is for your reference; and, because it does not run on Xilinx IP, it is not supported by Xilinx.



Table of Contents


MSP430 Code

1.1 Building the MSP430 Design

The steps to rebuild the MSP430 design from sources are as follows:
  • Follow the TI instructions to download and install the latest version of Code Composer Studio (CCS) from here. And set it up for MSP Ultra Low Power MCUs. Note: If you are behind a firewall, downloading an Off-line Installer version may avoid installation issues.
  • Code Composer Studio > Workspace: C:\zynqus\pwr\msp430 > OK
  • File > Import > Code Composer Studio > CCS Projects > Next > Select search-directory > C:\zynqus\pwr\msp430 > Check the Discovered project > Finish
  • Project > Build All

1.2 Running the MSP430 Design from JTAG Debugger

The steps to run the MSP430 design from the JTAG Debugger are as follows:
  • Plug MSP-FET JTAG cable in to MSP430 JTAG J92.
  • Code Composer Studio > Workspace: C:\zynqus\pwr > OK > Run > Debug

1.3 Running the MSP430 Design from Flash

The steps to run the MSP430 design from Flash are as follows:
  • Plug MSP-FET JTAG cable in to MSP430 JTAG J92.
  • Code Composer Studio > Workspace: C:\zynqus\pwr > OK > Run > Debug
  • You may now unplug your Debug cable and power cycle the board.
Note: This first instruction is the same as running from the debugger, as the Debugger Flashes the code.

1.4 Deploying the MSP430 Design as a txt file

The steps to deploy the MSP430 design as a txt file are as follows:
  • Plug MSP-FET JTAG cable in to MSP430 JTAG J92.
  • Install the latest version of MSP430Flasher from http://www.ti.com/tool/msp430-flasher (currently MSP430Flasher_1.3.7)
  • From a Windows CMD prompt > cd C:\ti\MSP430Flasher_1.3.7 > MSP430Flasher -n MSP430F5342 -r [DATECODE_ZCU102_MSP430.txt,MAIN] This .txt file is typically named such that it can be flashed by C:\ZynqUS_Demos\tools\FlashMSP430.bat

1.5 Flashing the MSP430 Design from a txt file with an MSP-FET JTAG cable

The steps to flash the MSP430 design from a txt file are as follows:
  • Plug MSP-FET JTAG cable in to MSP430 JTAG J92.
  • Install the latest version of MSP430Flasher from http://www.ti.com/tool/msp430-flasher (currently MSP430Flasher_1.3.7)
  • From a Windows CMD prompt > cd C:\ti\MSP430Flasher_1.3.7 > MSP430Flasher.exe -w "DATECODE_ZCU102_MSP430.txt" -v -g -z [VCC=3300] (-i USB) (-e ERASE_ALL) This command is scripted in the batch file C:\ZynqUS_Demos\tools\FlashMSP430.bat For additional information, please refer to Power Advantage Tool MSP430 Theory of Operation.pdf

1.6 Flashing the MSP430 Design from a txt file without an MSP-FET JTAG cable

The steps to flash the MSP430 design from a txt file are as follows:
  • [Instructions TBD].

Related Links

Home Previous Next

© Copyright 2019 - 2022 Xilinx Inc. Privacy Policy