GR-SAKURA
GR-KURUMI
GR-COTTON
GR-CITRUS
GR-PEACH
GR-KAEDE
GR-ADZUKI
GR-LYCHEE
GR-ROSE
GR-MANGO(*)
SNShield
Web Compiler
IDE for GR
TOPPERS関連
女子美コラボ
その他
※プロデューサミーティング中
作り方使い方資料
イベント関連
作品記事
体験記事
ライブラリ
ツール
その他・過去ファイル
はじめまして、Jigoro と申します。
GR-PEACH(RZ/A1H) で eLinux が走るということで、挑戦中です。
諸先輩方のおかげで、ubuntu 18.04にてクロスコンパイルできていると思うのですが、
$ ./build.sh jlnk u-boot
すると、ROMエリアへの書き込みにおいてエラーが発生します。 試しに、RAMエリアを指定してみると通ります。
$ ./build.sh jlink u-boot 0x20000000
こちらはOK。 シリアルフラッシュの領域に書こうとして失敗しているのか、書いた後にコケているのかが、今一つわかってないのですが、
J-Link(TAG) 使った書き込みの場合、何かオマジナイが必要でしょうか?
1.27mmピッチの 9pin については接続ミスしていないと思います(RAM上への書き込みはできていると思いますので)。
以下、参考に健闘中(検討中)ですgist.github.com/bradfa/63302c3b82a4b514c0a709e8e0ff78a0elinux.org/RZ-A/Boards/GR-PEACH-mainlineelinux.org/RZ-A/Boards/GR-PEACHelinux.org/RZ-A/Boards/GR-PEACH-bsp
Jigoro です。 Jlink 時のログを参考までに添付しておきます。
$ JLinkExe -speed 15000 -if JTAG -jtagconf -1,-1 -device R7S721001SEGGER J-Link Commander V6.40 (Compiled Oct 26 2018 15:08:38)DLL version V6.40, compiled Oct 26 2018 15:08:28
Connecting to J-Link via USB...O.K.Firmware: J-Link V10 compiled Oct 26 2018 12:04:17Hardware version: V10.10S/N: 260109528License(s): FlashBP, GDBOEM: SEGGER-EDUVTref=3.322V
Type "connect" to establish a target connection, '?' for helpJ-Link>connectDevice "R7S721001" selected.
Connecting to target via JTAGTotalIRLen = 4, IRPrint = 0x01JTAG chain detection found 1 devices: #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DPAP map detection skipped. Manually configured AP map found.AP[0]: AHB-AP (IDR: Not set)AP[1]: APB-AP (IDR: Not set)Using preconfigured AP[1] as APB-APAP[1]: APB-AP foundROMTbl[0][0]: CompAddr: 80002000 CID: B105900D, PID:04-003BB906 CTIROMTbl[0][1]: CompAddr: 80008000 CID: B105900D, PID:04-003BB906 CTIROMTbl[0][2]: CompAddr: 8000C000 CID: B105900D, PID:04-003BB906 CTIROMTbl[0][3]: CompAddr: 8000F000 CID: B105F00D, PID:04-000A3FA9 ???ROMTbl[0][4]: CompAddr: 80020000 CID: B105100D, PID:04-000BB4A9 ROM TableROMTbl[1][0]: CompAddr: 80021000 CID: B105900D, PID:04-001BB961 TMCROMTbl[1][1]: CompAddr: 80022000 CID: B105900D, PID:04-003BB906 CTIROMTbl[1][2]: CompAddr: 80023000 CID: B105900D, PID:04-004BB912 TPIUROMTbl[1][3]: CompAddr: 80024000 CID: B105900D, PID:04-001BB908 CSTFROMTbl[1][4]: CompAddr: 80030000 CID: B105900D, PID:04-000BBC09 Cortex-A9Found Cortex-A9 r3p06 code breakpoints, 4 data breakpointsDebug architecture ARMv7.0Data endian: littleMain ID register: 0x413FC090I-Cache L1: 32 KB, 256 Sets, 32 Bytes/Line, 4-WayD-Cache L1: 32 KB, 256 Sets, 32 Bytes/Line, 4-WaySystem control register: Instruction endian: little Level-1 instruction cache enabled Level-1 data cache enabled MMU enabled Branch prediction enabledMemory zones: [0]: Default (Default access mode) [1]: AHB-AP (AP0) (DMA like acc. in AP0 addr. space) [2]: APB-AP (AP1) (DMA like acc. in AP1 addr. space)Cortex-A9 identified.J-Link>loadbin output/u-boot-2017.05/u-boot.bin,0x18000000Halting CPU for downloading file.Downloading file [output/u-boot-2017.05/u-boot.bin]...
****** Error: Timeout while checking target RAM, core does not stop. (PC = 0x18007484, CPSR = 0x80000197, LR = 0x18007134)!Failed to prepare for programming.Failed to execute RAMCode for RAM check!Error while determining flash info (Bank @ 0x18000000)Unspecified error -1