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 소켓 EV 보드 전체 데이터 시트
(PDF, 496kB)

자동 업데이트
관심 분야의 애플리케이션 노트가 나올 때 자동으로 업데이트를 원하십니까? 그렇다면 EE-Mail™을 신청하십시오.


We Want Your Feedback!



의견을 보내주세요!
위 내용이 도움이 되셨나요?
여러분의 의견을 기다립니다 — Maxim은 보내주신 정정이나 제안사항을 반영하고 있습니다. 이 페이지를 평가하고 의견을 보내주십시오.

 

다운로드, PDF 형식다운로드, PDF 형식 (26kB)
 AN614, AN 614, APP614, Appnote614, Appnote 614

        •         •         •     개인정보보호 정책     •     법적 고지

    Copyright © 2009 by Maxim Integrated Products