http://socialledge.com/sjsu/index.php?title=VM_Development_Package&feed=atom&action=historyVM Development Package - Revision history2024-03-29T01:07:13ZRevision history for this page on the wikiMediaWiki 1.27.1http://socialledge.com/sjsu/index.php?title=VM_Development_Package&diff=48645&oldid=prevPreet at 04:28, 30 August 20182018-08-30T04:28:29Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 04:28, 30 August 2018</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l36" >Line 36:</td>
<td colspan="2" class="diff-lineno">Line 36:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>**  Note that this assumes your serial port is at '''/dev/ttyUSB0'''</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>**  Note that this assumes your serial port is at '''/dev/ttyUSB0'''</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>**  If the assumptions above are not true, you can edit the '''run_flash''' file</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>**  If the assumptions above are not true, you can edit the '''run_flash''' file</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">=== Be an Engineer ===</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* Figure out how to use '''Minicom''' on your own</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">** This will let you open up the serial port and interact with your board and see the Board's output data from printf()</ins></div></td></tr>
</table>Preethttp://socialledge.com/sjsu/index.php?title=VM_Development_Package&diff=48644&oldid=prevPreet at 04:27, 30 August 20182018-08-30T04:27:13Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 04:27, 30 August 2018</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l24" >Line 24:</td>
<td colspan="2" class="diff-lineno">Line 24:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*  Start your Ubuntu OS</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*  Start your Ubuntu OS</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*  Plugin your USB cable to the board and ensure your board has power</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*  Plugin your USB cable to the board and ensure your board has power</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>*  After the system boots, go to '''Devices''' on VirtualBox menu, then '''USB<del class="diffchange diffchange-inline">" </del>and select the USB board to virtually plug into the VM</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>*  After the system boots, go to '''Devices''' on VirtualBox menu, then '''USB<ins class="diffchange diffchange-inline">''' </ins>and select the USB board to virtually plug into the VM</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>=== Use Development Environment ===</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>=== Use Development Environment ===</div></td></tr>
</table>Preethttp://socialledge.com/sjsu/index.php?title=VM_Development_Package&diff=48643&oldid=prevPreet at 04:26, 30 August 20182018-08-30T04:26:12Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 04:26, 30 August 2018</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>=== Download ===</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>=== Download ===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*  [https://sourceforge.net/projects/armdevpkg/files/virtualbox_experimental Download this virtual hard disk] file from Sourceforge</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*  [https://sourceforge.net/projects/armdevpkg/files/virtualbox_experimental Download this virtual hard disk] file from Sourceforge</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>*  Unzip the virtual hard disk to somewhere safe and permanent, such as '''C:/Documents/sjsu_vm/<del class="diffchange diffchange-inline">```</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>*  Unzip the virtual hard disk to somewhere safe and permanent, such as '''C:/Documents/sjsu_vm/<ins class="diffchange diffchange-inline">'''</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>=== Setup VM on VirtualBox ===</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>=== Setup VM on VirtualBox ===</div></td></tr>
</table>Preethttp://socialledge.com/sjsu/index.php?title=VM_Development_Package&diff=48642&oldid=prevPreet: Created page with "=== Download === * [https://sourceforge.net/projects/armdevpkg/files/virtualbox_experimental Download this virtual hard disk] file from Sourceforge * Unzip the virtual hard..."2018-08-30T04:25:57Z<p>Created page with "=== Download === * [https://sourceforge.net/projects/armdevpkg/files/virtualbox_experimental Download this virtual hard disk] file from Sourceforge * Unzip the virtual hard..."</p>
<p><b>New page</b></p><div>=== Download ===<br />
* [https://sourceforge.net/projects/armdevpkg/files/virtualbox_experimental Download this virtual hard disk] file from Sourceforge<br />
* Unzip the virtual hard disk to somewhere safe and permanent, such as '''C:/Documents/sjsu_vm/```<br />
<br />
=== Setup VM on VirtualBox ===<br />
* Download and install '''VirtualBox''' for your operating system (Windows, MacOS etc.)<br />
* Install and run '''VirtualBox'''<br />
* Click on '''NEW'''<br />
* Give your VM (virtual machine) a name<br />
* Select the '''Type''' as '''Linux'''<br />
* Select '''Version''' as '''Ubuntu (64-bit)''' and click '''Continue'''<br />
* Choose 2560 or more MB of RAM and click '''Continue'''<br />
* Choose '''Use an existing virtual hard disk file''' and browse to the VM disk you downloaded, and then click '''Create'''<br />
<br />
=== Configure VM ===<br />
* Click on the VM you created in VirtualBox, then click '''Settings'''<br />
* Go to '''Advanced''' and under '''Shared Clipboard''', select '''Bidirectional'''<br />
* Click on '''System''' and ensure 2560 Mbytes (2.5 GBytes) or greater RAM (assuming your laptop has at least 8 Gbytes or so<br />
* If your system allows, use 2 CPUs under '''Processor'''<br />
* Under '''Display''' use '''128Mbytes''' of RAM<br />
* Under '''Audio''', de-select to disable Audio<br />
<br />
=== Setup COM port on VM ===<br />
* Start your Ubuntu OS<br />
* Plugin your USB cable to the board and ensure your board has power<br />
* After the system boots, go to '''Devices''' on VirtualBox menu, then '''USB" and select the USB board to virtually plug into the VM<br />
<br />
=== Use Development Environment ===<br />
* Open the '''SJSU_dev''' folder when the Ubuntu VM boots<br />
* Double click on '''run_eclipse''' to start Eclipse IDE<br />
* Develop your code and hit '''Ctrl + B''' to compile in Eclipse<br />
** Ensure the program has compiled successfully<br />
* Right click anywhere (but not on a file) in '''SJSU_dev''' folder and then click on '''Open terminal'''<br />
* Type '''sudo ./run_flash''' to program the compiled HEX file to the board<br />
** Note that this assumes you have a file built at '''projects/lpc1758_freertos/_build/lpc1758_freertos.hex'''<br />
** Note that this assumes your serial port is at '''/dev/ttyUSB0'''<br />
** If the assumptions above are not true, you can edit the '''run_flash''' file</div>Preet