The first release of the debugging tools contain enough to write simple tool applications. The program provides a few controls, such as the ability to halt, resume or reset the core. To obtain a complete distribution, make sure to download and install the latest version 8. If the register has bit fields defined for it, then it may also be expanded to show the values of the fields. This is accomplished by a set of Tcl packages:
|Date Added:||13 June 2011|
|File Size:||50.60 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
If the register has bit fields defined for it, then it may also be expanded to show the values of the fields. The first release of the debugging tools contain enough to write simple tool applications. This program is a ftdl, interactive GUI program that presents the hardware blocks and registers in a hierarchy.
Note that is its possible to browse the registers without halting the core and when program first connects to a target it does not automatically halt the core. The second application is called lm3sBrowser and is a interactive GUI program to read and display the values of the core registers and some Stellaris peripheral registers. The dbgreg package needs some additional work to define all the registers for LM3S peripherals.
At this point this is a simple program that only reads registers when they are selected and no writing is supported. The program provides a few controls, such as the ability to halt, resume or reset the core.
This program could be enhanced in a number of ways, such as being able to browse the non-automatic variables of a running program by reading the symbol table from the ELF file via the elf2ral package.
The program lm3sBrowser is also delivered as a Tcl Starpack.
To obtain a complete distribution, make sure to download and install the latest version 8. In addition to these packages which form a scripting base, two application programs are available. The package contains a complete set of register definitions for the Cortex-M3 defined registers, but only the System Control and Flash Control peripheral blocks are currently defined for the Stellaris chips.
The dbgreg package also depends on TclRAL to store its internal database that maps symbolic register names to physical addresses and you will need to obtain that if you wish to use lumonary package.
Since memory and registers can be read while the Cortex-M3 core is running, even this simple scripting capability is useful for probing, testing and automation purposes. Selecting a block expands the registers and selecting a register will read its value from via the debug port.
Source is available via CVS. I suggest that the easiest way to have a complete version 8.
This is accomplished by a set of Tcl packages: The ftd2chan package is a Tcl channel driver and is thus written in “C” and is delivered in compiled form for x86 Linux. The following drawing shows the schema of the internal database used by the dbgreg package. The first application is called lm3sFlasher and is a program that will burn an ELF executable file into the flash memory of an LM3S chip.