As of August 2020 the site you are on (wiki.newae.com) is deprecated, and content is now at rtfm.newae.com.

Changes

Jump to: navigation, search

Building for XMEGA

43 bytes added, 13:33, 25 February 2019
no edit summary
<ol style="list-style-type: decimal;">
<li>We want to use the existing SimpleSerial firmware as a base for our project, but we don't want to edit the existing firmware. Instead, we'll make a new project with a copy of this firmware. Copy the directory of the firmware you want to modify in the <code>chipwhisperer/hardware/vicitims/firmware</code> to a new folder. '''The folder you copy will depend on what tutorial you're doing. Typically, the firmware you want to use is listed above the "Building for ..." drop down menusin this wiki.''' The name is arbitrary, but for this example, we'll call it <code>simpleserial-baseLAB-SPECIFIC-lab1FOLDER</code> (though depending on what firmware and tutorial you're working off of, you may want to call it something different). You must keep it in the same directory, as it will reference other files within that directory for the build process.
</li>
<li>Open a terminal with avr-gcc in the path. If using Windows the sidebar on the [[Installing_ChipWhisperer]] page - you can either add WinAVR to your system path, or you can run the 'winavr.bat' file suggested.
</li>
<li><p>Change the terminal to the newly copied directory. For example:</p>
Windows:<pre>cd c:\chipwhisperer\hardware\victims\firmware\simpleserial-baseLAB-lab1SPECIFIC-FOLDER</pre>Linux/macOS:<pre>cd chipwhisperer/hardware/victims/firmware/simpleserial-baseLAB-SPECIFIC-lab1FOLDER</pre></li>
<li><p>Then, run <code>make</code> to build the system. Make sure you specify which platform you're using as your target. For example, for the ChipWhisperer Lite target, run</p>
<pre>make PLATFORM=CW303</pre>
Approved_users, bureaucrat, administrator
1,956
edits

Navigation menu