******************************************************************************
    MICRO C CUBE / STANDARD, SAMPLE
    Renesas  Renesas Starter Kit for RZ/T1 CPU Board 岦偗僒儞僾儖僾儘僌儔儉
    Copyright (c)  2016, eForce Co., Ltd. All rights reserved.
******************************************************************************

丒杮僼傽僀儖偼丄僒儞僾儖僾儘僌儔儉偺奣梫丄媦傃愱梡僨僶僀僗僪儔僀僶傪娷傓応崌偼
  偦偺奣梫丄偦偺傎偐丄峏怴棜楌側偳偺忣曬傪婰弎偟偰偄傑偡丅


劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
侾丏僒儞僾儖僾儘僌儔儉偺奣梫
劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅
DHCP僋儔僀傾儞僩,HTTP僒乕僶乕,FTP僒乕僶傪慻傒崌傢偣偨僒儞僾儖僾儘僌儔儉偱偡丅

丒DHCP僋儔僀傾儞僩
DHCP僒乕僶偐傜摦揑偵IP傾僪儗僗傪庢摼偟帺儂僗僩偵妱傝摉偰傑偡丅
庢摼偟偨IP傾僪儗僗偼僔儕傾儖僐儞僜乕儖(SCIF2)偐傜乽ip乿偲擖椡偡傞偙偲偱
僔儕傾儖偵IP傾僪儗僗偑弌椡偝傟傑偡丅

丒HTTP僒乕僶乕
僂僃僽僽儔僂僓偐傜LED偺揰柵娫妘傪100msec扨埵偱曄峏偡傞偙偲偑壜擻偱偡丅
僂僃僽僽儔僂僓偐傜壓婰URL傪奐偒丄僞乕僎僢僩儃乕僪偵傾僋僙僗偟偰偔偩偝偄丅

 http://IP傾僪儗僗/

丒FTP僒乕僶乕
Windows偺僐儅儞僪僾儘儞僾僩偐傜師偺僐儅儞僪傪擖椡偟偰僞乕僎僢僩儃乕僪忋偺
FTP僒乕僶偵愙懕偟偰偔偩偝偄丅

 ftp 僞乕僎僢僩偺IP傾僪儗僗

儐乕僓柤偲僷僗儚乕僪偼昁梫偁傝傑偣傫丅


劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
俀丏奐敪娐嫬
劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅
丂杮僒儞僾儖僾儘僌儔儉偼壓婰偺昡壙儃乕僪偲奐敪僣乕儖傪巊梡偟偰偄傑偡丅

  昡壙儃乕僪       : RZ/T1 Evaluation Board (RTK7910022C00000BR)
  僐儞僷僀儔       : KPIT GNU-ARM-NONE-EABI v14.02
  JTAG僄儈儏儗乕僞 : J-Link Ultra+


劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
俁丏昡壙儃乕僪偺愝掕
劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅
丂USB働乕僽儖偱昡壙儃乕僪J8偲PC傪愙懕偟傑偡丅昡壙儃乕僪偼SCIFA2婡擻傪PC偵採嫙偟傑偡丅
丂傑偨丄PC偺僨僶僀僗儅僱乕僕儍乕偺億乕僩乮COM偲LPT)偵乬CDC USB(COMxx)乭偑捛壛偝傟傑偡丅
PC偺僞乕儈僫儖丒僄儈儏儗乕僞偱捛壛偝傟偨億乕僩(COMxx)傪奐偄偰偔偩偝偄丅
         
  儂僗僩PC偺僞乕儈僫儖僜僼僩偺愝掕偼丄師偺傛偆偵偟傑偡丅
  劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
  劆Baud rate  Data  Parity  Stop  Flow control   劆
  劆---------  ----  ------  ----  ------------   劆
  劆 115200    8bit   none   1bit   NONE          劆
  劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

  僨僶僢僈丄揹尮傪強掕偺僐僱僋僞偵愙懕偟偰偔偩偝偄丅

仭僕儍儞僷丄僗僀僢僠摍
  僕儍儞僷丄僗僀僢僠傪埲壓偺傛偆偵愝掕偟偰偔偩偝偄丅
  
  丒JP2
    2-3傪僔儑乕僩(弌壸帪偺愝掕)
  丒JP7
    1-2傪僔儑乕僩(弌壸帪偺愝掕)
  丒SW4 
    1 ON         (弌壸帪偺愝掕)
    2 ON         (弌壸帪偺愝掕)
    3 ON         (弌壸帪偺愝掕)
    4 ON         (弌壸帪偺愝掕)
    5 ON         (弌壸帪偺愝掕)
    6 OFF        (弌壸帪偺愝掕)

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
係丏儘乕僪儌僕儏乕儖偺惗惉
劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅

係丏侾丏僜乕僗丒僼傽僀儖偺惗惉
-------------------------------
丂偼偠傔偵丄僐儞僼傿僊儏儗乕僞(Configurator.exe)傪巊梡偟偰僜乕僗丒僼傽僀儖傪惗惉偟傑偡丅
僐儞僼傿僊儏儗乕僞傪婲摦偟偰"sample.3cf"傪奐偒丄[僾儘僕僃僋僩]->[僜乕僗惗惉]傪巜掕偟
偰壓婰偺僼僅儖僟偵僜乕僗丒僼傽僀儖傪惗惉偟偰偔偩偝偄丅
 (僷僢働乕僕傪C:\uC3偵僀儞僗僩乕儖偟偨応崌傪椺偲偟傑偡)

    C:\uC3\Standard\Sample\RTK7910022C00000BR.NET\GCC\RAM\src\sample


係丏俀丏儘乕僪儌僕儏乕儖偺價儖僪
---------------------------------
丂E2STUDIO傛傝幚峴僶僀僫儕傪惗惉偟傑偡丅

丂 C:\uC3\Standard\Sample\RTK7910022C00000BR.NET\GCC\RAM\project\ram
攝壓偺sample_cr4僾儘僕僃僋僩傪僀儞億乕僩偟傑偡丅
丂偦偟偰丄儊僯儏乕偺乽Project乿仺乽Make乿偵傛傝儘乕僪儌僕儏乕儖傪惗惉偟傑偡丅
側偍丄僾儘僕僃僋僩偺價儖僪峔惉偼埲壓傪梡堄偟偰偄傑偡丅

    價儖僪峔惉          幚峴儊儌儕    ARM/THUMB     
    -----------------  ------------  ------------  
    RAM_SRAM            撪憼RAM仸1    ARM           
    ARM_SDRAM_Debug     SDRAM仸2      ARM           
    RAM_TCM             TCM仸3        ARM           

    仸1 撪憼RAM
        僐乕僪傪0x24000000斣抧丆僨乕僞傪0x22000000斣抧偵攝抲丅
    仸2 SDRAM
        僐乕僪偲僨乕僞傪0x48000000斣抧偵攝抲丅
        SDRAM偺弶婜壔偼僨僶僢僈儅僋儘僼傽僀儖(RZT1_SDRAM.mac)偵偰峴偭偰偄傑偡丅
    仸3 TCM
        僐乕僪偲僨乕僞傪0x00000100斣抧偵攝抲丅
        僨僶僢僈儅僋儘僼傽僀儖(RZT1_RAM.mac)偵偰ATCM僂僄僀僩傪乭1-wait嵟揔壔偁傝乭偵
        愝掕偟偰偄傑偡丅

係丏俁丏曗懌偲拲堄帠崁
-----------------------
丂僶僗僗僥乕僩僐儞僩儘乕儔偺弶婜壔偼僨僶僢僈偺僐儅儞僪偱峴偭偰偄傑偡丅
偦偺偨傔丆僐儞僼傿僌儗乕僞乕偱奜晹僶僗僐儞僩儘乕儔偵娭學偡傞IO億乕僩愝掕偼峴傢側
偄偱偔偩偝偄丅


劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
俆丏僟僂儞儘乕僪偲幚峴
劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅
仭J-Link傪巊梡

丂E2Studio偐傜"Renesas GDB Hadware Debugging"傪慖戰偟偰僨僶僢僌偱偒傑偡丅
丂SPI Flash彂偒崬傒屻偵僨僶僢僈偐傜儕僙僢僩傪峴偄僨僶僢僌偟偰偔偩偝偄丅


劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
俇丏僇僗僞儅僀僘
劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅
昁梫偱偁傟偽丄僐儞僼傿僌儗乕僞偱埲壓偺崁栚傪曄峏偟偰偔偩偝偄丅
丒乽僱僢僩傾僾儕働乕僔儑儞乿丂仺丂乽DHCP Client Ext乿丂仺丂乽奼挘婡擻傪巊梡偡傞乿傪OFF
丒乽僀儞僞僼僃乕僗乿丂仺丂乽ID_NETIF_DEV1乿傪僟僽儖僋儕僢僋偟
丂乽師偺IP傾僪儗僗傪巊偆乿傪僠僃僢僋偟偰IP傾僪儗僗傗MAC傾僪儗僗側偳傪曇廤
  
  椺)
     IP傾僪儗僗       : 192.168.100.111
     僎乕僩僂僃僀     : 192.168.100.1
     僒僽僱僢僩儅僗僋 : 255.255.255.0
     MAC傾僪儗僗      : 12-34-56-78-0B-52

丒LAN僐僱僋僞
  師偺偄偢傟偐偺LAN僐僱僋僞傪巊梡偟偰捠怣偱偒傑偡丅
  - J2 (EtherCAT2)
  - J7 (EtherMAC)
  
  奺僐僱僋僞傪巊梡偡傞偨傔偵僐儞僼傿僌儗乕僞偱師偺愝掕傪曄峏偟偰偔偩偝偄丅
  
  - CPU僞僽乮椺丗R7S910017乯傪慖戰偟丄乽Ethernet0乿夋柺傪昞帵
    乽MAC僙儗僋僩乿偺僐儞儃儃僢僋僗偐傜壓婰偺偢傟偐傪慖戰
      EthernetMAC乮J2(EtherCAT2)偺応崌乯
      EtherCAT乮J7(EtherMAC)偺応崌乯
  
    乽PHY傾僪儗僗乿偺僄僨傿僢僩儃僢僋僗偵壓婰偺偄偢傟偐偺抣傪愝掕
      0x02乮J2(EtherCAT2)偺応崌乯
      0x01乮J7(EtherMAC)偺応崌乯


劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
俈丏峏怴棜楌
劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅
Version Information
    2016.02.22: 怴婯嶌惉. e2 studio 4.3.0.007偵懳墳
