Renesas H8S2215Rの取扱説明書

26ページ 0.71 mb
ダウンロード

ページに移動 of 26

Summary
  • Renesas H8S2215R - page 1

    REG10J0023-0100 Renesas Starter Kit RSK H8S2215R Tutorial Manual RENESAS SINGLE-CHIP MICROCOMPUTER Rev .1.00 Renesas T echnology Europe Ltd. Revision date 12.01.2007 www .renesas.com ...

  • Renesas H8S2215R - page 2

    T able of Content s Chapter 1. Preface .................................................................................................................................................. 3 Chapter 2. Introduction .......................................................................................................................................... ...

  • Renesas H8S2215R - page 3

    Chapter 1. Preface Cautions This document may be, wholly or partially, subject to change without notice. All rights reserved. No one is permitted to reproduce or duplicate, in any form, a part or this entire document without the wri tten permission of Renesas Technology Europe Limited. Trademarks All brand or product names used in this manual are t ...

  • Renesas H8S2215R - page 4

    Chapter 2. Introduction This manual is designed to answer, in tutorial form, the most common questions asked about using a Renesas Starter Kit (RSK): T he tutorials help explain the following: • How do I compile, link, download, and run a simple program on the RSK? • How do I build an embedded application? • How do I use Renesas’ tools? The ...

  • Renesas H8S2215R - page 5

    Chapter 3. T utorial Project Wo rksp ace The workspace includes all of the files for two build configurat ions. The tutorial code is common to both the Debug and the Rel ease build configurations. The tutorial is designed to show how c ode can be written, debugged then downloaded without the debug monitor in a ‘Release’ situation. The build con ...

  • Renesas H8S2215R - page 6

    Chapter 4. Project W orkspace 4.1. Introduction HEW is an integrated development tool that allows the user to write, compile, program and debug a software project on any of th e Renesas Microcontrollers. HEW will have been installed during the software installation for the RSK product. To begin using the RSK, this manual will describe the st ages r ...

  • Renesas H8S2215R - page 7

    • Click OK to start the RSK Project Generator wizard. The next dialog presents the example projects available. Choose the Tutorial code which will be explained later in this manual. There is also an option for Sample code which provide s examples for using various peripherals. This will open a new dialog allowing the se lection of many code examp ...

  • Renesas H8S2215R - page 8

    Chapter 5. Building the T utorial Project The tutorial project build settings have been pre-configured in the tool-chain options. To view the tool chain options select t he ‘Build’ Menu item and the relevant tool-chain. This shoul d be the first option(s) on the drop down menu. The dialog that is displayed will be specific to the selected tool- ...

  • Renesas H8S2215R - page 9

    5.2. Connecting the debugger For this tutorial it is not necessary to provide an external power supply to the board, the pow er will be provided by the E8 fr om the USB port. Please be aware that if you have too many devices connected to your USB port it may be shut down by Windows. If this happens re move some devices and try again. Alternatively ...

  • Renesas H8S2215R - page 10

    • Select the Device on the RSK from the drop down list. • In the sub pane, select the kernel version that ends in ‘.RSK’. • Press <Next>. If you have copied the kernel to another location to modify for a different crystal frequency, the device will not be listed in the sub pane. In this case: • Press <Other…> and navigate ...

  • Renesas H8S2215R - page 11

    • Ensure that ‘USER Program Mode’ is selected. • Confirm that ‘Use Default’ is selected. • Press <Next>. • Confirm the default selections of ‘Automatic’ and ‘Advanced’. • Press <Next>. • The following warning dialog will be displayed. • Press <OK>. To communicate with the RSK FDT and HMon need to be a ...

  • Renesas H8S2215R - page 12

    Damage to the microcontr oller can be sustained with incorrect settings. • Confirm the mode pin settings. • Press <Next>. • The following warning dialog will be displayed. • Press <OK>. Damage to the microcontr oller can be sustained with incorrect settings. • Confirm the mode pin settings. • Press <Finish>. The Flash ...

  • Renesas H8S2215R - page 13

    5.3.1. Connecting To HMon We can now attempt to connect to the target device. • Press the Green ‘Connect’ Icon. HMon is able to discover the internal flash configuration of t he device from the FDT kernel we configured earlier. HMon also ne eds information on the location of the IO registers and internal / exte rnal RAM. This information is s ...

  • Renesas H8S2215R - page 14

    • Confirm the settings shown and press <OK>. HMon will attempt to connect to the RSK. If it succeeds then the Output window in HEW will show the ‘Connected’ message. In thi s case please proceed to Chapter 6 . If the connection fails you will be returned to the previous dialog wit h the ‘Abort’ button enabled. This is likely to be c ...

  • Renesas H8S2215R - page 15

    • Ensure ‘0x000D – 1 [Closed]’ is selected and click <OK>. On completion of the download HMon will automatically re-connect to the monitor and revert back to User programming mode. 15 ...

  • Renesas H8S2215R - page 16

    Chapter 6. Downloading and Running the T utorial Once the code has been built in HEW it needs to be downloaded to the RSK. Now that you are connected to the target you should see an additional category in the workspace view called ‘Download Modules’ • Right click on the download module listed and select ‘Download’ The download options dia ...

  • Renesas H8S2215R - page 17

    We will now skip over the initialisation code and proceed to the main tutorial. • Open the file called ‘resetprg.c’ by double clicking it in the project navigator. • Place a breakpoint at the call to main(); by double clicking in the column containing the PC arrow, next to the line to break at; or selecting the line and pressing F9; or righ ...

  • Renesas H8S2215R - page 18

    • Right click on the ‘FlashLEDs();’ function and select ‘Go to cursor’. The code will run to the selected line and st op. A temporary breakpoint was automatically inserted in the code and then removed when the program stopped at the breakpoint. • Press ‘Step Over’ on the Debug Tool Bar. The code will run and flash the LEDs 200 times ...

  • Renesas H8S2215R - page 19

    The code will now run to the infinite loop at the end of Main(). The user LEDs should now be flashing. You can modify the flash ing rate by adjusting the potentiometer on the board. • Press ‘Stop’ on the debug tool bar. • Press ‘CTRL-B’ to open the breakpoint window. • Select ‘Remove All’ • Press <OK>. • Open the file ? ...

  • Renesas H8S2215R - page 20

    • Press ‘Go’ to run the code from the current PC position. When the program stops you can see the modified string displayed on the second line of the LCD. Inspection of the watch pane will show that the first character of the variable string has been replaced with the first charact er of the constant replacement string. • Remove the breakpo ...

  • Renesas H8S2215R - page 21

    Chapter 7. Project Files 7.1. Standard Project Files The RSK tutorials are configured so that it is possible to provide the same tutorial code on multiple RSK products. This allows the evaluation of the different processor cores using equivalent c ode. To achieve this t he following files are common between all d evice cores / Tool-chains. Each of ...

  • Renesas H8S2215R - page 22

    7.1.2. Board initialisation code (Hwsetup.c / hwsetup.h) There are four common stages to the configuration of the microc ontroller device. The code to demonstrate this is therefore spli t into four functions. Each function is written specifically for the device suppo rted. The function calls are shown below. 22 ...

  • Renesas H8S2215R - page 23

    7.1.3. Main Tutorial Code ( main.c / main.h) The main tutorial code is common to all tutorial projects. T he display initialisation and string display functions operate on the LCD display module. Check compatibility with a ks0066u controller and pin c onnection on the schematic before connecting an LCD module not s upplied by Renesas. 23 ...

  • Renesas H8S2215R - page 24

    Chapter 8. Additional Information For details on how to use High-performance Embedded Workshop (HEW), refer to the HEW User manual available on the CD or from th e Manual Navigator installed with this product. For more information on the configuration and use of HMon please refer to the HMon User Manual installed from the CD. Further information av ...

  • Renesas H8S2215R - page 25

    Renesas S ta r ter Kit for H8 S2215R T utorial Manual Publication Date Rev .1.00 12.01.2007 Published by: Renesas T echnology Europe Ltd. Dukes Meadow, Millboard Road, Bourne End Buckinghamshire SL8 5FH, United Kingdom ©2006 Renesas T echn ology Europe and Renes as Solutions Co rp., All Ri ghts Reserved. ...

  • Renesas H8S2215R - page 26

    Renesas S tarter Kit for H8S2215R T utorial Manual Renesas T echnology Europe Ltd. Dukes Meadow , Millboard Road, Bourne End Buckinghamshire SL8 5FH, United Kingdo m ...

メーカー Renesas カテゴリー Computer Hardware

Renesas H8S2215Rのメーカーから受け取ることができるドキュメントは、いくつかのグループに分けられます。その一部は次の通りです:
- #BRANDの図面#
- H8S2215Rの取扱説明書
- Renesasの製品カード
- パンフレット
- またはRenesas H8S2215Rの消費電力シール
それらは全部重要ですが、デバイス使用の観点から最も重要な情報は、Renesas H8S2215Rの取扱説明書に含まれています。

取扱説明書と呼ばれる文書のグループは、Renesas H8S2215Rの取り付け説明書、サービスマニュアル、簡易説明書、またはRenesas H8S2215Rのユーザーマニュアル等、より具体的なカテゴリーに分類されます。ご必要に応じてドキュメントを検索しましょう。私たちのウェブサイトでは、Renesas H8S2215Rの製品を使用するにあたって最も人気のある説明書を閲覧できます。

関連する取扱説明書

Renesas H8S2215Rデバイスの取扱説明書はどのようなものですか?
取扱説明書は、ユーザーマニュアル又は単に「マニュアル」とも呼ばれ、ユーザーがRenesas H8S2215Rを使用するのを助ける技術的文書のことです。説明書は通常、全てのRenesas H8S2215Rユーザーが容易に理解できる文章にて書かれており、その作成者はその分野の専門家です。

Renesasの取扱説明書には、基本的な要素が記載されているはずです。その一部は、カバー/タイトルページ、著作権ページ等、比較的重要度の低いものです。ですが、その他の部分には、ユーザーにとって重要な情報が記載されているはずです。

1. Renesas H8S2215Rの説明書の概要と使用方法。説明書にはまず、その閲覧方法に関する手引きが書かれているはずです。そこにははRenesas H8S2215Rの目次に関する情報やよくある質問、最も一般的な問題に関する情報を見つけられるはずです。つまり、それらはユーザーが取扱説明書に最も期待する情報なのです。
2. 目次。Renesas H8S2215Rに関してこのドキュメントで見つけることができる全てのヒントの目次
3. Renesas H8S2215Rデバイスの基本機能を使うにあたってのヒント。 Renesas H8S2215Rのユーザーが使い始めるのを助けてくれるはずです。
4. トラブルシューティング。Renesas H8S2215Rに関する最も重要な問題を診断し、解決するために役立つ体系化された手続き
5. FAQ。よくある質問
6. 連絡先。一人では問題を解決できない場合に、その国におけるRenesas H8S2215Rのメーカー/サービスへの連絡先に関する情報。

Renesas H8S2215Rについてご質問がありますか?

次のフォームを使用してください

見つけた説明書を読んでもRenesas H8S2215Rの問題を解決できない場合、下記のフォームを使用して質問をしましょう。ユーザーのどなたかがRenesas H8S2215Rで同様の問題を抱えていた場合、その解決方法を共有したいと考えるかもしれません。

画像のテキストを入力してください

コメント (0)