”かふぇルネ“はルネサス製品に関してユーザ同士が自由に会話をするツールであり、回答者はルネサス社内外の方たちとなります。ルネサス製品やソリューションに関して正式な回答をご希望の場合は、ルネサス技術サポート問合せをご使用ください。

ファームウェアのロードに失敗する。【デュアルバンク】【RX72N】

はじめまして。

以下のアプリケーションノートを参考に自分のアプリケーションにファームウェアアップデート機能を実装しようとしています。

RX ファミリ Flash モジュール、SCI モジュールとデュアルバンク機能を用いたファーム ウェアアップデートサンプルプログラム

4.3節までは手順通りいきましたが、4.4節デバッグでデバッグアイコンをクリックしてファイルをフラッシュにダウンロードしようとすると、以下の画像のエラーが出ます。

起動バンクとは逆のバンク(バンク1)へのロードに失敗しているようです。

4.3節で設定したデバッグ構成のStartupは以下の画像の通りです。

自分のアプリケーションに原因があるのかと思い、アプリケーションノートにあるRX72M用のサンプルを試しましたが同じエラーが出ました。(ターゲットCPUはRX72Nなのでサンプルに少し手を加えています。)

調べても同じような事例が出てこず、お手上げな状態です。

原因として何が考えられるのでしょうか。

ご存じの方いましたらアドバイスいただけると幸いです。

---

開発環境

ターゲットボード:アルファプロジェクト AP-RX72N-0A

ツールチェイン:Renesas CCRX v3.03.00

IDE:Renesas e2 studio 2021-04

Renesas Flash Programmer V3.08.02

  • ハギさん、こんにちは。NoMaYと申します。

    まず、とっさには、以下の点が気になります。

    (1) 普通に1つだけダウンロードしてデバッガを起動して0xFFC00000番地をメモリウィンドウに表示して手入力で書き換えられるか?

    [追記]

    (2) コンソールウィンドウにgdb tracesというウィンドウがあると思いますが、その内容を見せて頂けませんか?

    今日一日GNURXを触っていたので、それをそのまま使ってシミュレータでe2 studioの挙動を試していて気になったのですが、CC-RX+実機でも以下のようなログがgdb tracesウィンドウに表示されていませんか?(拡張子とかセクション名とかは相違がある筈ですが。)

    272,166 (gdb) 
    272,166 &"load C:\\\\Renesas\\\\GitHubDesktop\\\\workspaces\\\\workspace_e2v202104\\\\cpp\\\\Hardwar\eDebug\\\\cpp.elf 0xffe00000\n"
    272,166 ~"Loading section .ofs1, size 0xc lma 0xfe5f5d00\n"
    272,182 &"Load failed\n"
    272,182 108^error,msg="Load failed"
    272,182 (gdb)

     

  • NoMayさん

    リプライありがとうございます。

    (2)について

    すみません。gdb tracesというウィンドウがどれかわかりませんでした。

    上記画像のDebugger Consoleにgdbのログらしきものがあったので一応添付します。

    GNU gdb (GDB) 7.8.2-20210305-Build_1
    Copyright (C) 2014 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <gnu.org/.../gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "--host=i686-pc-mingw32 --target=rx-elf".
    Type "show configuration" for configuration details.
    For bug reporting instructions, please see:
    <www.gnu.org/.../>.
    Find the GDB manual and other documentation resources online at:
    <www.gnu.org/.../>.
    For help, type "help".
    Type "apropos word" to search for commands related to "word".
    monitor set_io_access_width,RW,4,80010-80020,81040-8104c,81208,81248,812c8-812cc,82000-82008,82018,82040-82048,82080-82088,820c0-820c8,82100-82108,82140-82148,82180-82188,821c0-821c8,82404,82410,82418
    monitor set_io_access_width,RW,4,82800-82808,82814-82818,82840-82848,82854,82be0-82bfc,83004-83008,83014-83018,83024-83028,83034-83038,83044-83048,83054-83058,83064-83068,83074-83078,83c44,86400-8643c
    monitor set_io_access_width,RW,4,86500-8650c,86514,86520,86528-8652c,875b0-875b8,87600,87630-87638,87640,87670-87678,87680,87830-87834,87870-87874,88284-88288,88500,88508-88534,8853c-8854c,88570-88574,8857c
    monitor set_io_access_width,RW,4,89e04,89e1c-89e28,8a500-8a504,8a510-8a524,8a540-8a544,8a550-8a564,8ac00,8ac08,8ac10-8ac18,8ac20,8ac28,8ac30,8ac38-8ac50,8ac58-8ac60,8ac68-8ac70,8adb0,8adc0-8adc4,8ade0,90200
    monitor set_io_access_width,RW,4,90210,90220,90230,90240,90250,90260,90270,90280,90290,902a0,902b0,902c0,902d0,902e0,902f0,90300,90310,90320,90330,90340,90350,90360,90370,90380,90390,903a0,903b0,903c0,903d0
    monitor set_io_access_width,RW,4,903e0,903f0,90400-9042c,90844,91200,91210,91220,91230,91240,91250,91260,91270,91280,91290,912a0,912b0,912c0,912d0,912e0,912f0,91300,91310,91320,91330,91340,91350,91360,91370
    monitor set_io_access_width,RW,4,91380,91390,913a0,913b0,913c0,913d0,913e0,913f0,91400-9142c,91844,92200,92210,92220,92230,92240,92250,92260,92270,92280,92290,922a0,922b0,922c0,922d0,922e0,922f0,92300,92310
    monitor set_io_access_width,RW,4,92320,92330,92340,92350,92360,92370,92380,92390,923a0,923b0,923c0,923d0,923e0,923f0,92400-9242c,92844,94210-94224,94290-942a4,9e000,9e100,9e200,9e300,a00f0,a0400-a0404
    monitor set_io_access_width,RW,4,a0500-a0518,c0000,c0008,c0010,c0018,c0020,c0028,c0030,c0038,c0040,c0048,c0050,c0058,c0064-c0070,c0078-c007c,c00c8-c00cc,c00d4-c00d8,c0100,c0108,c0110,c0118,c0120,c0128,c0140
    monitor set_io_access_width,RW,4,c0150-c0158,c0160-c016c,c01c0,c01c8,c01d0-c01dc,c01e4-c01f8,c0200,c0208,c0210,c0218,c0220,c0228,c0230,c0238,c0240,c0248,c0250,c0258,c0264-c0270,c0278-c027c,c02c8-c02cc
    monitor set_io_access_width,RW,4,c02d4-c02d8,c0300,c0308,c0310,c0318,c0320,c0328,c0340,c0350-c0358,c0360-c036c,c03c0,c03c8,c03d0-c03dc,c03e4-c03f8,c0400,c0408,c0410,c0418,c0420,c0428,c0430,c0440,c0448,c0450
    monitor set_io_access_width,RW,4,c0458,c0464-c0468,c0470,c0478-c047c,c04c8-c04cc,c04d4-c04d8,c0500-c0508,c13a0-c13a8,c1608-c1618,c2000-c20b4,c20d0-c20d4,c2100-c21b4,c21d0-c21d4,c2200-c22b4,c22d0-c22d4
    monitor set_io_access_width,RW,4,c2300-c23b4,c23d0-c23d4,c4000-c4004,c4010-c4014,c4040-c4044,c4050-c4058,c4060-c406c,c4080-c4084,c4090-c409c,c40b0-c40b8,c4124-c4140,c4170-c4178,c4210-c4218,c42d0-c42d8
    monitor set_io_access_width,RW,4,c4300-c435c,c437c,c4400-c4404,c4410-c4420,c4430-c4434,c4800-c4804,c4810-c481c,c4840-c4844,c4850-c4868,c4880,c4890-c4898,c48a0-c48a8,c48c0-c48d4,c48e0-c48f4,c4900-c4910
    monitor set_io_access_width,RW,4,c4920-c4940,c4960-c496c,c49c0-c49d4,c4c00-c4c04,c4c10-c4c1c,c4c40-c4c44,c4c50-c4c68,c4c80,c4c90-c4c98,c4ca0-c4ca8,c4cc0-c4cd4,c4ce0-c4cf4,c4d00-c4d10,c4d20-c4d40,c4d60-c4d6c
    monitor set_io_access_width,RW,4,c4dc0-c4dd4,c5800,c5880-c5884,c5890-c5894,d0104,d0144,d0304,e0000-e1018,e1100-e1104,e110c-e1110,e1118-e1140,e114c-e1154,e1200-e1204,e120c-e1210,e1218-e1240,e124c-e1254
    monitor set_io_access_width,RW,4,e1300-e1338,e1340,e1348-e1378,e1380,e1388-e13b8,e13c0-e13d4,e13e4,e1404-e1428,e1440-e1450,e3000,e3000-e3004,e3004,e3010-e305c,e3064-e3068,e3074-e3080,e3090-e30ac,e30b4-e30d4
    monitor set_io_access_width,RW,4,e30dc-e30e8,7fe030-7fe034,7fe080,7fe0d8-7fe0dc,fe7f5d00-fe7f5d08,fe7f5d10,fe7f5d20,fe7f5d40,fe7f5d48,fe7f5d50-fe7f5d5c,fe7f5d64,fe7f5d70,fe7f7d7c,fe7f7d90-fe7f7d9c
    monitor set_io_access_width,RW,2,80000,80006-80008,8000c,80024-80028,8003e,80044,80048,800c2,803fe,81000,81004,8130a,81310,8200c,82010,82014,8204c,82050,82054,8208c,82090,82094,820cc,820d0,820d4,8210c,82110
    monitor set_io_access_width,RW,2,82114,8214c,82150,82154,8218c,82190,82194,821cc,821d0,821d4,8240e,82416,8280c,82810,8284c,82850,83002,83012,83022,83032,83042,83052,83062,83072,83802,8380a,83812,8381a,83822
    monitor set_io_access_width,RW,2,8382a,83832,8383a,83842,8384a,83852,8385a,83862,8386a,83872,8387a,83880,83c14,83c24,83c48,86524-86526,872f0,87528-8752a,88000-8800c,88010-8801c,88022-88024,88032-88034
    monitor set_io_access_width,RW,2,88040-88042,88116-8811e,88126-8812a,88136-8813a,88146-8814e,88156-8815a,88166-8816a,88204-8820a,88214-8821a,89000,89004,89008,8900e-89010,89014,89018,8901e,8901e-8902e,89066
    monitor set_io_access_width,RW,2,8906e,89080,89084-89086,89090,89094,89098,8909c-890a0,890a8-890aa,890d4,89100,89104-8910a,8910e-8911e,8911e-89148,8916e,89180,89184-89186,89190,89194-891a2,891a8-891aa
    monitor set_io_access_width,RW,2,891d4-891d6,89e10-89e16,89e1a,8a00e-8a010,8a01a,8a02e-8a030,8a03a,8a04e-8a050,8a05a,8a06e-8a070,8a07a,8a08e-8a090,8a09a,8a0ae-8a0b0,8a0ba,8a0ce-8a0d0,8a0da,8b006-8b00a
    monitor set_io_access_width,RW,2,8b082-8b084,8b30e-8b310,8c40e,8c41c,8c41c,8c42a-8c42c,8c4c0-8c4c8,8c4cc,8c4d0-8c4d2,8c4d6-8c4dc,90204,9020e,90214,9021e,90224,9022e,90234,9023e,90244,9024e,90254,9025e,90264
    monitor set_io_access_width,RW,2,9026e,90274,9027e,90284,9028e,90294,9029e,902a4,902ae,902b4,902be,902c4,902ce,902d4,902de,902e4,902ee,902f4,902fe,90304,9030e,90314,9031e,90324,9032e,90334,9033e,90344,9034e
    monitor set_io_access_width,RW,2,90354,9035e,90364,9036e,90374,9037e,90384,9038e,90394,9039e,903a4,903ae,903b4,903be,903c4,903ce,903d4,903de,903e4,903ee,903f4,903fe,90840-90842,90854-90856,91204,9120e,91214
    monitor set_io_access_width,RW,2,9121e,91224,9122e,91234,9123e,91244,9124e,91254,9125e,91264,9126e,91274,9127e,91284,9128e,91294,9129e,912a4,912ae,912b4,912be,912c4,912ce,912d4,912de,912e4,912ee,912f4,912fe
    monitor set_io_access_width,RW,2,91304,9130e,91314,9131e,91324,9132e,91334,9133e,91344,9134e,91354,9135e,91364,9136e,91374,9137e,91384,9138e,91394,9139e,913a4,913ae,913b4,913be,913c4,913ce,913d4,913de,913e4
    monitor set_io_access_width,RW,2,913ee,913f4,913fe,91840-91842,91854-91856,92204,9220e,92214,9221e,92224,9222e,92234,9223e,92244,9224e,92254,9225e,92264,9226e,92274,9227e,92284,9228e,92294,9229e,922a4,922ae
    monitor set_io_access_width,RW,2,922b4,922be,922c4,922ce,922d4,922de,922e4,922ee,922f4,922fe,92304,9230e,92314,9231e,92324,9232e,92334,9233e,92344,9234e,92354,9235e,92364,9236e,92374,9237e,92384,9238e,92394
    monitor set_io_access_width,RW,2,9239e,923a4,923ae,923b4,923be,923c4,923ce,923d4,923de,923e4,923ee,923f4,923fe,92840-92842,92854-92856,94200,94204,94208,94280,94284,94288,a0000,a0004,a0008,a0014,a0018,a001c
    monitor set_io_access_width,RW,2,a0020-a0022,a0028-a0032,a0036-a003c,a0040-a0042,a0046-a0050,a0054-a0060,a0064,a0068,a006c-a0080,a0090-a00a2,a00d0-a00da,c1210-c122a,c1240,c1244-c124a,c1272-c1276,c1306-c130e
    monitor set_io_access_width,RW,2,c1320-c1322,c1386-c138a,c1406-c140a,c1a10-c1a2a,c1a40,c1a44-c1a4a,c1a72-c1a76,c1c80-c1c82,c1c90-c1c92,c1ca0-c1ca2,d000e,d000e-d0010,d0010,d0014-d001a,d002e,d002e-d0030,d0030
    monitor set_io_access_width,RW,2,d0034-d003a,d004e,d004e-d0050,d0050,d0054-d005a,d006e,d006e-d0070,d0070,d0074-d007a,d00ee,d00ee-d00f0,d00f0,d00f4-d00fa,d0110-d011e,d0150-d015e,d0310-d031e,7fe084,7fe08c
    monitor set_io_access_width,RW,2,7fe0a0,7fe0e0,7fe0e4,7fe0e8
    monitor set_io_access_width,RW,1,8002a,80030,80032-80037,8003c,80040-80041,8004a-8004b,800a0-800a3,800c0,800e0-800e3,8101c,81200-81201,81204,81240-81241,81244,812c0-812c4,812d0,812d4,81300,81304,81308,82013
    monitor set_io_access_width,RW,1,8201c-8201f,82053,8205c-8205f,82093,8209c-8209f,820d3,820dc-820df,82113,8211c-8211f,82153,8215c-8215f,82193,8219c-8219f,821d3,821dc-821df,82200,82204,82400,82408,8240c,82414
    monitor set_io_access_width,RW,1,82812-82813,8281c-8281e,82820-82822,82852-82853,8285c-8285e,82860-82862,82a00,83c00-83c02,83c10,83c16,83c20,83c40,83c50,87000-8721f,872e0-872e1,87300-87400,87404,87408,8740c
    monitor set_io_access_width,RW,1,87410,87414,87418,8741c,87500-8750f,87520-87521,87580-87586,87590,87594,87700-8770b,87780-877cf,87900-8790a,8790c,879d0-87a01,88020,88026,88030,88036,88038,88044-88046,88048
    monitor set_io_access_width,RW,1,8805c,88100-88101,88108-8810d,88110-88115,88120-88122,88124-88125,88130-88132,88134-88135,88140-88145,88150-88152,88154-88155,88160-88162,88164-88165,881e6-881f0,881f6-8820d
    monitor set_io_access_width,RW,1,88210-8821d,88280,88300-88313,88320-88333,88340-88353,8900c,89063,8907a,8907c,8908c,890a6,890ac,890d9,890e0-890e7,8910c,89163,8917a,8918c,89192-89193,891a4,891a6,891ac
    monitor set_io_access_width,RW,1,891d8-891d9,891dd-891ef,89e00-89e03,89e08-89e0e,89e18,8a000,8a000-8a002,8a002-8a004,8a004-8a006,8a006-8a00d,8a012-8a013,8a01c,8a020,8a020-8a022,8a022-8a024,8a024-8a026
    monitor set_io_access_width,RW,1,8a026-8a02d,8a032-8a033,8a03c,8a040,8a040-8a042,8a042-8a044,8a044-8a046,8a046-8a04d,8a052-8a053,8a05c,8a060,8a060-8a062,8a062-8a064,8a064-8a066,8a066-8a06d,8a072-8a073,8a07c
    monitor set_io_access_width,RW,1,8a080,8a080-8a082,8a082-8a084,8a084-8a086,8a086-8a08d,8a092-8a093,8a09c,8a0a0,8a0a0-8a0a2,8a0a2-8a0a4,8a0a4-8a0a6,8a0a6-8a0ad,8a0b2-8a0b3,8a0bc,8a0c0,8a0c0-8a0c2,8a0c2-8a0c4
    monitor set_io_access_width,RW,1,8a0c4-8a0c6,8a0c6-8a0cd,8a0d2-8a0d3,8a0dc,8b000-8b004,8b080,8b100-8b101,8b104-8b105,8b108,8b10b-8b10e,8b110-8b111,8b113-8b11d,8b11f-8b12d,8b131,8b133-8b136,8b13d,8b13f,8b141
    monitor set_io_access_width,RW,1,8b146-8b14f,8b300,8b300-8b302,8b302-8b304,8b304-8b306,8b306-8b30d,8b312,8b320-8b333,8c000-8c017,8c020-8c037,8c040-8c057,8c060-8c077,8c080-8c0af,8c0c0-8c0d7,8c0e0-8c0e2,8c0e5
    monitor set_io_access_width,RW,1,8c0e7-8c0ee,8c0f0-8c0f7,8c100,8c102-8c109,8c10e,8c11f,8c128-8c12b,8c12d-8c136,8c138-8c143,8c145,8c147-8c15c,8c160-8c16a,8c16c-8c174,8c176-8c177,8c179-8c1ba,8c1bd,8c1c0-8c1d3
    monitor set_io_access_width,RW,1,8c1d5,8c1d8-8c1f5,8c1f8-8c1ff,8c280,8c282-8c28d,8c290-8c291,8c293-8c294,8c296-8c298,8c29a-8c29b,8c2a0-8c2bf,8c400,8c402,8c402,8c404,8c404,8c406,8c406,8c408,8c408,8c40a,8c40c
    monitor set_io_access_width,RW,1,8c410,8c410,8c412,8c412,8c414,8c414,8c416,8c416,8c418,8c418,8c41a,8c41a,8c41e,8c41e,8c422,8c424,8c426,8c428,8c42e,8c440,8c442,8c444,8c452,8c452,8c454,8c454,8c456,8c456,8c45a
    monitor set_io_access_width,RW,1,8c45a,8c45c,8c462,8c462,8c464,8c464,8c466,8c466,8c46a,8c46a,8c46c,8c472,8c472,8c474,8c474,8c476,8c476,8c47a,8c47a,8c47c,8c4ca-8c4cb,8c4e4-8c4e8,8c4ea,8c500,8c5c0,90206-9020d
    monitor set_io_access_width,RW,1,90216-9021d,90226-9022d,90236-9023d,90246-9024d,90256-9025d,90266-9026d,90276-9027d,90286-9028d,90296-9029d,902a6-902ad,902b6-902bd,902c6-902cd,902d6-902dd,902e6-902ed
    monitor set_io_access_width,RW,1,902f6-902fd,90306-9030d,90316-9031d,90326-9032d,90336-9033d,90346-9034d,90356-9035d,90366-9036d,90376-9037d,90386-9038d,90396-9039d,903a6-903ad,903b6-903bd,903c6-903cd
    monitor set_io_access_width,RW,1,903d6-903dd,903e6-903ed,903f6-903fd,90820,90820-90821,90821-90822,90822-90823,90823-90824,90824-90825,90825-90826,90826-90827,90827-90828,90828-90829,90829-9082a,9082a-9082b
    monitor set_io_access_width,RW,1,9082b-9082c,9082c-9082d,9082d-9082e,9082e-9082f,9082f-90830,90830-90831,90831-90832,90832-90833,90833-90834,90834-90835,90835-90836,90836-90837,90837-90838,90838-90839
    monitor set_io_access_width,RW,1,90839-9083a,9083a-9083b,9083b-9083c,9083c-9083d,9083d-9083e,9083e-9083f,9083f,90848-90853,90858,91206-9120d,91216-9121d,91226-9122d,91236-9123d,91246-9124d,91256-9125d
    monitor set_io_access_width,RW,1,91266-9126d,91276-9127d,91286-9128d,91296-9129d,912a6-912ad,912b6-912bd,912c6-912cd,912d6-912dd,912e6-912ed,912f6-912fd,91306-9130d,91316-9131d,91326-9132d,91336-9133d
    monitor set_io_access_width,RW,1,91346-9134d,91356-9135d,91366-9136d,91376-9137d,91386-9138d,91396-9139d,913a6-913ad,913b6-913bd,913c6-913cd,913d6-913dd,913e6-913ed,913f6-913fd,91820,91820-91821,91821-91822
    monitor set_io_access_width,RW,1,91822-91823,91823-91824,91824-91825,91825-91826,91826-91827,91827-91828,91828-91829,91829-9182a,9182a-9182b,9182b-9182c,9182c-9182d,9182d-9182e,9182e-9182f,9182f-91830
    monitor set_io_access_width,RW,1,91830-91831,91831-91832,91832-91833,91833-91834,91834-91835,91835-91836,91836-91837,91837-91838,91838-91839,91839-9183a,9183a-9183b,9183b-9183c,9183c-9183d,9183d-9183e
    monitor set_io_access_width,RW,1,9183e-9183f,9183f,91848-91853,91858,92206-9220d,92216-9221d,92226-9222d,92236-9223d,92246-9224d,92256-9225d,92266-9226d,92276-9227d,92286-9228d,92296-9229d,922a6-922ad
    monitor set_io_access_width,RW,1,922b6-922bd,922c6-922cd,922d6-922dd,922e6-922ed,922f6-922fd,92306-9230d,92316-9231d,92326-9232d,92336-9233d,92346-9234d,92356-9235d,92366-9236d,92376-9237d,92386-9238d
    monitor set_io_access_width,RW,1,92396-9239d,923a6-923ad,923b6-923bd,923c6-923cd,923d6-923dd,923e6-923ed,923f6-923fd,92820,92820-92821,92821-92822,92822-92823,92823-92824,92824-92825,92825-92826,92826-92827
    monitor set_io_access_width,RW,1,92827-92828,92828-92829,92829-9282a,9282a-9282b,9282b-9282c,9282c-9282d,9282d-9282e,9282e-9282f,9282f-92830,92830-92831,92831-92832,92832-92833,92833-92834,92834-92835
    monitor set_io_access_width,RW,1,92835-92836,92836-92837,92837-92838,92838-92839,92839-9283a,9283a-9283b,9283b-9283c,9283c-9283d,9283d-9283e,9283e-9283f,9283f,92848-92853,92858,c1200-c120a,c120d-c120f
    monitor set_io_access_width,RW,1,c122c-c122d,c1230-c1232,c1234,c1236,c1238-c123c,c124c-c124d,c1260,c1270,c1280-c1282,c1284,c1290-c1294,c1298-c1299,c1300-c1304,c1324,c1326,c1328,c1380-c1382,c1384-c1385
    monitor set_io_access_width,RW,1,c1390-c1391,c1394,c1400-c1402,c1404-c1405,c140c,c1600-c1604,c1606,c1a00-c1a0a,c1a0e-c1a0f,c1a2c-c1a2d,c1a30-c1a32,c1a34,c1a36,c1a38-c1a3c,c1a4c-c1a4d,c1a50,c1a60,c1a70
    monitor set_io_access_width,RW,1,c1a80-c1a81,c1a84,c1a93-c1a95,c1c84-c1c86,c1c94-c1c96,c1ca4-c1ca6,c1cb2,c1cb4,c1cb6,d0000,d0000-d0002,d0002-d0004,d0004,d0004-d0006,d0006-d000d,d0012-d0013,d001c,d0020
    monitor set_io_access_width,RW,1,d0020-d0022,d0022-d0024,d0024,d0024-d0026,d0026-d002d,d0032-d0033,d003c,d0040,d0040-d0042,d0042-d0044,d0044,d0044-d0046,d0046-d004d,d0052-d0053,d005c,d0060,d0060-d0062
    monitor set_io_access_width,RW,1,d0062-d0064,d0064,d0064-d0066,d0066-d006d,d0072-d0073,d007c,d00e0,d00e0-d00e2,d00e2-d00e4,d00e4,d00e4-d00e6,d00e6-d00ed,d00f2-d00f3,d00fc,d0100-d0103,d0108-d010f,d0120
    monitor set_io_access_width,RW,1,d0140-d0143,d0148-d014f,d0160,d0300-d0303,d0308-d030f,d0320,7fc040,7fe010,7fe014,7fe018,7fe0d0,7fe0d4

    (1)については試してみます。

  • NoMaYさん

    リプライありがとうございます。

    (2)について

    すみません。gdb tracesというウィンドウがどこにあるかわかりませんでした。

    上記画像のDebugger Consoleにgdbのログらしきものがあったので一応添付します。

    GNU gdb (GDB) 7.8.2-20210305-Build_1
    Copyright (C) 2014 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <gnu.org/.../gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "--host=i686-pc-mingw32 --target=rx-elf".
    Type "show configuration" for configuration details.
    For bug reporting instructions, please see:
    <www.gnu.org/.../>.
    Find the GDB manual and other documentation resources online at:
    <www.gnu.org/.../>.
    For help, type "help".
    Type "apropos word" to search for commands related to "word".
    monitor set_io_access_width,RW,4,80010-80020,81040-8104c,81208,81248,812c8-812cc,82000-82008,82018,82040-82048,82080-82088,820c0-820c8,82100-82108,82140-82148,82180-82188,821c0-821c8,82404,82410,82418
    monitor set_io_access_width,RW,4,82800-82808,82814-82818,82840-82848,82854,82be0-82bfc,83004-83008,83014-83018,83024-83028,83034-83038,83044-83048,83054-83058,83064-83068,83074-83078,83c44,86400-8643c
    monitor set_io_access_width,RW,4,86500-8650c,86514,86520,86528-8652c,875b0-875b8,87600,87630-87638,87640,87670-87678,87680,87830-87834,87870-87874,88284-88288,88500,88508-88534,8853c-8854c,88570-88574,8857c
    monitor set_io_access_width,RW,4,89e04,89e1c-89e28,8a500-8a504,8a510-8a524,8a540-8a544,8a550-8a564,8ac00,8ac08,8ac10-8ac18,8ac20,8ac28,8ac30,8ac38-8ac50,8ac58-8ac60,8ac68-8ac70,8adb0,8adc0-8adc4,8ade0,90200
    monitor set_io_access_width,RW,4,90210,90220,90230,90240,90250,90260,90270,90280,90290,902a0,902b0,902c0,902d0,902e0,902f0,90300,90310,90320,90330,90340,90350,90360,90370,90380,90390,903a0,903b0,903c0,903d0
    monitor set_io_access_width,RW,4,903e0,903f0,90400-9042c,90844,91200,91210,91220,91230,91240,91250,91260,91270,91280,91290,912a0,912b0,912c0,912d0,912e0,912f0,91300,91310,91320,91330,91340,91350,91360,91370
    monitor set_io_access_width,RW,4,91380,91390,913a0,913b0,913c0,913d0,913e0,913f0,91400-9142c,91844,92200,92210,92220,92230,92240,92250,92260,92270,92280,92290,922a0,922b0,922c0,922d0,922e0,922f0,92300,92310
    monitor set_io_access_width,RW,4,92320,92330,92340,92350,92360,92370,92380,92390,923a0,923b0,923c0,923d0,923e0,923f0,92400-9242c,92844,94210-94224,94290-942a4,9e000,9e100,9e200,9e300,a00f0,a0400-a0404
    monitor set_io_access_width,RW,4,a0500-a0518,c0000,c0008,c0010,c0018,c0020,c0028,c0030,c0038,c0040,c0048,c0050,c0058,c0064-c0070,c0078-c007c,c00c8-c00cc,c00d4-c00d8,c0100,c0108,c0110,c0118,c0120,c0128,c0140
    monitor set_io_access_width,RW,4,c0150-c0158,c0160-c016c,c01c0,c01c8,c01d0-c01dc,c01e4-c01f8,c0200,c0208,c0210,c0218,c0220,c0228,c0230,c0238,c0240,c0248,c0250,c0258,c0264-c0270,c0278-c027c,c02c8-c02cc
    monitor set_io_access_width,RW,4,c02d4-c02d8,c0300,c0308,c0310,c0318,c0320,c0328,c0340,c0350-c0358,c0360-c036c,c03c0,c03c8,c03d0-c03dc,c03e4-c03f8,c0400,c0408,c0410,c0418,c0420,c0428,c0430,c0440,c0448,c0450
    monitor set_io_access_width,RW,4,c0458,c0464-c0468,c0470,c0478-c047c,c04c8-c04cc,c04d4-c04d8,c0500-c0508,c13a0-c13a8,c1608-c1618,c2000-c20b4,c20d0-c20d4,c2100-c21b4,c21d0-c21d4,c2200-c22b4,c22d0-c22d4
    monitor set_io_access_width,RW,4,c2300-c23b4,c23d0-c23d4,c4000-c4004,c4010-c4014,c4040-c4044,c4050-c4058,c4060-c406c,c4080-c4084,c4090-c409c,c40b0-c40b8,c4124-c4140,c4170-c4178,c4210-c4218,c42d0-c42d8
    monitor set_io_access_width,RW,4,c4300-c435c,c437c,c4400-c4404,c4410-c4420,c4430-c4434,c4800-c4804,c4810-c481c,c4840-c4844,c4850-c4868,c4880,c4890-c4898,c48a0-c48a8,c48c0-c48d4,c48e0-c48f4,c4900-c4910
    monitor set_io_access_width,RW,4,c4920-c4940,c4960-c496c,c49c0-c49d4,c4c00-c4c04,c4c10-c4c1c,c4c40-c4c44,c4c50-c4c68,c4c80,c4c90-c4c98,c4ca0-c4ca8,c4cc0-c4cd4,c4ce0-c4cf4,c4d00-c4d10,c4d20-c4d40,c4d60-c4d6c
    monitor set_io_access_width,RW,4,c4dc0-c4dd4,c5800,c5880-c5884,c5890-c5894,d0104,d0144,d0304,e0000-e1018,e1100-e1104,e110c-e1110,e1118-e1140,e114c-e1154,e1200-e1204,e120c-e1210,e1218-e1240,e124c-e1254
    monitor set_io_access_width,RW,4,e1300-e1338,e1340,e1348-e1378,e1380,e1388-e13b8,e13c0-e13d4,e13e4,e1404-e1428,e1440-e1450,e3000,e3000-e3004,e3004,e3010-e305c,e3064-e3068,e3074-e3080,e3090-e30ac,e30b4-e30d4
    monitor set_io_access_width,RW,4,e30dc-e30e8,7fe030-7fe034,7fe080,7fe0d8-7fe0dc,fe7f5d00-fe7f5d08,fe7f5d10,fe7f5d20,fe7f5d40,fe7f5d48,fe7f5d50-fe7f5d5c,fe7f5d64,fe7f5d70,fe7f7d7c,fe7f7d90-fe7f7d9c
    monitor set_io_access_width,RW,2,80000,80006-80008,8000c,80024-80028,8003e,80044,80048,800c2,803fe,81000,81004,8130a,81310,8200c,82010,82014,8204c,82050,82054,8208c,82090,82094,820cc,820d0,820d4,8210c,82110
    monitor set_io_access_width,RW,2,82114,8214c,82150,82154,8218c,82190,82194,821cc,821d0,821d4,8240e,82416,8280c,82810,8284c,82850,83002,83012,83022,83032,83042,83052,83062,83072,83802,8380a,83812,8381a,83822
    monitor set_io_access_width,RW,2,8382a,83832,8383a,83842,8384a,83852,8385a,83862,8386a,83872,8387a,83880,83c14,83c24,83c48,86524-86526,872f0,87528-8752a,88000-8800c,88010-8801c,88022-88024,88032-88034
    monitor set_io_access_width,RW,2,88040-88042,88116-8811e,88126-8812a,88136-8813a,88146-8814e,88156-8815a,88166-8816a,88204-8820a,88214-8821a,89000,89004,89008,8900e-89010,89014,89018,8901e,8901e-8902e,89066
    monitor set_io_access_width,RW,2,8906e,89080,89084-89086,89090,89094,89098,8909c-890a0,890a8-890aa,890d4,89100,89104-8910a,8910e-8911e,8911e-89148,8916e,89180,89184-89186,89190,89194-891a2,891a8-891aa
    monitor set_io_access_width,RW,2,891d4-891d6,89e10-89e16,89e1a,8a00e-8a010,8a01a,8a02e-8a030,8a03a,8a04e-8a050,8a05a,8a06e-8a070,8a07a,8a08e-8a090,8a09a,8a0ae-8a0b0,8a0ba,8a0ce-8a0d0,8a0da,8b006-8b00a
    monitor set_io_access_width,RW,2,8b082-8b084,8b30e-8b310,8c40e,8c41c,8c41c,8c42a-8c42c,8c4c0-8c4c8,8c4cc,8c4d0-8c4d2,8c4d6-8c4dc,90204,9020e,90214,9021e,90224,9022e,90234,9023e,90244,9024e,90254,9025e,90264
    monitor set_io_access_width,RW,2,9026e,90274,9027e,90284,9028e,90294,9029e,902a4,902ae,902b4,902be,902c4,902ce,902d4,902de,902e4,902ee,902f4,902fe,90304,9030e,90314,9031e,90324,9032e,90334,9033e,90344,9034e
    monitor set_io_access_width,RW,2,90354,9035e,90364,9036e,90374,9037e,90384,9038e,90394,9039e,903a4,903ae,903b4,903be,903c4,903ce,903d4,903de,903e4,903ee,903f4,903fe,90840-90842,90854-90856,91204,9120e,91214
    monitor set_io_access_width,RW,2,9121e,91224,9122e,91234,9123e,91244,9124e,91254,9125e,91264,9126e,91274,9127e,91284,9128e,91294,9129e,912a4,912ae,912b4,912be,912c4,912ce,912d4,912de,912e4,912ee,912f4,912fe
    monitor set_io_access_width,RW,2,91304,9130e,91314,9131e,91324,9132e,91334,9133e,91344,9134e,91354,9135e,91364,9136e,91374,9137e,91384,9138e,91394,9139e,913a4,913ae,913b4,913be,913c4,913ce,913d4,913de,913e4
    monitor set_io_access_width,RW,2,913ee,913f4,913fe,91840-91842,91854-91856,92204,9220e,92214,9221e,92224,9222e,92234,9223e,92244,9224e,92254,9225e,92264,9226e,92274,9227e,92284,9228e,92294,9229e,922a4,922ae
    monitor set_io_access_width,RW,2,922b4,922be,922c4,922ce,922d4,922de,922e4,922ee,922f4,922fe,92304,9230e,92314,9231e,92324,9232e,92334,9233e,92344,9234e,92354,9235e,92364,9236e,92374,9237e,92384,9238e,92394
    monitor set_io_access_width,RW,2,9239e,923a4,923ae,923b4,923be,923c4,923ce,923d4,923de,923e4,923ee,923f4,923fe,92840-92842,92854-92856,94200,94204,94208,94280,94284,94288,a0000,a0004,a0008,a0014,a0018,a001c
    monitor set_io_access_width,RW,2,a0020-a0022,a0028-a0032,a0036-a003c,a0040-a0042,a0046-a0050,a0054-a0060,a0064,a0068,a006c-a0080,a0090-a00a2,a00d0-a00da,c1210-c122a,c1240,c1244-c124a,c1272-c1276,c1306-c130e
    monitor set_io_access_width,RW,2,c1320-c1322,c1386-c138a,c1406-c140a,c1a10-c1a2a,c1a40,c1a44-c1a4a,c1a72-c1a76,c1c80-c1c82,c1c90-c1c92,c1ca0-c1ca2,d000e,d000e-d0010,d0010,d0014-d001a,d002e,d002e-d0030,d0030
    monitor set_io_access_width,RW,2,d0034-d003a,d004e,d004e-d0050,d0050,d0054-d005a,d006e,d006e-d0070,d0070,d0074-d007a,d00ee,d00ee-d00f0,d00f0,d00f4-d00fa,d0110-d011e,d0150-d015e,d0310-d031e,7fe084,7fe08c
    monitor set_io_access_width,RW,2,7fe0a0,7fe0e0,7fe0e4,7fe0e8
    monitor set_io_access_width,RW,1,8002a,80030,80032-80037,8003c,80040-80041,8004a-8004b,800a0-800a3,800c0,800e0-800e3,8101c,81200-81201,81204,81240-81241,81244,812c0-812c4,812d0,812d4,81300,81304,81308,82013
    monitor set_io_access_width,RW,1,8201c-8201f,82053,8205c-8205f,82093,8209c-8209f,820d3,820dc-820df,82113,8211c-8211f,82153,8215c-8215f,82193,8219c-8219f,821d3,821dc-821df,82200,82204,82400,82408,8240c,82414
    monitor set_io_access_width,RW,1,82812-82813,8281c-8281e,82820-82822,82852-82853,8285c-8285e,82860-82862,82a00,83c00-83c02,83c10,83c16,83c20,83c40,83c50,87000-8721f,872e0-872e1,87300-87400,87404,87408,8740c
    monitor set_io_access_width,RW,1,87410,87414,87418,8741c,87500-8750f,87520-87521,87580-87586,87590,87594,87700-8770b,87780-877cf,87900-8790a,8790c,879d0-87a01,88020,88026,88030,88036,88038,88044-88046,88048
    monitor set_io_access_width,RW,1,8805c,88100-88101,88108-8810d,88110-88115,88120-88122,88124-88125,88130-88132,88134-88135,88140-88145,88150-88152,88154-88155,88160-88162,88164-88165,881e6-881f0,881f6-8820d
    monitor set_io_access_width,RW,1,88210-8821d,88280,88300-88313,88320-88333,88340-88353,8900c,89063,8907a,8907c,8908c,890a6,890ac,890d9,890e0-890e7,8910c,89163,8917a,8918c,89192-89193,891a4,891a6,891ac
    monitor set_io_access_width,RW,1,891d8-891d9,891dd-891ef,89e00-89e03,89e08-89e0e,89e18,8a000,8a000-8a002,8a002-8a004,8a004-8a006,8a006-8a00d,8a012-8a013,8a01c,8a020,8a020-8a022,8a022-8a024,8a024-8a026
    monitor set_io_access_width,RW,1,8a026-8a02d,8a032-8a033,8a03c,8a040,8a040-8a042,8a042-8a044,8a044-8a046,8a046-8a04d,8a052-8a053,8a05c,8a060,8a060-8a062,8a062-8a064,8a064-8a066,8a066-8a06d,8a072-8a073,8a07c
    monitor set_io_access_width,RW,1,8a080,8a080-8a082,8a082-8a084,8a084-8a086,8a086-8a08d,8a092-8a093,8a09c,8a0a0,8a0a0-8a0a2,8a0a2-8a0a4,8a0a4-8a0a6,8a0a6-8a0ad,8a0b2-8a0b3,8a0bc,8a0c0,8a0c0-8a0c2,8a0c2-8a0c4
    monitor set_io_access_width,RW,1,8a0c4-8a0c6,8a0c6-8a0cd,8a0d2-8a0d3,8a0dc,8b000-8b004,8b080,8b100-8b101,8b104-8b105,8b108,8b10b-8b10e,8b110-8b111,8b113-8b11d,8b11f-8b12d,8b131,8b133-8b136,8b13d,8b13f,8b141
    monitor set_io_access_width,RW,1,8b146-8b14f,8b300,8b300-8b302,8b302-8b304,8b304-8b306,8b306-8b30d,8b312,8b320-8b333,8c000-8c017,8c020-8c037,8c040-8c057,8c060-8c077,8c080-8c0af,8c0c0-8c0d7,8c0e0-8c0e2,8c0e5
    monitor set_io_access_width,RW,1,8c0e7-8c0ee,8c0f0-8c0f7,8c100,8c102-8c109,8c10e,8c11f,8c128-8c12b,8c12d-8c136,8c138-8c143,8c145,8c147-8c15c,8c160-8c16a,8c16c-8c174,8c176-8c177,8c179-8c1ba,8c1bd,8c1c0-8c1d3
    monitor set_io_access_width,RW,1,8c1d5,8c1d8-8c1f5,8c1f8-8c1ff,8c280,8c282-8c28d,8c290-8c291,8c293-8c294,8c296-8c298,8c29a-8c29b,8c2a0-8c2bf,8c400,8c402,8c402,8c404,8c404,8c406,8c406,8c408,8c408,8c40a,8c40c
    monitor set_io_access_width,RW,1,8c410,8c410,8c412,8c412,8c414,8c414,8c416,8c416,8c418,8c418,8c41a,8c41a,8c41e,8c41e,8c422,8c424,8c426,8c428,8c42e,8c440,8c442,8c444,8c452,8c452,8c454,8c454,8c456,8c456,8c45a
    monitor set_io_access_width,RW,1,8c45a,8c45c,8c462,8c462,8c464,8c464,8c466,8c466,8c46a,8c46a,8c46c,8c472,8c472,8c474,8c474,8c476,8c476,8c47a,8c47a,8c47c,8c4ca-8c4cb,8c4e4-8c4e8,8c4ea,8c500,8c5c0,90206-9020d
    monitor set_io_access_width,RW,1,90216-9021d,90226-9022d,90236-9023d,90246-9024d,90256-9025d,90266-9026d,90276-9027d,90286-9028d,90296-9029d,902a6-902ad,902b6-902bd,902c6-902cd,902d6-902dd,902e6-902ed
    monitor set_io_access_width,RW,1,902f6-902fd,90306-9030d,90316-9031d,90326-9032d,90336-9033d,90346-9034d,90356-9035d,90366-9036d,90376-9037d,90386-9038d,90396-9039d,903a6-903ad,903b6-903bd,903c6-903cd
    monitor set_io_access_width,RW,1,903d6-903dd,903e6-903ed,903f6-903fd,90820,90820-90821,90821-90822,90822-90823,90823-90824,90824-90825,90825-90826,90826-90827,90827-90828,90828-90829,90829-9082a,9082a-9082b
    monitor set_io_access_width,RW,1,9082b-9082c,9082c-9082d,9082d-9082e,9082e-9082f,9082f-90830,90830-90831,90831-90832,90832-90833,90833-90834,90834-90835,90835-90836,90836-90837,90837-90838,90838-90839
    monitor set_io_access_width,RW,1,90839-9083a,9083a-9083b,9083b-9083c,9083c-9083d,9083d-9083e,9083e-9083f,9083f,90848-90853,90858,91206-9120d,91216-9121d,91226-9122d,91236-9123d,91246-9124d,91256-9125d
    monitor set_io_access_width,RW,1,91266-9126d,91276-9127d,91286-9128d,91296-9129d,912a6-912ad,912b6-912bd,912c6-912cd,912d6-912dd,912e6-912ed,912f6-912fd,91306-9130d,91316-9131d,91326-9132d,91336-9133d
    monitor set_io_access_width,RW,1,91346-9134d,91356-9135d,91366-9136d,91376-9137d,91386-9138d,91396-9139d,913a6-913ad,913b6-913bd,913c6-913cd,913d6-913dd,913e6-913ed,913f6-913fd,91820,91820-91821,91821-91822
    monitor set_io_access_width,RW,1,91822-91823,91823-91824,91824-91825,91825-91826,91826-91827,91827-91828,91828-91829,91829-9182a,9182a-9182b,9182b-9182c,9182c-9182d,9182d-9182e,9182e-9182f,9182f-91830
    monitor set_io_access_width,RW,1,91830-91831,91831-91832,91832-91833,91833-91834,91834-91835,91835-91836,91836-91837,91837-91838,91838-91839,91839-9183a,9183a-9183b,9183b-9183c,9183c-9183d,9183d-9183e
    monitor set_io_access_width,RW,1,9183e-9183f,9183f,91848-91853,91858,92206-9220d,92216-9221d,92226-9222d,92236-9223d,92246-9224d,92256-9225d,92266-9226d,92276-9227d,92286-9228d,92296-9229d,922a6-922ad
    monitor set_io_access_width,RW,1,922b6-922bd,922c6-922cd,922d6-922dd,922e6-922ed,922f6-922fd,92306-9230d,92316-9231d,92326-9232d,92336-9233d,92346-9234d,92356-9235d,92366-9236d,92376-9237d,92386-9238d
    monitor set_io_access_width,RW,1,92396-9239d,923a6-923ad,923b6-923bd,923c6-923cd,923d6-923dd,923e6-923ed,923f6-923fd,92820,92820-92821,92821-92822,92822-92823,92823-92824,92824-92825,92825-92826,92826-92827
    monitor set_io_access_width,RW,1,92827-92828,92828-92829,92829-9282a,9282a-9282b,9282b-9282c,9282c-9282d,9282d-9282e,9282e-9282f,9282f-92830,92830-92831,92831-92832,92832-92833,92833-92834,92834-92835
    monitor set_io_access_width,RW,1,92835-92836,92836-92837,92837-92838,92838-92839,92839-9283a,9283a-9283b,9283b-9283c,9283c-9283d,9283d-9283e,9283e-9283f,9283f,92848-92853,92858,c1200-c120a,c120d-c120f
    monitor set_io_access_width,RW,1,c122c-c122d,c1230-c1232,c1234,c1236,c1238-c123c,c124c-c124d,c1260,c1270,c1280-c1282,c1284,c1290-c1294,c1298-c1299,c1300-c1304,c1324,c1326,c1328,c1380-c1382,c1384-c1385
    monitor set_io_access_width,RW,1,c1390-c1391,c1394,c1400-c1402,c1404-c1405,c140c,c1600-c1604,c1606,c1a00-c1a0a,c1a0e-c1a0f,c1a2c-c1a2d,c1a30-c1a32,c1a34,c1a36,c1a38-c1a3c,c1a4c-c1a4d,c1a50,c1a60,c1a70
    monitor set_io_access_width,RW,1,c1a80-c1a81,c1a84,c1a93-c1a95,c1c84-c1c86,c1c94-c1c96,c1ca4-c1ca6,c1cb2,c1cb4,c1cb6,d0000,d0000-d0002,d0002-d0004,d0004,d0004-d0006,d0006-d000d,d0012-d0013,d001c,d0020
    monitor set_io_access_width,RW,1,d0020-d0022,d0022-d0024,d0024,d0024-d0026,d0026-d002d,d0032-d0033,d003c,d0040,d0040-d0042,d0042-d0044,d0044,d0044-d0046,d0046-d004d,d0052-d0053,d005c,d0060,d0060-d0062
    monitor set_io_access_width,RW,1,d0062-d0064,d0064,d0064-d0066,d0066-d006d,d0072-d0073,d007c,d00e0,d00e0-d00e2,d00e2-d00e4,d00e4,d00e4-d00e6,d00e6-d00ed,d00f2-d00f3,d00fc,d0100-d0103,d0108-d010f,d0120
    monitor set_io_access_width,RW,1,d0140-d0143,d0148-d014f,d0160,d0300-d0303,d0308-d030f,d0320,7fc040,7fe010,7fe014,7fe018,7fe0d0,7fe0d4

    (1)については試してみます。

  • NoMaYさん

    リプライありがとうございます。

    (2)について

    すみません。gdb tracesというウィンドウがどこにあるかわかりませんでした。

    (1)については試してみます。

  • Debugger Consoleにgdbのログらしきものがあったので一応添付します。

    GNU gdb (GDB) 7.8.2-20210305-Build_1
    Copyright (C) 2014 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <gnu.org/.../gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "--host=i686-pc-mingw32 --target=rx-elf".
    Type "show configuration" for configuration details.
    For bug reporting instructions, please see:
    <www.gnu.org/.../>.
    Find the GDB manual and other documentation resources online at:
    <www.gnu.org/.../>.
    For help, type "help".
    Type "apropos word" to search for commands related to "word".
    monitor set_io_access_width,RW,4,80010-80020,81040-8104c,81208,81248,812c8-812cc,82000-82008,82018,82040-82048,82080-82088,820c0-820c8,82100-82108,82140-82148,82180-82188,821c0-821c8,82404,82410,82418
    monitor set_io_access_width,RW,4,82800-82808,82814-82818,82840-82848,82854,82be0-82bfc,83004-83008,83014-83018,83024-83028,83034-83038,83044-83048,83054-83058,83064-83068,83074-83078,83c44,86400-8643c
    monitor set_io_access_width,RW,4,86500-8650c,86514,86520,86528-8652c,875b0-875b8,87600,87630-87638,87640,87670-87678,87680,87830-87834,87870-87874,88284-88288,88500,88508-88534,8853c-8854c,88570-88574,8857c
    monitor set_io_access_width,RW,4,89e04,89e1c-89e28,8a500-8a504,8a510-8a524,8a540-8a544,8a550-8a564,8ac00,8ac08,8ac10-8ac18,8ac20,8ac28,8ac30,8ac38-8ac50,8ac58-8ac60,8ac68-8ac70,8adb0,8adc0-8adc4,8ade0,90200
    monitor set_io_access_width,RW,4,90210,90220,90230,90240,90250,90260,90270,90280,90290,902a0,902b0,902c0,902d0,902e0,902f0,90300,90310,90320,90330,90340,90350,90360,90370,90380,90390,903a0,903b0,903c0,903d0
    monitor set_io_access_width,RW,4,903e0,903f0,90400-9042c,90844,91200,91210,91220,91230,91240,91250,91260,91270,91280,91290,912a0,912b0,912c0,912d0,912e0,912f0,91300,91310,91320,91330,91340,91350,91360,91370
    monitor set_io_access_width,RW,4,91380,91390,913a0,913b0,913c0,913d0,913e0,913f0,91400-9142c,91844,92200,92210,92220,92230,92240,92250,92260,92270,92280,92290,922a0,922b0,922c0,922d0,922e0,922f0,92300,92310
    monitor set_io_access_width,RW,4,92320,92330,92340,92350,92360,92370,92380,92390,923a0,923b0,923c0,923d0,923e0,923f0,92400-9242c,92844,94210-94224,94290-942a4,9e000,9e100,9e200,9e300,a00f0,a0400-a0404
    monitor set_io_access_width,RW,4,a0500-a0518,c0000,c0008,c0010,c0018,c0020,c0028,c0030,c0038,c0040,c0048,c0050,c0058,c0064-c0070,c0078-c007c,c00c8-c00cc,c00d4-c00d8,c0100,c0108,c0110,c0118,c0120,c0128,c0140
    monitor set_io_access_width,RW,4,c0150-c0158,c0160-c016c,c01c0,c01c8,c01d0-c01dc,c01e4-c01f8,c0200,c0208,c0210,c0218,c0220,c0228,c0230,c0238,c0240,c0248,c0250,c0258,c0264-c0270,c0278-c027c,c02c8-c02cc
    monitor set_io_access_width,RW,4,c02d4-c02d8,c0300,c0308,c0310,c0318,c0320,c0328,c0340,c0350-c0358,c0360-c036c,c03c0,c03c8,c03d0-c03dc,c03e4-c03f8,c0400,c0408,c0410,c0418,c0420,c0428,c0430,c0440,c0448,c0450
    monitor set_io_access_width,RW,4,c0458,c0464-c0468,c0470,c0478-c047c,c04c8-c04cc,c04d4-c04d8,c0500-c0508,c13a0-c13a8,c1608-c1618,c2000-c20b4,c20d0-c20d4,c2100-c21b4,c21d0-c21d4,c2200-c22b4,c22d0-c22d4
    monitor set_io_access_width,RW,4,c2300-c23b4,c23d0-c23d4,c4000-c4004,c4010-c4014,c4040-c4044,c4050-c4058,c4060-c406c,c4080-c4084,c4090-c409c,c40b0-c40b8,c4124-c4140,c4170-c4178,c4210-c4218,c42d0-c42d8
    monitor set_io_access_width,RW,4,c4300-c435c,c437c,c4400-c4404,c4410-c4420,c4430-c4434,c4800-c4804,c4810-c481c,c4840-c4844,c4850-c4868,c4880,c4890-c4898,c48a0-c48a8,c48c0-c48d4,c48e0-c48f4,c4900-c4910
    monitor set_io_access_width,RW,4,c4920-c4940,c4960-c496c,c49c0-c49d4,c4c00-c4c04,c4c10-c4c1c,c4c40-c4c44,c4c50-c4c68,c4c80,c4c90-c4c98,c4ca0-c4ca8,c4cc0-c4cd4,c4ce0-c4cf4,c4d00-c4d10,c4d20-c4d40,c4d60-c4d6c
    monitor set_io_access_width,RW,4,c4dc0-c4dd4,c5800,c5880-c5884,c5890-c5894,d0104,d0144,d0304,e0000-e1018,e1100-e1104,e110c-e1110,e1118-e1140,e114c-e1154,e1200-e1204,e120c-e1210,e1218-e1240,e124c-e1254
    monitor set_io_access_width,RW,4,e1300-e1338,e1340,e1348-e1378,e1380,e1388-e13b8,e13c0-e13d4,e13e4,e1404-e1428,e1440-e1450,e3000,e3000-e3004,e3004,e3010-e305c,e3064-e3068,e3074-e3080,e3090-e30ac,e30b4-e30d4
    monitor set_io_access_width,RW,4,e30dc-e30e8,7fe030-7fe034,7fe080,7fe0d8-7fe0dc,fe7f5d00-fe7f5d08,fe7f5d10,fe7f5d20,fe7f5d40,fe7f5d48,fe7f5d50-fe7f5d5c,fe7f5d64,fe7f5d70,fe7f7d7c,fe7f7d90-fe7f7d9c
    monitor set_io_access_width,RW,2,80000,80006-80008,8000c,80024-80028,8003e,80044,80048,800c2,803fe,81000,81004,8130a,81310,8200c,82010,82014,8204c,82050,82054,8208c,82090,82094,820cc,820d0,820d4,8210c,82110
    monitor set_io_access_width,RW,2,82114,8214c,82150,82154,8218c,82190,82194,821cc,821d0,821d4,8240e,82416,8280c,82810,8284c,82850,83002,83012,83022,83032,83042,83052,83062,83072,83802,8380a,83812,8381a,83822
    monitor set_io_access_width,RW,2,8382a,83832,8383a,83842,8384a,83852,8385a,83862,8386a,83872,8387a,83880,83c14,83c24,83c48,86524-86526,872f0,87528-8752a,88000-8800c,88010-8801c,88022-88024,88032-88034
    monitor set_io_access_width,RW,2,88040-88042,88116-8811e,88126-8812a,88136-8813a,88146-8814e,88156-8815a,88166-8816a,88204-8820a,88214-8821a,89000,89004,89008,8900e-89010,89014,89018,8901e,8901e-8902e,89066
    monitor set_io_access_width,RW,2,8906e,89080,89084-89086,89090,89094,89098,8909c-890a0,890a8-890aa,890d4,89100,89104-8910a,8910e-8911e,8911e-89148,8916e,89180,89184-89186,89190,89194-891a2,891a8-891aa
    monitor set_io_access_width,RW,2,891d4-891d6,89e10-89e16,89e1a,8a00e-8a010,8a01a,8a02e-8a030,8a03a,8a04e-8a050,8a05a,8a06e-8a070,8a07a,8a08e-8a090,8a09a,8a0ae-8a0b0,8a0ba,8a0ce-8a0d0,8a0da,8b006-8b00a
    monitor set_io_access_width,RW,2,8b082-8b084,8b30e-8b310,8c40e,8c41c,8c41c,8c42a-8c42c,8c4c0-8c4c8,8c4cc,8c4d0-8c4d2,8c4d6-8c4dc,90204,9020e,90214,9021e,90224,9022e,90234,9023e,90244,9024e,90254,9025e,90264
    monitor set_io_access_width,RW,2,9026e,90274,9027e,90284,9028e,90294,9029e,902a4,902ae,902b4,902be,902c4,902ce,902d4,902de,902e4,902ee,902f4,902fe,90304,9030e,90314,9031e,90324,9032e,90334,9033e,90344,9034e
    monitor set_io_access_width,RW,2,90354,9035e,90364,9036e,90374,9037e,90384,9038e,90394,9039e,903a4,903ae,903b4,903be,903c4,903ce,903d4,903de,903e4,903ee,903f4,903fe,90840-90842,90854-90856,91204,9120e,91214
    monitor set_io_access_width,RW,2,9121e,91224,9122e,91234,9123e,91244,9124e,91254,9125e,91264,9126e,91274,9127e,91284,9128e,91294,9129e,912a4,912ae,912b4,912be,912c4,912ce,912d4,912de,912e4,912ee,912f4,912fe
    monitor set_io_access_width,RW,2,91304,9130e,91314,9131e,91324,9132e,91334,9133e,91344,9134e,91354,9135e,91364,9136e,91374,9137e,91384,9138e,91394,9139e,913a4,913ae,913b4,913be,913c4,913ce,913d4,913de,913e4
    monitor set_io_access_width,RW,2,913ee,913f4,913fe,91840-91842,91854-91856,92204,9220e,92214,9221e,92224,9222e,92234,9223e,92244,9224e,92254,9225e,92264,9226e,92274,9227e,92284,9228e,92294,9229e,922a4,922ae
    monitor set_io_access_width,RW,2,922b4,922be,922c4,922ce,922d4,922de,922e4,922ee,922f4,922fe,92304,9230e,92314,9231e,92324,9232e,92334,9233e,92344,9234e,92354,9235e,92364,9236e,92374,9237e,92384,9238e,92394
    monitor set_io_access_width,RW,2,9239e,923a4,923ae,923b4,923be,923c4,923ce,923d4,923de,923e4,923ee,923f4,923fe,92840-92842,92854-92856,94200,94204,94208,94280,94284,94288,a0000,a0004,a0008,a0014,a0018,a001c
    monitor set_io_access_width,RW,2,a0020-a0022,a0028-a0032,a0036-a003c,a0040-a0042,a0046-a0050,a0054-a0060,a0064,a0068,a006c-a0080,a0090-a00a2,a00d0-a00da,c1210-c122a,c1240,c1244-c124a,c1272-c1276,c1306-c130e
    monitor set_io_access_width,RW,2,c1320-c1322,c1386-c138a,c1406-c140a,c1a10-c1a2a,c1a40,c1a44-c1a4a,c1a72-c1a76,c1c80-c1c82,c1c90-c1c92,c1ca0-c1ca2,d000e,d000e-d0010,d0010,d0014-d001a,d002e,d002e-d0030,d0030
    monitor set_io_access_width,RW,2,d0034-d003a,d004e,d004e-d0050,d0050,d0054-d005a,d006e,d006e-d0070,d0070,d0074-d007a,d00ee,d00ee-d00f0,d00f0,d00f4-d00fa,d0110-d011e,d0150-d015e,d0310-d031e,7fe084,7fe08c
    monitor set_io_access_width,RW,2,7fe0a0,7fe0e0,7fe0e4,7fe0e8
    monitor set_io_access_width,RW,1,8002a,80030,80032-80037,8003c,80040-80041,8004a-8004b,800a0-800a3,800c0,800e0-800e3,8101c,81200-81201,81204,81240-81241,81244,812c0-812c4,812d0,812d4,81300,81304,81308,82013
    monitor set_io_access_width,RW,1,8201c-8201f,82053,8205c-8205f,82093,8209c-8209f,820d3,820dc-820df,82113,8211c-8211f,82153,8215c-8215f,82193,8219c-8219f,821d3,821dc-821df,82200,82204,82400,82408,8240c,82414
    monitor set_io_access_width,RW,1,82812-82813,8281c-8281e,82820-82822,82852-82853,8285c-8285e,82860-82862,82a00,83c00-83c02,83c10,83c16,83c20,83c40,83c50,87000-8721f,872e0-872e1,87300-87400,87404,87408,8740c
    monitor set_io_access_width,RW,1,87410,87414,87418,8741c,87500-8750f,87520-87521,87580-87586,87590,87594,87700-8770b,87780-877cf,87900-8790a,8790c,879d0-87a01,88020,88026,88030,88036,88038,88044-88046,88048
    monitor set_io_access_width,RW,1,8805c,88100-88101,88108-8810d,88110-88115,88120-88122,88124-88125,88130-88132,88134-88135,88140-88145,88150-88152,88154-88155,88160-88162,88164-88165,881e6-881f0,881f6-8820d
    monitor set_io_access_width,RW,1,88210-8821d,88280,88300-88313,88320-88333,88340-88353,8900c,89063,8907a,8907c,8908c,890a6,890ac,890d9,890e0-890e7,8910c,89163,8917a,8918c,89192-89193,891a4,891a6,891ac
    monitor set_io_access_width,RW,1,891d8-891d9,891dd-891ef,89e00-89e03,89e08-89e0e,89e18,8a000,8a000-8a002,8a002-8a004,8a004-8a006,8a006-8a00d,8a012-8a013,8a01c,8a020,8a020-8a022,8a022-8a024,8a024-8a026
    monitor set_io_access_width,RW,1,8a026-8a02d,8a032-8a033,8a03c,8a040,8a040-8a042,8a042-8a044,8a044-8a046,8a046-8a04d,8a052-8a053,8a05c,8a060,8a060-8a062,8a062-8a064,8a064-8a066,8a066-8a06d,8a072-8a073,8a07c
    monitor set_io_access_width,RW,1,8a080,8a080-8a082,8a082-8a084,8a084-8a086,8a086-8a08d,8a092-8a093,8a09c,8a0a0,8a0a0-8a0a2,8a0a2-8a0a4,8a0a4-8a0a6,8a0a6-8a0ad,8a0b2-8a0b3,8a0bc,8a0c0,8a0c0-8a0c2,8a0c2-8a0c4
    monitor set_io_access_width,RW,1,8a0c4-8a0c6,8a0c6-8a0cd,8a0d2-8a0d3,8a0dc,8b000-8b004,8b080,8b100-8b101,8b104-8b105,8b108,8b10b-8b10e,8b110-8b111,8b113-8b11d,8b11f-8b12d,8b131,8b133-8b136,8b13d,8b13f,8b141
    monitor set_io_access_width,RW,1,8b146-8b14f,8b300,8b300-8b302,8b302-8b304,8b304-8b306,8b306-8b30d,8b312,8b320-8b333,8c000-8c017,8c020-8c037,8c040-8c057,8c060-8c077,8c080-8c0af,8c0c0-8c0d7,8c0e0-8c0e2,8c0e5
    monitor set_io_access_width,RW,1,8c0e7-8c0ee,8c0f0-8c0f7,8c100,8c102-8c109,8c10e,8c11f,8c128-8c12b,8c12d-8c136,8c138-8c143,8c145,8c147-8c15c,8c160-8c16a,8c16c-8c174,8c176-8c177,8c179-8c1ba,8c1bd,8c1c0-8c1d3
    monitor set_io_access_width,RW,1,8c1d5,8c1d8-8c1f5,8c1f8-8c1ff,8c280,8c282-8c28d,8c290-8c291,8c293-8c294,8c296-8c298,8c29a-8c29b,8c2a0-8c2bf,8c400,8c402,8c402,8c404,8c404,8c406,8c406,8c408,8c408,8c40a,8c40c
    monitor set_io_access_width,RW,1,8c410,8c410,8c412,8c412,8c414,8c414,8c416,8c416,8c418,8c418,8c41a,8c41a,8c41e,8c41e,8c422,8c424,8c426,8c428,8c42e,8c440,8c442,8c444,8c452,8c452,8c454,8c454,8c456,8c456,8c45a
    monitor set_io_access_width,RW,1,8c45a,8c45c,8c462,8c462,8c464,8c464,8c466,8c466,8c46a,8c46a,8c46c,8c472,8c472,8c474,8c474,8c476,8c476,8c47a,8c47a,8c47c,8c4ca-8c4cb,8c4e4-8c4e8,8c4ea,8c500,8c5c0,90206-9020d
    monitor set_io_access_width,RW,1,90216-9021d,90226-9022d,90236-9023d,90246-9024d,90256-9025d,90266-9026d,90276-9027d,90286-9028d,90296-9029d,902a6-902ad,902b6-902bd,902c6-902cd,902d6-902dd,902e6-902ed
    monitor set_io_access_width,RW,1,902f6-902fd,90306-9030d,90316-9031d,90326-9032d,90336-9033d,90346-9034d,90356-9035d,90366-9036d,90376-9037d,90386-9038d,90396-9039d,903a6-903ad,903b6-903bd,903c6-903cd
    monitor set_io_access_width,RW,1,903d6-903dd,903e6-903ed,903f6-903fd,90820,90820-90821,90821-90822,90822-90823,90823-90824,90824-90825,90825-90826,90826-90827,90827-90828,90828-90829,90829-9082a,9082a-9082b
    monitor set_io_access_width,RW,1,9082b-9082c,9082c-9082d,9082d-9082e,9082e-9082f,9082f-90830,90830-90831,90831-90832,90832-90833,90833-90834,90834-90835,90835-90836,90836-90837,90837-90838,90838-90839
    monitor set_io_access_width,RW,1,90839-9083a,9083a-9083b,9083b-9083c,9083c-9083d,9083d-9083e,9083e-9083f,9083f,90848-90853,90858,91206-9120d,91216-9121d,91226-9122d,91236-9123d,91246-9124d,91256-9125d
    monitor set_io_access_width,RW,1,91266-9126d,91276-9127d,91286-9128d,91296-9129d,912a6-912ad,912b6-912bd,912c6-912cd,912d6-912dd,912e6-912ed,912f6-912fd,91306-9130d,91316-9131d,91326-9132d,91336-9133d
    monitor set_io_access_width,RW,1,91346-9134d,91356-9135d,91366-9136d,91376-9137d,91386-9138d,91396-9139d,913a6-913ad,913b6-913bd,913c6-913cd,913d6-913dd,913e6-913ed,913f6-913fd,91820,91820-91821,91821-91822
    monitor set_io_access_width,RW,1,91822-91823,91823-91824,91824-91825,91825-91826,91826-91827,91827-91828,91828-91829,91829-9182a,9182a-9182b,9182b-9182c,9182c-9182d,9182d-9182e,9182e-9182f,9182f-91830
    monitor set_io_access_width,RW,1,91830-91831,91831-91832,91832-91833,91833-91834,91834-91835,91835-91836,91836-91837,91837-91838,91838-91839,91839-9183a,9183a-9183b,9183b-9183c,9183c-9183d,9183d-9183e
    monitor set_io_access_width,RW,1,9183e-9183f,9183f,91848-91853,91858,92206-9220d,92216-9221d,92226-9222d,92236-9223d,92246-9224d,92256-9225d,92266-9226d,92276-9227d,92286-9228d,92296-9229d,922a6-922ad
    monitor set_io_access_width,RW,1,922b6-922bd,922c6-922cd,922d6-922dd,922e6-922ed,922f6-922fd,92306-9230d,92316-9231d,92326-9232d,92336-9233d,92346-9234d,92356-9235d,92366-9236d,92376-9237d,92386-9238d
    monitor set_io_access_width,RW,1,92396-9239d,923a6-923ad,923b6-923bd,923c6-923cd,923d6-923dd,923e6-923ed,923f6-923fd,92820,92820-92821,92821-92822,92822-92823,92823-92824,92824-92825,92825-92826,92826-92827
    monitor set_io_access_width,RW,1,92827-92828,92828-92829,92829-9282a,9282a-9282b,9282b-9282c,9282c-9282d,9282d-9282e,9282e-9282f,9282f-92830,92830-92831,92831-92832,92832-92833,92833-92834,92834-92835
    monitor set_io_access_width,RW,1,92835-92836,92836-92837,92837-92838,92838-92839,92839-9283a,9283a-9283b,9283b-9283c,9283c-9283d,9283d-9283e,9283e-9283f,9283f,92848-92853,92858,c1200-c120a,c120d-c120f
    monitor set_io_access_width,RW,1,c122c-c122d,c1230-c1232,c1234,c1236,c1238-c123c,c124c-c124d,c1260,c1270,c1280-c1282,c1284,c1290-c1294,c1298-c1299,c1300-c1304,c1324,c1326,c1328,c1380-c1382,c1384-c1385
    monitor set_io_access_width,RW,1,c1390-c1391,c1394,c1400-c1402,c1404-c1405,c140c,c1600-c1604,c1606,c1a00-c1a0a,c1a0e-c1a0f,c1a2c-c1a2d,c1a30-c1a32,c1a34,c1a36,c1a38-c1a3c,c1a4c-c1a4d,c1a50,c1a60,c1a70
    monitor set_io_access_width,RW,1,c1a80-c1a81,c1a84,c1a93-c1a95,c1c84-c1c86,c1c94-c1c96,c1ca4-c1ca6,c1cb2,c1cb4,c1cb6,d0000,d0000-d0002,d0002-d0004,d0004,d0004-d0006,d0006-d000d,d0012-d0013,d001c,d0020
    monitor set_io_access_width,RW,1,d0020-d0022,d0022-d0024,d0024,d0024-d0026,d0026-d002d,d0032-d0033,d003c,d0040,d0040-d0042,d0042-d0044,d0044,d0044-d0046,d0046-d004d,d0052-d0053,d005c,d0060,d0060-d0062
    monitor set_io_access_width,RW,1,d0062-d0064,d0064,d0064-d0066,d0066-d006d,d0072-d0073,d007c,d00e0,d00e0-d00e2,d00e2-d00e4,d00e4,d00e4-d00e6,d00e6-d00ed,d00f2-d00f3,d00fc,d0100-d0103,d0108-d010f,d0120
    monitor set_io_access_width,RW,1,d0140-d0143,d0148-d014f,d0160,d0300-d0303,d0308-d030f,d0320,7fc040,7fe010,7fe014,7fe018,7fe0d0,7fe0d4
  • Debugger Consoleにgdbのログらしきものがあったので一応添付します。
    質問と関係無いのですが、以下でNoMaYさん書かれたようなスクロール付きのブロックを表示するのはどうすれば良いのでしょうか。
    272,166 (gdb)
    272,166 &"load C:\\\\Renesas\\\\GitHubDesktop\\\\workspaces\\\\workspace_e2v202104\\\\cpp\\\\Hardwar\eDebug\\\\cpp.elf 0xffe00000\n"
    272,166 ~"Loading section .ofs1, size 0xc lma 0xfe5f5d00\n"
    272,182 &"Load failed\n"
    272,182 108^error,msg="Load failed"
    272,182 (gdb)

    GNU gdb (GDB) 7.8.2-20210305-Build_1
    Copyright (C) 2014 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <gnu.org/.../gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "--host=i686-pc-mingw32 --target=rx-elf".
    Type "show configuration" for configuration details.
    For bug reporting instructions, please see:
    <www.gnu.org/.../>.
    Find the GDB manual and other documentation resources online at:
    <www.gnu.org/.../>.
    For help, type "help".
    Type "apropos word" to search for commands related to "word".
    monitor set_io_access_width,RW,4,80010-80020,81040-8104c,81208,81248,812c8-812cc,82000-82008,82018,82040-82048,82080-82088,820c0-820c8,82100-82108,82140-82148,82180-82188,821c0-821c8,82404,82410,82418
    monitor set_io_access_width,RW,4,82800-82808,82814-82818,82840-82848,82854,82be0-82bfc,83004-83008,83014-83018,83024-83028,83034-83038,83044-83048,83054-83058,83064-83068,83074-83078,83c44,86400-8643c
    monitor set_io_access_width,RW,4,86500-8650c,86514,86520,86528-8652c,875b0-875b8,87600,87630-87638,87640,87670-87678,87680,87830-87834,87870-87874,88284-88288,88500,88508-88534,8853c-8854c,88570-88574,8857c
    monitor set_io_access_width,RW,4,89e04,89e1c-89e28,8a500-8a504,8a510-8a524,8a540-8a544,8a550-8a564,8ac00,8ac08,8ac10-8ac18,8ac20,8ac28,8ac30,8ac38-8ac50,8ac58-8ac60,8ac68-8ac70,8adb0,8adc0-8adc4,8ade0,90200
    monitor set_io_access_width,RW,4,90210,90220,90230,90240,90250,90260,90270,90280,90290,902a0,902b0,902c0,902d0,902e0,902f0,90300,90310,90320,90330,90340,90350,90360,90370,90380,90390,903a0,903b0,903c0,903d0
    monitor set_io_access_width,RW,4,903e0,903f0,90400-9042c,90844,91200,91210,91220,91230,91240,91250,91260,91270,91280,91290,912a0,912b0,912c0,912d0,912e0,912f0,91300,91310,91320,91330,91340,91350,91360,91370
    monitor set_io_access_width,RW,4,91380,91390,913a0,913b0,913c0,913d0,913e0,913f0,91400-9142c,91844,92200,92210,92220,92230,92240,92250,92260,92270,92280,92290,922a0,922b0,922c0,922d0,922e0,922f0,92300,92310
    monitor set_io_access_width,RW,4,92320,92330,92340,92350,92360,92370,92380,92390,923a0,923b0,923c0,923d0,923e0,923f0,92400-9242c,92844,94210-94224,94290-942a4,9e000,9e100,9e200,9e300,a00f0,a0400-a0404
    monitor set_io_access_width,RW,4,a0500-a0518,c0000,c0008,c0010,c0018,c0020,c0028,c0030,c0038,c0040,c0048,c0050,c0058,c0064-c0070,c0078-c007c,c00c8-c00cc,c00d4-c00d8,c0100,c0108,c0110,c0118,c0120,c0128,c0140
    monitor set_io_access_width,RW,4,c0150-c0158,c0160-c016c,c01c0,c01c8,c01d0-c01dc,c01e4-c01f8,c0200,c0208,c0210,c0218,c0220,c0228,c0230,c0238,c0240,c0248,c0250,c0258,c0264-c0270,c0278-c027c,c02c8-c02cc
    monitor set_io_access_width,RW,4,c02d4-c02d8,c0300,c0308,c0310,c0318,c0320,c0328,c0340,c0350-c0358,c0360-c036c,c03c0,c03c8,c03d0-c03dc,c03e4-c03f8,c0400,c0408,c0410,c0418,c0420,c0428,c0430,c0440,c0448,c0450
    monitor set_io_access_width,RW,4,c0458,c0464-c0468,c0470,c0478-c047c,c04c8-c04cc,c04d4-c04d8,c0500-c0508,c13a0-c13a8,c1608-c1618,c2000-c20b4,c20d0-c20d4,c2100-c21b4,c21d0-c21d4,c2200-c22b4,c22d0-c22d4
    monitor set_io_access_width,RW,4,c2300-c23b4,c23d0-c23d4,c4000-c4004,c4010-c4014,c4040-c4044,c4050-c4058,c4060-c406c,c4080-c4084,c4090-c409c,c40b0-c40b8,c4124-c4140,c4170-c4178,c4210-c4218,c42d0-c42d8
    monitor set_io_access_width,RW,4,c4300-c435c,c437c,c4400-c4404,c4410-c4420,c4430-c4434,c4800-c4804,c4810-c481c,c4840-c4844,c4850-c4868,c4880,c4890-c4898,c48a0-c48a8,c48c0-c48d4,c48e0-c48f4,c4900-c4910
    monitor set_io_access_width,RW,4,c4920-c4940,c4960-c496c,c49c0-c49d4,c4c00-c4c04,c4c10-c4c1c,c4c40-c4c44,c4c50-c4c68,c4c80,c4c90-c4c98,c4ca0-c4ca8,c4cc0-c4cd4,c4ce0-c4cf4,c4d00-c4d10,c4d20-c4d40,c4d60-c4d6c
    monitor set_io_access_width,RW,4,c4dc0-c4dd4,c5800,c5880-c5884,c5890-c5894,d0104,d0144,d0304,e0000-e1018,e1100-e1104,e110c-e1110,e1118-e1140,e114c-e1154,e1200-e1204,e120c-e1210,e1218-e1240,e124c-e1254
    monitor set_io_access_width,RW,4,e1300-e1338,e1340,e1348-e1378,e1380,e1388-e13b8,e13c0-e13d4,e13e4,e1404-e1428,e1440-e1450,e3000,e3000-e3004,e3004,e3010-e305c,e3064-e3068,e3074-e3080,e3090-e30ac,e30b4-e30d4
    monitor set_io_access_width,RW,4,e30dc-e30e8,7fe030-7fe034,7fe080,7fe0d8-7fe0dc,fe7f5d00-fe7f5d08,fe7f5d10,fe7f5d20,fe7f5d40,fe7f5d48,fe7f5d50-fe7f5d5c,fe7f5d64,fe7f5d70,fe7f7d7c,fe7f7d90-fe7f7d9c
    monitor set_io_access_width,RW,2,80000,80006-80008,8000c,80024-80028,8003e,80044,80048,800c2,803fe,81000,81004,8130a,81310,8200c,82010,82014,8204c,82050,82054,8208c,82090,82094,820cc,820d0,820d4,8210c,82110
    monitor set_io_access_width,RW,2,82114,8214c,82150,82154,8218c,82190,82194,821cc,821d0,821d4,8240e,82416,8280c,82810,8284c,82850,83002,83012,83022,83032,83042,83052,83062,83072,83802,8380a,83812,8381a,83822
    monitor set_io_access_width,RW,2,8382a,83832,8383a,83842,8384a,83852,8385a,83862,8386a,83872,8387a,83880,83c14,83c24,83c48,86524-86526,872f0,87528-8752a,88000-8800c,88010-8801c,88022-88024,88032-88034
    monitor set_io_access_width,RW,2,88040-88042,88116-8811e,88126-8812a,88136-8813a,88146-8814e,88156-8815a,88166-8816a,88204-8820a,88214-8821a,89000,89004,89008,8900e-89010,89014,89018,8901e,8901e-8902e,89066
    monitor set_io_access_width,RW,2,8906e,89080,89084-89086,89090,89094,89098,8909c-890a0,890a8-890aa,890d4,89100,89104-8910a,8910e-8911e,8911e-89148,8916e,89180,89184-89186,89190,89194-891a2,891a8-891aa
    monitor set_io_access_width,RW,2,891d4-891d6,89e10-89e16,89e1a,8a00e-8a010,8a01a,8a02e-8a030,8a03a,8a04e-8a050,8a05a,8a06e-8a070,8a07a,8a08e-8a090,8a09a,8a0ae-8a0b0,8a0ba,8a0ce-8a0d0,8a0da,8b006-8b00a
    monitor set_io_access_width,RW,2,8b082-8b084,8b30e-8b310,8c40e,8c41c,8c41c,8c42a-8c42c,8c4c0-8c4c8,8c4cc,8c4d0-8c4d2,8c4d6-8c4dc,90204,9020e,90214,9021e,90224,9022e,90234,9023e,90244,9024e,90254,9025e,90264
    monitor set_io_access_width,RW,2,9026e,90274,9027e,90284,9028e,90294,9029e,902a4,902ae,902b4,902be,902c4,902ce,902d4,902de,902e4,902ee,902f4,902fe,90304,9030e,90314,9031e,90324,9032e,90334,9033e,90344,9034e
    monitor set_io_access_width,RW,2,90354,9035e,90364,9036e,90374,9037e,90384,9038e,90394,9039e,903a4,903ae,903b4,903be,903c4,903ce,903d4,903de,903e4,903ee,903f4,903fe,90840-90842,90854-90856,91204,9120e,91214
    monitor set_io_access_width,RW,2,9121e,91224,9122e,91234,9123e,91244,9124e,91254,9125e,91264,9126e,91274,9127e,91284,9128e,91294,9129e,912a4,912ae,912b4,912be,912c4,912ce,912d4,912de,912e4,912ee,912f4,912fe
    monitor set_io_access_width,RW,2,91304,9130e,91314,9131e,91324,9132e,91334,9133e,91344,9134e,91354,9135e,91364,9136e,91374,9137e,91384,9138e,91394,9139e,913a4,913ae,913b4,913be,913c4,913ce,913d4,913de,913e4
    monitor set_io_access_width,RW,2,913ee,913f4,913fe,91840-91842,91854-91856,92204,9220e,92214,9221e,92224,9222e,92234,9223e,92244,9224e,92254,9225e,92264,9226e,92274,9227e,92284,9228e,92294,9229e,922a4,922ae
    monitor set_io_access_width,RW,2,922b4,922be,922c4,922ce,922d4,922de,922e4,922ee,922f4,922fe,92304,9230e,92314,9231e,92324,9232e,92334,9233e,92344,9234e,92354,9235e,92364,9236e,92374,9237e,92384,9238e,92394
    monitor set_io_access_width,RW,2,9239e,923a4,923ae,923b4,923be,923c4,923ce,923d4,923de,923e4,923ee,923f4,923fe,92840-92842,92854-92856,94200,94204,94208,94280,94284,94288,a0000,a0004,a0008,a0014,a0018,a001c
    monitor set_io_access_width,RW,2,a0020-a0022,a0028-a0032,a0036-a003c,a0040-a0042,a0046-a0050,a0054-a0060,a0064,a0068,a006c-a0080,a0090-a00a2,a00d0-a00da,c1210-c122a,c1240,c1244-c124a,c1272-c1276,c1306-c130e
    monitor set_io_access_width,RW,2,c1320-c1322,c1386-c138a,c1406-c140a,c1a10-c1a2a,c1a40,c1a44-c1a4a,c1a72-c1a76,c1c80-c1c82,c1c90-c1c92,c1ca0-c1ca2,d000e,d000e-d0010,d0010,d0014-d001a,d002e,d002e-d0030,d0030
    monitor set_io_access_width,RW,2,d0034-d003a,d004e,d004e-d0050,d0050,d0054-d005a,d006e,d006e-d0070,d0070,d0074-d007a,d00ee,d00ee-d00f0,d00f0,d00f4-d00fa,d0110-d011e,d0150-d015e,d0310-d031e,7fe084,7fe08c
    monitor set_io_access_width,RW,2,7fe0a0,7fe0e0,7fe0e4,7fe0e8
    monitor set_io_access_width,RW,1,8002a,80030,80032-80037,8003c,80040-80041,8004a-8004b,800a0-800a3,800c0,800e0-800e3,8101c,81200-81201,81204,81240-81241,81244,812c0-812c4,812d0,812d4,81300,81304,81308,82013
    monitor set_io_access_width,RW,1,8201c-8201f,82053,8205c-8205f,82093,8209c-8209f,820d3,820dc-820df,82113,8211c-8211f,82153,8215c-8215f,82193,8219c-8219f,821d3,821dc-821df,82200,82204,82400,82408,8240c,82414
    monitor set_io_access_width,RW,1,82812-82813,8281c-8281e,82820-82822,82852-82853,8285c-8285e,82860-82862,82a00,83c00-83c02,83c10,83c16,83c20,83c40,83c50,87000-8721f,872e0-872e1,87300-87400,87404,87408,8740c
    monitor set_io_access_width,RW,1,87410,87414,87418,8741c,87500-8750f,87520-87521,87580-87586,87590,87594,87700-8770b,87780-877cf,87900-8790a,8790c,879d0-87a01,88020,88026,88030,88036,88038,88044-88046,88048
    monitor set_io_access_width,RW,1,8805c,88100-88101,88108-8810d,88110-88115,88120-88122,88124-88125,88130-88132,88134-88135,88140-88145,88150-88152,88154-88155,88160-88162,88164-88165,881e6-881f0,881f6-8820d
    monitor set_io_access_width,RW,1,88210-8821d,88280,88300-88313,88320-88333,88340-88353,8900c,89063,8907a,8907c,8908c,890a6,890ac,890d9,890e0-890e7,8910c,89163,8917a,8918c,89192-89193,891a4,891a6,891ac
    monitor set_io_access_width,RW,1,891d8-891d9,891dd-891ef,89e00-89e03,89e08-89e0e,89e18,8a000,8a000-8a002,8a002-8a004,8a004-8a006,8a006-8a00d,8a012-8a013,8a01c,8a020,8a020-8a022,8a022-8a024,8a024-8a026
    monitor set_io_access_width,RW,1,8a026-8a02d,8a032-8a033,8a03c,8a040,8a040-8a042,8a042-8a044,8a044-8a046,8a046-8a04d,8a052-8a053,8a05c,8a060,8a060-8a062,8a062-8a064,8a064-8a066,8a066-8a06d,8a072-8a073,8a07c
    monitor set_io_access_width,RW,1,8a080,8a080-8a082,8a082-8a084,8a084-8a086,8a086-8a08d,8a092-8a093,8a09c,8a0a0,8a0a0-8a0a2,8a0a2-8a0a4,8a0a4-8a0a6,8a0a6-8a0ad,8a0b2-8a0b3,8a0bc,8a0c0,8a0c0-8a0c2,8a0c2-8a0c4
    monitor set_io_access_width,RW,1,8a0c4-8a0c6,8a0c6-8a0cd,8a0d2-8a0d3,8a0dc,8b000-8b004,8b080,8b100-8b101,8b104-8b105,8b108,8b10b-8b10e,8b110-8b111,8b113-8b11d,8b11f-8b12d,8b131,8b133-8b136,8b13d,8b13f,8b141
    monitor set_io_access_width,RW,1,8b146-8b14f,8b300,8b300-8b302,8b302-8b304,8b304-8b306,8b306-8b30d,8b312,8b320-8b333,8c000-8c017,8c020-8c037,8c040-8c057,8c060-8c077,8c080-8c0af,8c0c0-8c0d7,8c0e0-8c0e2,8c0e5
    monitor set_io_access_width,RW,1,8c0e7-8c0ee,8c0f0-8c0f7,8c100,8c102-8c109,8c10e,8c11f,8c128-8c12b,8c12d-8c136,8c138-8c143,8c145,8c147-8c15c,8c160-8c16a,8c16c-8c174,8c176-8c177,8c179-8c1ba,8c1bd,8c1c0-8c1d3
    monitor set_io_access_width,RW,1,8c1d5,8c1d8-8c1f5,8c1f8-8c1ff,8c280,8c282-8c28d,8c290-8c291,8c293-8c294,8c296-8c298,8c29a-8c29b,8c2a0-8c2bf,8c400,8c402,8c402,8c404,8c404,8c406,8c406,8c408,8c408,8c40a,8c40c
    monitor set_io_access_width,RW,1,8c410,8c410,8c412,8c412,8c414,8c414,8c416,8c416,8c418,8c418,8c41a,8c41a,8c41e,8c41e,8c422,8c424,8c426,8c428,8c42e,8c440,8c442,8c444,8c452,8c452,8c454,8c454,8c456,8c456,8c45a
    monitor set_io_access_width,RW,1,8c45a,8c45c,8c462,8c462,8c464,8c464,8c466,8c466,8c46a,8c46a,8c46c,8c472,8c472,8c474,8c474,8c476,8c476,8c47a,8c47a,8c47c,8c4ca-8c4cb,8c4e4-8c4e8,8c4ea,8c500,8c5c0,90206-9020d
    monitor set_io_access_width,RW,1,90216-9021d,90226-9022d,90236-9023d,90246-9024d,90256-9025d,90266-9026d,90276-9027d,90286-9028d,90296-9029d,902a6-902ad,902b6-902bd,902c6-902cd,902d6-902dd,902e6-902ed
    monitor set_io_access_width,RW,1,902f6-902fd,90306-9030d,90316-9031d,90326-9032d,90336-9033d,90346-9034d,90356-9035d,90366-9036d,90376-9037d,90386-9038d,90396-9039d,903a6-903ad,903b6-903bd,903c6-903cd
    monitor set_io_access_width,RW,1,903d6-903dd,903e6-903ed,903f6-903fd,90820,90820-90821,90821-90822,90822-90823,90823-90824,90824-90825,90825-90826,90826-90827,90827-90828,90828-90829,90829-9082a,9082a-9082b
    monitor set_io_access_width,RW,1,9082b-9082c,9082c-9082d,9082d-9082e,9082e-9082f,9082f-90830,90830-90831,90831-90832,90832-90833,90833-90834,90834-90835,90835-90836,90836-90837,90837-90838,90838-90839
    monitor set_io_access_width,RW,1,90839-9083a,9083a-9083b,9083b-9083c,9083c-9083d,9083d-9083e,9083e-9083f,9083f,90848-90853,90858,91206-9120d,91216-9121d,91226-9122d,91236-9123d,91246-9124d,91256-9125d
    monitor set_io_access_width,RW,1,91266-9126d,91276-9127d,91286-9128d,91296-9129d,912a6-912ad,912b6-912bd,912c6-912cd,912d6-912dd,912e6-912ed,912f6-912fd,91306-9130d,91316-9131d,91326-9132d,91336-9133d
    monitor set_io_access_width,RW,1,91346-9134d,91356-9135d,91366-9136d,91376-9137d,91386-9138d,91396-9139d,913a6-913ad,913b6-913bd,913c6-913cd,913d6-913dd,913e6-913ed,913f6-913fd,91820,91820-91821,91821-91822
    monitor set_io_access_width,RW,1,91822-91823,91823-91824,91824-91825,91825-91826,91826-91827,91827-91828,91828-91829,91829-9182a,9182a-9182b,9182b-9182c,9182c-9182d,9182d-9182e,9182e-9182f,9182f-91830
    monitor set_io_access_width,RW,1,91830-91831,91831-91832,91832-91833,91833-91834,91834-91835,91835-91836,91836-91837,91837-91838,91838-91839,91839-9183a,9183a-9183b,9183b-9183c,9183c-9183d,9183d-9183e
    monitor set_io_access_width,RW,1,9183e-9183f,9183f,91848-91853,91858,92206-9220d,92216-9221d,92226-9222d,92236-9223d,92246-9224d,92256-9225d,92266-9226d,92276-9227d,92286-9228d,92296-9229d,922a6-922ad
    monitor set_io_access_width,RW,1,922b6-922bd,922c6-922cd,922d6-922dd,922e6-922ed,922f6-922fd,92306-9230d,92316-9231d,92326-9232d,92336-9233d,92346-9234d,92356-9235d,92366-9236d,92376-9237d,92386-9238d
    monitor set_io_access_width,RW,1,92396-9239d,923a6-923ad,923b6-923bd,923c6-923cd,923d6-923dd,923e6-923ed,923f6-923fd,92820,92820-92821,92821-92822,92822-92823,92823-92824,92824-92825,92825-92826,92826-92827
    monitor set_io_access_width,RW,1,92827-92828,92828-92829,92829-9282a,9282a-9282b,9282b-9282c,9282c-9282d,9282d-9282e,9282e-9282f,9282f-92830,92830-92831,92831-92832,92832-92833,92833-92834,92834-92835
    monitor set_io_access_width,RW,1,92835-92836,92836-92837,92837-92838,92838-92839,92839-9283a,9283a-9283b,9283b-9283c,9283c-9283d,9283d-9283e,9283e-9283f,9283f,92848-92853,92858,c1200-c120a,c120d-c120f
    monitor set_io_access_width,RW,1,c122c-c122d,c1230-c1232,c1234,c1236,c1238-c123c,c124c-c124d,c1260,c1270,c1280-c1282,c1284,c1290-c1294,c1298-c1299,c1300-c1304,c1324,c1326,c1328,c1380-c1382,c1384-c1385
    monitor set_io_access_width,RW,1,c1390-c1391,c1394,c1400-c1402,c1404-c1405,c140c,c1600-c1604,c1606,c1a00-c1a0a,c1a0e-c1a0f,c1a2c-c1a2d,c1a30-c1a32,c1a34,c1a36,c1a38-c1a3c,c1a4c-c1a4d,c1a50,c1a60,c1a70
    monitor set_io_access_width,RW,1,c1a80-c1a81,c1a84,c1a93-c1a95,c1c84-c1c86,c1c94-c1c96,c1ca4-c1ca6,c1cb2,c1cb4,c1cb6,d0000,d0000-d0002,d0002-d0004,d0004,d0004-d0006,d0006-d000d,d0012-d0013,d001c,d0020
    monitor set_io_access_width,RW,1,d0020-d0022,d0022-d0024,d0024,d0024-d0026,d0026-d002d,d0032-d0033,d003c,d0040,d0040-d0042,d0042-d0044,d0044,d0044-d0046,d0046-d004d,d0052-d0053,d005c,d0060,d0060-d0062
    monitor set_io_access_width,RW,1,d0062-d0064,d0064,d0064-d0066,d0066-d006d,d0072-d0073,d007c,d00e0,d00e0-d00e2,d00e2-d00e4,d00e4,d00e4-d00e6,d00e6-d00ed,d00f2-d00f3,d00fc,d0100-d0103,d0108-d010f,d0120
    monitor set_io_access_width,RW,1,d0140-d0143,d0148-d014f,d0160,d0300-d0303,d0308-d030f,d0320,7fc040,7fe010,7fe014,7fe018,7fe0d0,7fe0d4

  • Debugger Consoleにgdbのログらしきものがあったので一応添付します。

    GNU gdb (GDB) 7.8.2-20210305-Build_1
     Copyright (C) 2014 Free Software Foundation, Inc.
     License GPLv3+: GNU GPL version 3 or later <gnu.org/.../gpl.html>
     This is free software: you are free to change and redistribute it.
     There is NO WARRANTY, to the extent permitted by law. Type "show copying"
     and "show warranty" for details.
     This GDB was configured as "--host=i686-pc-mingw32 --target=rx-elf".
     Type "show configuration" for configuration details.
     For bug reporting instructions, please see:
     <www.gnu.org/.../>.
     Find the GDB manual and other documentation resources online at:
     <www.gnu.org/.../>.
     For help, type "help".
     Type "apropos word" to search for commands related to "word".
     monitor set_io_access_width,RW,4,80010-80020,81040-8104c,81208,81248,812c8-812cc,82000-82008,82018,82040-82048,82080-82088,820c0-820c8,82100-82108,82140-82148,82180-82188,821c0-821c8,82404,82410,82418
     monitor set_io_access_width,RW,4,82800-82808,82814-82818,82840-82848,82854,82be0-82bfc,83004-83008,83014-83018,83024-83028,83034-83038,83044-83048,83054-83058,83064-83068,83074-83078,83c44,86400-8643c
     monitor set_io_access_width,RW,4,86500-8650c,86514,86520,86528-8652c,875b0-875b8,87600,87630-87638,87640,87670-87678,87680,87830-87834,87870-87874,88284-88288,88500,88508-88534,8853c-8854c,88570-88574,8857c
     monitor set_io_access_width,RW,4,89e04,89e1c-89e28,8a500-8a504,8a510-8a524,8a540-8a544,8a550-8a564,8ac00,8ac08,8ac10-8ac18,8ac20,8ac28,8ac30,8ac38-8ac50,8ac58-8ac60,8ac68-8ac70,8adb0,8adc0-8adc4,8ade0,90200
    以下同じようなログ。(全部貼ろうとすると行数が多いのか投稿することができません。)
  • ハギさん、こんにちは。NoMaYです。

    すみませんでした。gdb tracesウィンドウは以下の画面コピーのように開いて下さい。そして、まずは、終わりの方の数十行分の画面コピーを見せて頂けませんか?

    以下、e2 studioの画面コピーです。



     

  • NoMayさん

    ハギです。

    ご説明いただきありがとうございます。

    以下ロードに失敗するときのログです。

    028,930 (gdb) 
    028,932 106exec-file C:\\WorkSpace\\29_RFIP\\AP-RX72N-0A\\ap_rx72n_0a\\HardwareDebug\\ap_rx72n_0a.x
    028,932 107load C:\\WorkSpace\\29_RFIP\\AP-RX72N-0A\\ap_rx72n_0a\\HardwareDebug\\ap_rx72n_0a.x 0x0
    028,932 108load C:\\WorkSpace\\29_RFIP\\AP-RX72N-0A\\ap_rx72n_0a\\HardwareDebug\\ap_rx72n_0a.x 0xFFE\
    00000
    028,941 &"exec-file C:\\\\WorkSpace\\\\29_RFIP\\\\AP-RX72N-0A\\\\ap_rx72n_0a\\\\HardwareDebug\\\\ap_\
    rx72n_0a.x\n"
    028,941 ~"A program is being debugged already.\nAre you sure you want to change the file? "
    028,941 ~"(y or n) [answered Y; input not from terminal]\n"
    028,941 106^done
    028,941 (gdb) 
    028,942 &"load C:\\\\WorkSpace\\\\29_RFIP\\\\AP-RX72N-0A\\\\ap_rx72n_0a\\\\HardwareDebug\\\\ap_rx72n\
    _0a.x 0x0\n"
    028,943 ~"Loading section $ADDR_C_FE7F5D00, size 0xc lma 0xfe7f5d00\n"
    029,358 107+download,{section="$ADDR_C_FE7F5D00",section-size="12",total-size="1163461"}
    029,358 ~"Loading section $ADDR_C_FE7F5D10, size 0x4 lma 0xfe7f5d10\n"
    029,365 107+download,{section="$ADDR_C_FE7F5D10",section-size="4",total-size="1163461"}
    029,365 ~"Loading section $ADDR_C_FE7F5D40, size 0x4 lma 0xfe7f5d40\n"
    029,371 107+download,{section="$ADDR_C_FE7F5D40",section-size="4",total-size="1163461"}
    029,371 ~"Loading section $ADDR_C_FE7F5D48, size 0x4 lma 0xfe7f5d48\n"
    029,377 107+download,{section="$ADDR_C_FE7F5D48",section-size="4",total-size="1163461"}
    029,377 ~"Loading section $ADDR_C_FE7F5D50, size 0x10 lma 0xfe7f5d50\n"
    029,398 107+download,{section="$ADDR_C_FE7F5D50",section-size="16",total-size="1163461"}
    029,398 ~"Loading section $ADDR_C_FE7F5D64, size 0x4 lma 0xfe7f5d64\n"
    029,404 107+download,{section="$ADDR_C_FE7F5D64",section-size="4",total-size="1163461"}
    029,404 ~"Loading section $ADDR_C_FE7F5D70, size 0x4 lma 0xfe7f5d70\n"
    029,410 107+download,{section="$ADDR_C_FE7F5D70",section-size="4",total-size="1163461"}
    029,410 ~"Loading section .text, size 0x17247 lma 0xffe00000\n"
    029,414 107+download,{section=".text",section-size="94791",total-size="1163461"}
    029,503 107+download,{section=".text",section-sent="69520",section-size="94791",total-sent="69568",t\
    otal-size="1163461"}
    029,540 ~"Loading section VECT, size 0x30 lma 0xffe17248\n"
    029,542 107+download,{section="VECT",section-size="48",total-size="1163461"}
    029,542 ~"Loading section C_1, size 0x799 lma 0xffe17278\n"
    029,547 107+download,{section="C_1",section-size="1945",total-size="1163461"}
    029,547 ~"Loading section D_1, size 0x13 lma 0xffe17a11\n"
    029,554 107+download,{section="D_1",section-size="19",total-size="1163461"}
    029,554 ~"Loading section C_2, size 0x408 lma 0xffe17a24\n"
    029,556 107+download,{section="C_2",section-size="1032",total-size="1163461"}
    029,556 ~"Loading section D_2, size 0x4 lma 0xffe17e2c\n"
    029,558 107+download,{section="D_2",section-size="4",total-size="1163461"}
    029,558 ~"Loading section .rodata, size 0x908 lma 0xffe17e30\n"
    029,562 107+download,{section=".rodata",section-size="2312",total-size="1163461"}
    029,562 ~"Loading section .data, size 0x84 lma 0xffe18738\n"
    029,564 107+download,{section=".data",section-size="132",total-size="1163461"}
    029,564 ~"Loading section W_1, size 0x33 lma 0xffe187bc\n"
    029,567 107+download,{section="W_1",section-size="51",total-size="1163461"}
    029,567 ~"Loading section W_2, size 0x52 lma 0xffe187f0\n"
    029,570 107+download,{section="W_2",section-size="82",total-size="1163461"}
    029,570 ~"Loading section L, size 0xd9a lma 0xffe18844\n"
    029,574 107+download,{section="L",section-size="3482",total-size="1163461"}
    029,578 ~"Loading section C$DSEC, size 0x24 lma 0xffe195e0\n"
    029,580 107+download,{section="C$DSEC",section-size="36",total-size="1163461"}
    029,580 ~"Loading section C$BSEC, size 0x18 lma 0xffe19604\n"
    029,582 107+download,{section="C$BSEC",section-size="24",total-size="1163461"}
    029,582 ~"Loading section PFRAM2, size 0x13c lma 0xffe1961c\n"
    029,583 107+download,{section="PFRAM2",section-size="316",total-size="1163461"}
    029,583 ~"Loading section PFRAM, size 0xa8a lma 0xffe19758\n"
    029,589 107+download,{section="PFRAM",section-size="2698",total-size="1163461"}
    029,589 ~"Loading section FIXEDVECT, size 0x80 lma 0xffffff80\n"
    029,591 107+download,{section="FIXEDVECT",section-size="128",total-size="1163461"}
    029,591 ~"Start address 0x0, load size 107148\n"
    029,591 ~"Transfer rate: 161 KB/sec, 1948 bytes/write.\n"
    029,591 107^done
    029,592 (gdb) 
    029,592 &"load C:\\\\WorkSpace\\\\29_RFIP\\\\AP-RX72N-0A\\\\ap_rx72n_0a\\\\HardwareDebug\\\\ap_rx72n\
    _0a.x 0xFFE00000\n"
    029,592 ~"Loading section $ADDR_C_FE7F5D00, size 0xc lma 0xfe5f5d00\n"
    029,592 &"Load failed\n"
    029,592 108^error,msg="Load failed"
    029,592 (gdb) 
    029,593 109-gdb-exit
    029,602 109^exit
    029,602 =thread-exited,id="1",group-id="i1"
    029,602 =thread-group-exited,id="i1"
  • ハギさん、こんにちは。NoMaYです。

    どうもありがとうございました。それで、頂いたログの以下の部分なのですが、バンク1へダウンロードするプログラムに含まれていたオプション設定メモリデータも 0xFFE00000(つまり -0x200000) のオフセットを付けてダウンロードしようとしていて、でも実際はそこにはオプション設定メモリが存在していませんので、e2 studioの下位ルーチン/下位プログラムにてエラーで弾かれてしまっているのだろうと推測しています。
     

    029,592 &"load C:\\\\WorkSpace\\\\29_RFIP\\\\AP-RX72N-0A\\\\ap_rx72n_0a\\\\HardwareDebug\\\\ap_rx72n\
    _0a.x 0xFFE00000\n"
    029,592 ~"Loading section $ADDR_C_FE7F5D00, size 0xc lma 0xfe5f5d00\n"
    029,592 &"Load failed\n"
    029,592 108^error,msg="Load failed"

     
    原因として、今時点で私で考えられるのは、以下の可能性です。

    (1) 提示されていたアプリケーションノートに記載が無いものの、実はサンプルではバンク1へダウンロードするプログラムからオプション設定メモリデータが取り除かれていた?

    オプション設定メモリデータはFITのBSPモジュールのソースで初期化データが定義されています。ファイルの場所は以下です。

    src/smc_gen/r_bsp/mcu/rx72n/vecttbl.c

    サンプルプログラムの実際のソースを確認してみて頂けませんか?

    (2) アプリケーションノートが発行された後、どこかの時点でe2 studioのエラーチェックが厳しくなって、アプリケーションノートのやり方が通用しなくなってしまっていた?

    これは過去のe2 studioをどこかから持ち出して確認するしかありませんけど、でも、上記の(1)で無ければ、こちらの理由では無いかなぁ、と思うのです。

    対策としては、以下が考えられます。

    (A) e2 studio上でバンク1へダウンロードするプログラムのソースからオプション設定メモリデータを取り除く
    (B) e2 studio上でバンク1へダウンロードするプログラムとしてMOTファイルを使ってCC-RXでMOTファイル化する時にリンカオプションにてオプション設定メモリデータを除外するようにする(手っ取り早くには手作業でエディタでMOTファイルを直接編集して取り除く手もあります)
    (C) 他方、本番(という表現で伝わるか自信が無いですが)で使うMOTファイルをXMODEMで送信した場合に、受信側でオプション設定メモリデータを無視するように作り込まれている可能性もあるかも?とも思います。(なので、MOTファイル化する時にCC-RXのリンカでオプション設定メモリデータを取り除く方法が分からない時、エディタでMOTファイルを直接編集してしまうことで事足りてしまうかも知れません。)

  • NoMaYさん

    ハギです。

    解決策のご提示ありがとうございます。

    (A)の方法を試したところ上手くいきました。

    サンプルのvecttbl.cの以下の記述をコメントアウトし、そのビルド結果のファイルをバンク1にダウンロードしたところ上手くいきました。

    #pragma address __MDEreg     = 0xFE7F5D00
    #pragma address __OFS0reg    = 0xFE7F5D04
    #pragma address __OFS1reg    = 0xFE7F5D08
    #pragma address __TMINFreg   = 0xFE7F5D10
    #pragma address __BANKSELreg = 0xFE7F5D20
    #pragma address __SPCCreg    = 0xFE7F5D40
    #pragma address __TMEFreg    = 0xFE7F5D48
    #pragma address __OSIS1reg   = 0xFE7F5D50
    #pragma address __OSIS2reg   = 0xFE7F5D54
    #pragma address __OSIS3reg   = 0xFE7F5D58
    #pragma address __OSIS4reg   = 0xFE7F5D5C
    #pragma address __FAWreg     = 0xFE7F5D64
    #pragma address __ROMCODEreg = 0xFE7F5D70

    const uint32_t __MDEreg     = (BSP_PRV_MDE_VALUE & BSP_PRV_BANK_MODE_VALUE);
    const uint32_t __OFS0reg    = BSP_CFG_OFS0_REG_VALUE;
    const uint32_t __OFS1reg    = BSP_CFG_OFS1_REG_VALUE;
    const uint32_t __TMINFreg   = 0xffffffff;
    const uint32_t __BANKSELreg = BSP_PRV_START_BANK_VALUE;
    const uint32_t __SPCCreg    = 0xffffffff;
    const uint32_t __TMEFreg    = BSP_CFG_TRUSTED_MODE_FUNCTION;
    const uint32_t __OSIS1reg   = BSP_CFG_ID_CODE_LONG_1;
    const uint32_t __OSIS2reg   = BSP_CFG_ID_CODE_LONG_2;
    const uint32_t __OSIS3reg   = BSP_CFG_ID_CODE_LONG_3;
    const uint32_t __OSIS4reg   = BSP_CFG_ID_CODE_LONG_4;
    const uint32_t __FAWreg     = BSP_CFG_FAW_REG_VALUE;
    const uint32_t __ROMCODEreg = BSP_CFG_ROMCODE_REG_VALUE;

    (B)の方法についても試してみたいと思います。

    大変助かりました。ありがとうございました。

  • ハギさん、こんにちは。NoMaYです。

    連絡ありがとうございました。ルネサスさんの方でアプリケーションノートを改版する必要がありそうですね。

    >  サンプルのvecttbl.cの以下の記述をコメントアウトし、そのビルド結果のファイルをバンク1にダウンロードしたところ上手くいきました。

    ということですと、アプリケーションノートが発行された当時もオプション設定メモリデータはダウンロードプログラムに含まれていた、ということになりそうですね。そして、アプリケーションノートが発行された後、どこかの時点でe2 studioのエラーチェックが厳しくなって、アプリケーションノートのやり方が通用しなくなってしまっていた、ということになりそうですね。

  • NoMaYさん

    ハギです。

    先週から技術サポートの方にも同じ内容を問い合わせしておりましたが、昨日以下の回答をいただきました。


    Renesas e2 studio Version: 2021-04で仕様変更があったため、e2 studioのメニュー

    [実行]→[デバッグの構成]で開くデバッグ構成ダイアログのStartupタブにある初期化

    コマンド欄とコマンドを実行欄に、下記を設定いただけますでしょうか。

     ・初期化コマンド欄

          delete mem

           mem 0x00000000 0x100000000 rw nocache

     ・コマンドを実行欄

           mem auto


    上記対策でも動くことを確認しました。

    どこかの時点でe2 studioのエラーチェックが厳しくなって、アプリケーションノートのやり方が通用しなくなってしまっていた、ということになりそうですね。

    その通りでした。