IAR RL78 F13 アプリケーション コードをブートローダー コードと統合

こんにちは。ターラー です。


IAR で RL78 F13 MCU を使用しています。
サードパーティが開発されたブートローダーがあります。
このブートローダーのコードで私のアプリケーションの開始アドレスを指定するだけです。

アプリケーション コードをブートローダー コードと統合する必要があります。
手順を教えてくださいませんか。

私は一人のワークスペースをさくせいして、二つのプロジェクトも追加して、".ddf” 
ファイルで"ROM"アドレスを変化してためしてます。

正しいかどうかわかりませんがよろしくお願いします。

Parents
  • ターラーさん、こんにちは。NoMaYです。

    市販の商品では無いということのようですが、発注元会社から(発注元会社が過去に別の会社に発注した時に納品されていたであろう筈の)ブートローダの使い方に関するドキュメントは、ターラーさんの会社には送付されて来ていないのでしょうか?(ターラーさんは、母国語は日本語では無い、と見受けられますので、この文章も正しく伝わっているのか?という心配があります。)

    もし発注元会社が助けてくれない、ということであった場合のために私が調べてみましたが、以下であろうと思います。

    間違い : ddfファイルを書き換える
          
    正しい : icfファイルを書き換える


    EWB/8.5/rl78/doc/EWRL78_DevelopmentGuide.ENU.pdf

    Linker configuration files

    The rl78\config directory contains ready-made linker configuration files for all supported devices. The files have the filename extension icf and contain the information required by the linker. For more information about the linker configuration file, see Placing code and data—the linker configuration file, page 91, and for reference information, the chapter The linker configuration file.

    Device description files

    The debugger handles several of the device-specific requirements, such as definitions of available memory areas, peripheral registers and groups of these, by using device description files. These files are located in the rl78\config directory and they have the filename extension ddf. The peripheral registers and groups of these can be defined in separate files (filename extension sfr), which in that case are included in the ddf file. For more information about these files, see the C-SPY® Debugging Guide for RL78.


    EWB/8.5/rl78/doc/EWRL78_DevelopmentGuide.JPN.pdf

    リンカ設定ファイル

    rl78\config ディレクトリには、サポートされている全デバイスの既成のリンカ設定ファイルが含まれています。これらのファイルのファイル名拡張子は icf で、リンカで必要な情報が含まれています。リンカ設定ファイルの詳細は、「87 ページのコードおよびデータの配置(リンカ設定ファイル)」を、リファレンス情報については「リンカ設定ファイル」を参照してください。

    デバイス記述ファイル

    デバッガは、使用可能なメモリエリア、周辺レジスタおよびこれらのグループの定義など、いくつかのデバイス固有の要件を、デバイス記述ファイルを使用して処理します。これらのファイルは、rl78\config ディレクトリにあり、そのファイル名拡張子は ddf です。周辺レジスタおよびそのグループは、個別のファイル(ファイル名拡張子 sfr)で定義できます。これは、ddf ファイルに含まれています。これらのファイルの詳細については、RL78 用C-SPY® デバッガガイドを参照してください



    [メモ1]

    IAR社 テクニカルノート(開発テクニック)検索: RL78

    English
    www.iar.com/knowledge/support/technical-notes/?query=RL78

    日本語
    www.iar.com/jp/knowledge/support/technical-notes/?query=RL78

    [メモ2]

    Linking blocks in a specified order
    www.iar.com/knowledge/support/technical-notes/linker/linking-blocks-in-a-specified-order-using-ilink/

    ブロックを指定された順序でリンクする
    www.iar.com/jp/knowledge/support/technical-notes/linker/linking-blocks-in-a-specified-order-using-ilink/
     

Reply
  • ターラーさん、こんにちは。NoMaYです。

    市販の商品では無いということのようですが、発注元会社から(発注元会社が過去に別の会社に発注した時に納品されていたであろう筈の)ブートローダの使い方に関するドキュメントは、ターラーさんの会社には送付されて来ていないのでしょうか?(ターラーさんは、母国語は日本語では無い、と見受けられますので、この文章も正しく伝わっているのか?という心配があります。)

    もし発注元会社が助けてくれない、ということであった場合のために私が調べてみましたが、以下であろうと思います。

    間違い : ddfファイルを書き換える
          
    正しい : icfファイルを書き換える


    EWB/8.5/rl78/doc/EWRL78_DevelopmentGuide.ENU.pdf

    Linker configuration files

    The rl78\config directory contains ready-made linker configuration files for all supported devices. The files have the filename extension icf and contain the information required by the linker. For more information about the linker configuration file, see Placing code and data—the linker configuration file, page 91, and for reference information, the chapter The linker configuration file.

    Device description files

    The debugger handles several of the device-specific requirements, such as definitions of available memory areas, peripheral registers and groups of these, by using device description files. These files are located in the rl78\config directory and they have the filename extension ddf. The peripheral registers and groups of these can be defined in separate files (filename extension sfr), which in that case are included in the ddf file. For more information about these files, see the C-SPY® Debugging Guide for RL78.


    EWB/8.5/rl78/doc/EWRL78_DevelopmentGuide.JPN.pdf

    リンカ設定ファイル

    rl78\config ディレクトリには、サポートされている全デバイスの既成のリンカ設定ファイルが含まれています。これらのファイルのファイル名拡張子は icf で、リンカで必要な情報が含まれています。リンカ設定ファイルの詳細は、「87 ページのコードおよびデータの配置(リンカ設定ファイル)」を、リファレンス情報については「リンカ設定ファイル」を参照してください。

    デバイス記述ファイル

    デバッガは、使用可能なメモリエリア、周辺レジスタおよびこれらのグループの定義など、いくつかのデバイス固有の要件を、デバイス記述ファイルを使用して処理します。これらのファイルは、rl78\config ディレクトリにあり、そのファイル名拡張子は ddf です。周辺レジスタおよびそのグループは、個別のファイル(ファイル名拡張子 sfr)で定義できます。これは、ddf ファイルに含まれています。これらのファイルの詳細については、RL78 用C-SPY® デバッガガイドを参照してください



    [メモ1]

    IAR社 テクニカルノート(開発テクニック)検索: RL78

    English
    www.iar.com/knowledge/support/technical-notes/?query=RL78

    日本語
    www.iar.com/jp/knowledge/support/technical-notes/?query=RL78

    [メモ2]

    Linking blocks in a specified order
    www.iar.com/knowledge/support/technical-notes/linker/linking-blocks-in-a-specified-order-using-ilink/

    ブロックを指定された順序でリンクする
    www.iar.com/jp/knowledge/support/technical-notes/linker/linking-blocks-in-a-specified-order-using-ilink/
     

Children
No Data