ENGLISH 简体中文 日本語 한국어  



   
 
キーワードまたは型番を入力    




アプリケーションノート 614

Diagnostic Port for the TINIs400

Abstract: The TINIs400 socket board has a diagnostic port option for diagnostic messages. This debug port (connected to port pin P5.2) is a write-only pseudoserial port and does not use any of the serial ports of the TINI400 system. This application note describes how to connect the debug port to a PC and how to use the port to display debug messages from TINI®.

Introduction

The TINIs400 socket board has a debug port option for diagnostic messages. This debug port (connected to port pin P5.2) is a write-only pseudoserial port and does not use any of the serial ports of the TINI400 system. The debug port is shared with the status LED on the TINIm400, so the LED flickers when the debug port is used.

Introduction

Verify that the TINIs400 is configured with Q1 (BSS84), R3 (10k), and J6 (3-pin connector). This is the standard configuration on most TINIs400 socket boards.

Then, connect the diagnostic port J6 to the PC:

Figure 1. TINIs400 diagnostic port connection.
Figure 1.

On the PC, the signal names are: RX = 2, TX = 3, GND = 5.

To display the debug messages on the PC, you can use JavaKit or any other terminal program set to 115200, 8N1.

Debug Class

Add calls to the methods com.dalsemi.system.Debug.dump* to your application. Avoid dynamically allocating strings, as this will consume memory every time you print a debug message. Since writing to the debug port slows down the application, dumping single (hex) bytes is preferred, especially when the dump code is part of a loop.

The following example prints a string to the debug port:
com.dalsemi.system.Debug.dump("This should not happen (my fault)");

TINI400 Runtime

As a final step, load tini_debug_400.tbin instead of tini_400.tbin. You can switch between these two firmware versions without clearing the heap/file system.

Version Notice

This application note describes version 1.11 of the TINI400 runtime environment.

More Information

Details of the TINI Platform are on our website, www.maxim-ic.com/TINI. The TINI Specification and Developer's Guide is an invaluable resource when developing with the TINI platform, and can be downloaded from the Maxim website. Application Notes 612 and 708 are guides to getting started with the DS80C400-based TINI modules.



TINI is a registered trademark of Maxim Integrated Products, Inc.


関連製品  APP 614: Apr 16, 2003
DS80C400 ネットワークマイクロコントローラ フルデータシート
(PDF, 1.8MB)
無料
サンプル
DSTINIS400 DSTINIs400/DSTINIs-00xソケットの評価ボード フルデータシート
(PDF, 496kB)

自動アップデート
お客様が関心のある分野でアプリケーションノートが新規に掲載された際に自動通知Eメールの受信を希望する場合は、EE-Mail™にご登録ください。


We Want Your Feedback!



フィードバックをお寄せください。
内容に満足されましたか、あるいは満足されていませんか?もっと良いページにできると思いますか?あるいは、単なるコメントでも結構です。フィードバックをお待ちしています。—マキシムはお客様からいただく訂正、提案を元に改善していきます。 このページを評価し、フィードバックを送信する。

 

ダウンロード、PDFフォーマットダウンロード、PDFフォーマット(26kB)
 AN614, AN 614, APP614, Appnote614, Appnote 614

        •         •         •     プライバシーポリシー     •     法的お知らせ

    Copyright © 2009 by Maxim Integrated Products