OpenCores
URL https://opencores.org/ocsvn/openmsp430/openmsp430/trunk

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [doc/] [html/] [software_development_tools.html] - Diff between revs 72 and 100

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 72 Rev 100
Line 33... Line 33...
 
 
 
 
<a name="2. openmsp430-loader"></a>
<a name="2. openmsp430-loader"></a>
<h1>2. openmsp430-loader</h1>
<h1>2. openmsp430-loader</h1>
This simple program allows the user to load the openMSP430 program
This simple program allows the user to load the openMSP430 program
memory with an executable file (ELF format) provided as argument.<br>
memory with an executable file (ELF or Intel-HEX format) provided as argument.<br>
It is typically used in conjunction with '<b><i>make</i></b>' in order to automatically load the program after the compile step (see '<b><i>Makefile</i></b>' from software examples provided with the project's FPGA implementation).<br>
It is typically used in conjunction with '<b><i>make</i></b>' in order to automatically load the program after the compile step (see '<b><i>Makefile</i></b>' from software examples provided with the project's FPGA implementation).<br>
The program can be called with the following syntax:
The program can be called with the following syntax:
<br><br>
<br><br>
<table border="0" cellpadding="0" cellspacing="4">
<table border="0" cellpadding="0" cellspacing="4">
<tbody><tr>
<tbody><tr>
Line 46... Line 46...
<td bgcolor="#d0d0d0" width="3"><br>
<td bgcolor="#d0d0d0" width="3"><br>
</td>
</td>
<td width="15"><br>
<td width="15"><br>
</td>
</td>
<td>
<td>
        <code>openmsp430-loader.tcl [-device &lt;communication device&gt;] [-baudrate &lt;communication speed&gt;] &lt;elf-file&gt;
        <code>openmsp430-loader.tcl [-device &lt;communication device&gt;] [-baudrate &lt;communication speed&gt;] &lt;elf/ihex-file&gt;
<br><br>
<br><br>
Examples: openmsp430-loader.tcl -device /dev/ttyUSB0 -baudrate  9600  leds.elf<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;openmsp430-loader.tcl
Examples: openmsp430-loader.tcl -device /dev/ttyUSB0 -baudrate  9600  leds.elf<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;openmsp430-loader.tcl
-device COM2: -baudrate 38400 ta_uart.elf </code>
-device COM2: -baudrate 38400 ta_uart.ihex </code>
</td>
</td>
</tr>
</tr>
</tbody></table>
</tbody></table>
<br>
<br>
These screenshots show the script in action under Linux and Windows:
These screenshots show the script in action under Linux and Windows:
Line 64... Line 64...
<br>
<br>
<a name="3. openmsp430-minidebug"></a>
<a name="3. openmsp430-minidebug"></a>
<h1>3. openmsp430-minidebug</h1>
<h1>3. openmsp430-minidebug</h1>
This small program provides a minimalistic graphical interface enabling simple interaction with the openMSP430:
This small program provides a minimalistic graphical interface enabling simple interaction with the openMSP430:
<br><br>
<br><br>
<img src="getimg.php?1248897416" alt="openmsp430-minidebug" title="openmsp430-minidebug" width="65%">
<img src="usercontent,img,1297506385" alt="openmsp430-minidebug" title="openmsp430-minidebug" width="75%">
<br><br>
<br><br>
As you can see from the screenshot, it allows the following actions:
As you can see from the screenshot, it allows the following actions:
<ul>
<ul>
        <li><b><font color="#ff0000">(1)</font></b>&nbsp;&nbsp;Load the program memory with an ELF file</li>
        <li><b><font color="#ff0000">(1)</font></b>&nbsp;&nbsp;Connect to the openMSP430 Serial Debug Interface</li>
        <li><b><font color="#ff0000">(2)</font></b>&nbsp;&nbsp;Reset the CPU</li>
        <li><b><font color="#ff0000">(2)</font></b>&nbsp;&nbsp;Load the program memory with an ELF or Intel-HEX file</li>
        <li><b><font color="#ff0000">(3)</font></b>&nbsp;&nbsp;Stop/Start the program execution</li>
        <li><b><font color="#ff0000">(3)</font></b>&nbsp;&nbsp;Control the CPU: Reset, Stop, Start and Single-Step</li>
        <li><b><font color="#ff0000">(4)</font></b>&nbsp;&nbsp;Read/Write access of the CPU registers</li>
        <li><b><font color="#ff0000">(4)</font></b>&nbsp;&nbsp;Read/Write individual status bits</li>
        <li><b><font color="#ff0000">(5)</font></b>&nbsp;&nbsp;Read/Write access of the whole memory range (program, data, peripherals)</li>
        <li><b><font color="#ff0000">(5)</font></b>&nbsp;&nbsp;Read/Write access of the CPU registers</li>
 
        <li><b><font color="#ff0000">(6)</font></b>&nbsp;&nbsp;Read/Write access of the whole memory range (program, data, peripherals)</li>
 
        <li><b><font color="#ff0000">(7)</font></b>&nbsp;&nbsp;Source a custom external TCL script</li>
 
        <li><b><font color="#ff0000">(8)</font></b>&nbsp;&nbsp;Basic disassembled view of the loaded program (current PC location is highlighted in yellow)</li>
 
        <li><b><font color="#ff0000">(9)</font></b>&nbsp;&nbsp;Choose the disassembled view type</li>
</ul>
</ul>
 
 
<a name="4. openmsp430-gdbproxy"></a>
<a name="4. openmsp430-gdbproxy"></a>
<h1>4. openmsp430-gdbproxy</h1>
<h1>4. openmsp430-gdbproxy</h1>
The purpose of this program is to replace the '<b><i>msp430-gdbproxy</i></b>' utility provided by the mspgcc toolchain.<br>
The purpose of this program is to replace the '<b><i>msp430-gdbproxy</i></b>' utility provided by the mspgcc toolchain.<br>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.