Page 2
E-mail (marketing department): marketing@softecmicro.com E-mail (technical support): support@softecmicro.com Web: http://www.softecmicro.com Important SofTec Microsystems reserves the right to make improvements to the inDART Series ® In-Circuit Debuggers, their documentation and software routines, without notice. Information in this manual is intended to be accurate and reliable. However, SofTec Microsystems assumes no responsibility for its use;...
Programming Capabilities DataBlaze Programming Utility 4. Troubleshooting Common Problems and Solutions Communication can’t be established with inDART-STX A communication error is returned on a program execution command (Run, Continue, Step, etc.) The program execution stops at the beginning of user’s code...
Page 4
Contents Appendix A. Electrical and Physical Specifications...
Full-speed program execution allows you to perform hardware and software testing in real time. inDART-STX is connected to the host PC through a USB port, while the 10-pin probe of the product fits into the target's standard ISP connector.
The ISP feature can be implemented with a minimum number of added components and board area impact. inDART-STX uses the standard, 10-pin ST7 ISP connector to program and in- circuit emulate the target device. You must therefore provide such connector (see the diagram below) on your target board.
Page 7
§ : Device power supply voltage. This voltage is provided by the target board to inDART-STX, which in turn uses it to properly generate the ICCDATA, ICCCLK, OSC_CLK and RESET signal voltage levels. Note: if the RESET, ICCCLK or ICCDATA lines are used for other purposes in the application, a serial resistor has to be implemented to avoid a conflict in case one of the other devices forces the signal level.
1. Overview Note: as soon as inDART-STX is plugged to the target board the ICCCLK and ICCDATA lines are not available for the application. Demo Boards On Design Kit packages, a full-featured, microcontroller-specific experiment board is also included. The demo board can be used for evaluation/experiments in the absence of a target application board.
It’s available in PDF version and can be accessed from the inDART-STX user interface. Software Upgrades The latest version of the inDART-STX user interface is available for free at our download page on the web: http://www.softecmicro.com/download.html. Page 9...
User's Manual 2. Getting Started inDART-STX Components The inDART-STX package includes the following items: The inDART-STX in-circuit debugger/programmer unit; 2. A 20-cm, 10-conductor ISP cable; 3. An USB cable; 4. The inDART-STX “System Software” CD-ROM; 5. This user’s manual;...
2. Getting Started Host System Requirements The inDART-STX in-circuit debugger is controlled by a PC user interface running under Windows. The following hardware and software is required to run the inDART-STX user interface: A PC compatible system running Windows 98, Windows Me, Windows 2000 or Windows XP;...
Windows will automatically recognize the instrument and will load the appropriate USB driver. 4. Insert one end of the ISP cable into the ISP connector on the inDART-STX board. 5. Insert the other end of the ISP cable into the ISP connector of the demo board or target application.
Note: both Windows 2000 and Windows XP may issue a warning the first time inDART-STX is connected to the PC. This warning is related to the fact that the USB driver used by inDART-STX is not digitally signed by Microsoft, and Windows considers it to be potentially malfunctioning or dangerous for the system.
Page 15
The sample application configures the A/D peripheral to convert on the A/D channel connected to the potentiometer and displays the results on the LEDs. Ensure that inDART-STX is connected to the PC (via the USB cable), to the § demo board (via the ISP) connector, and that the demo board is powered Make sure that the “CLKIN SEL”...
Page 16
§ From the main menu, select Debug > Run. The program will be executed in real-time. Please note that the “BUSY” LED on the inDART-STX unit turns on. By rotating the potentiometer on the demo board, you affect the Page 16...
Page 17
LEDs. Congratulations! You have successfully completed this tutorial! You can continue to experiment with the inDART-STX user interface and discover by your own its potentialities. For an in-depth guide of all of the user interface features, select Help >...
User's Manual 3. inDART-STX Operations inDART-STX Working Principles inDART-STX is an in-circuit debugger as well as a programming tool. It programs files into the ST72F microcontrollers and offers debugging features like real-time code execution, stepping, and breakpoint. Its debugging features are achieved thanks to either: §...
3. inDART-STX Operations inDART-STX Working Principle Limitations Since inDART-STX is based on the ISP feature of the ST72F family of microcontrollers, some on-chip resources are wasted for debugging purposes. In particular, during debugging the ICCDATA and ICCCLK lines are always reserved for emulation purposes.
User's Manual The MCU Configuration Dialog Box inDART Model Settings First of all, verify that the inDART model corresponds to “inDART-STX”. The “Settings” button then allows you to set up detailed parameters used by inDART-STX to perform its debugging activities.
Page 22
The “ICC Mode Entry” section is common to most devices. It allows you § to specify how inDART-STX will enter the ICC mode. You can choose to use the Option Bytes programmed into the device or to bypass them and use the Option Bytes default value instead (the value that would be used if the device is blank).
The “Embedded Command Frequency” parameter, if available, is § used by inDART-STX to properly configure some of the target on-chip resources. By default, set this parameter to 1. If programming errors are detected, this parameter must be increased by steps of 1 up to fCPU to increase the programming pulse.
Programming Capabilities inDART-STX features In-Circuit Programming (ISP) capabilities. A programming utility is built-in in the inDART-STX user interface. When in Debugging mode, the Tools > Program command in the main menu is enabled, and allows you to program the target microcontroller with your target application code but without any debugging code (that is, the monitor is not programmed—only the application is programmed).
Page 25
User's Manual The Program Dialog Box Clear Read-Out Protection. Clears the Read-Out Protection bit. Check § this programming step when you are programming a device which has been programmed with the Read-Out Protection bit set. Erase Device. Erases the entire Code memory area.
Communication can’t be established with inDART-STX Make sure the inDART-STX in-circuit debugger is connected to the PC and powered on. inDART-STX is powered by the USB connection. 2. Make sure you are working with the correct inDART hardware model. To view/change the inDART hardware model in use, choose Tools >...
Diagnostic Test inDART-STX has built-in self-test capabilities. This means that you can verify by yourself, at any time, the correct operation of the instrument’s hardware. The diagnostic test is accessible through a small, separate test utility. To perform the diagnostic test: Start the inDART-STX diagnostic test utility by selecting Start >...
Before to get in contact with us we suggest you, however, to visit our online FAQ section and to be sure you are working with the latest version of the inDART-STX user interface (upgrades are available for free at http://www.softecmicro.com/download.html).
User's Manual Appendix A. Electrical and Physical Specifications Operating Voltage 5 V DC (provided by the USB connection) Power Consumption 150 mA (max) Range (Operating Target 1.8 V to 5.5 V Voltage Supplied to V Line) (Current Drawn from the...
Need help?
Do you have a question about the inDART-STX and is the answer not in the manual?
Questions and answers