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.
Info |
---|
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. |
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
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
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.
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
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
The steps to flash the MSP430 design from a txt file are as follows:
Home Previous Next