Replaced content with "== Page Moved == See [https://rtfm.newae.com/Targets/UFO%20Targets/CW308T-MSP430 NewAE RTFM Page] which is now built from the [https://github.com/newaetech/chipwhisperer-..."
{{Warningbox|This is a BETA target and not yet available. This wiki page will continue to be updated until release. Gerbers are available in the GIT repo if you live dangerously. }}== Page Moved ==
{{Infobox cw308target|name = CW308T-MSP430FR5|image = FileSee [https:msp430fr5xxx_target//rtfm.jpg|caption = |Target Device = TI MSP430FR5{8newae.com/9}69|Target Architecture = 16Targets/UFO%20Targets/CW308T-bit Harvard|Hardware Crypto = Possible|Purchase Hardware = |Design Files = MSP430 NewAE RTFM Page] which is now built from the [https://github.com/newaetech/chipwhisperer/tree/master/hardware/victims/cw308_ufo_target/msp430 GITHub link-target-cw308t GIT Repo]|Supported Applications =|Programmer = TI MSP Programmer|Status = Released}}.
== Hardware Description ==This target board is designed to experiment with the MSP430FR5969 (which has hardware AES), and MSP430FR5869 (without hardware AES). The same footprint can be used with both parts - the MSP430FR5869 has the advantage of being easier to export due to a lack of cryptographic modules present.The device can be programmed with an external programmer using JTAG or Spy-Bi-Wire, or from the ChipWhisperer software using the serial BSL (Bootstrap Loader). Using BSL requires an entry sequence that can be generated by ChipWhisperer-Capture hardware.== Side Channel Attacks ==Many considerations of side-channel attacks previous content on the MSP430FR5969 have been presented by Amir Moradi and Gesine Hinterwalder in their paper [https://eprint.iacr.org/2015/199.pdf Side-Channel Security Analysis of Ultra-Low-Power FRAM-based MCUs], which was presented at [http://link.springer.com/chapter/10.1007%2F978-3-319-21476-4_16 COSADE 2015]. This includes considerations on the architecture of these devices, and also presents an attack against the hardware AES peripheral. The hardware attack this wiki has not yet been replicated on the ChipWhisperer-Lite hardware, but this section will be updated once that occurs.==Build Environment==The examples are designed moved to be built with GCC for the MSP430 (msp430-elf-gcc)above link. You can download a build of GCC from [http://www.ti.com/tool/msp430-gcc-opensource TI's website], although See wiki history if you may also have a build from another location. Downloading from TI will require registering & agreeing would like to some export control conditions. The following assumes you have installed this version view exact older versions of GCC.If you want to use an external programmer, you can also download a [http://www.ti.com/tool/msp430-flasher Command-Line MSP430Flasher program].=== Include File Location ===Currently, the provided GCC does not seem to add the MSP430 header files as a default include location. Instead you must specify the location of these files in the Makefile - on Windows for example this defaults to <code>C:\ti\msp430_gcc\include</code> . You will see one of the first lines of the Makefile specifies this path: INC_PATH = C:/ti/msp430_gcc/include/=== Batch File for Building ===When running make, you'll need to have the msp430-gcc files on your system path. Rather than modifying your path, you may wish to make a batch file with the path on it. For Windows you can call this file <code>tigcc.bat</code>, and for example the following shows including both GCC and the flasher program: set PATH=%PATH%;C:\ti\msp430_gcc\bin;C:\ti\MSPFlasher_1.3.10<br> cmdDouble-clicking on this file should give you a command prompt which now has tools like <code>make</code> and <code>msp430-elf-gcc</code> in the path:[[File:msp430_cmd_make.png|600px]]== Example Projects ==== Using JTAG Programmer ==The ChipWhisperer does not contain a JTAG programmer, but you can use any MSP430 programmer instead. If you don't already have one, a cheap/easy solution is to purchase a MSP-EXP430FR5969 which is TI's MSP430FR5969 development kit. It contains an integrated debugger/programmer which uses the 2-wire JTAG protocol.To interface to the chip, remove the jumpers connecting to the target section labeled RST and TST. Then using jumper wires connect these to SBWTDIO and SBWTCLK respectively, as shown here (also be sure to connect a ground reference):Note if using the MSP430-BSL target on the ChipWhisperer-Lite it will control the RST/TST lines as well, so you'll have to tristate those lines from the ChipWhisperer-Lite.== Schematic ==NOTE: Schematic is marked as unapproved until hardware has been fully validated.[[File:CW308T_MSP430FR5xxx_Schematic.png|1000px]]See GIT Repo for PDF of schematic.== Board Layout ==See GIT Repo for gerber filespage. == Hardware =={{Template:Hardware}}[[Category: CW308 Targets]]