;-------------------------------------------------------------------------- ; ; ; PEEDI sample target configuration file ; ; Ronetix ; ; Supported devices : Analog Devices ADSP-BF548 ; Board : ADSP-BF548 EZKIT LITE ; ; Revision : 1.2 ; ; Date : June 11, 2010 ; ; The file is delivered "AS IS" without warranty or condition of any ; kind, either express, implied or statutory. This includes without ; limitation any warranty or condition with respect to merchantability or ; fitness for any particular purpose, or against the infringements of ; intellectual property rights of others. ; ;-------------------------------------------------------------------------- ;-------------------------------------------------------------------------- ; The following section contains licenses that are required for PEEDI to ; operate. These licenses must be filled before using this file. ; The [LICENSE] section may contain license keys for one or more PEEDIs. ; ; Example: ; [LICENSE] ; KEY = UPDATE_24MAY2010, 1111-1111-1111-1 ; KEY = XXXXX, 2222-2222-2222-2 ; ; The [LICENSE] section may point to an external file which contains ; license keys for one or more PEEDIs. The external file must include ; the text [LICENSE] followed by all keys. ; ; Example: ; [LICENSE] ; FILE = tftp://192.168.3.1/license.txt ; or ; FILE=eep:license.txt ; or ; FILE = ftp://user:password@192.168.3.1/license.txt ; ; ; PEEDI is shipped with license keys stored in "eep:license.txt" and ; printed on a label on the bottom side of PEEDI. ; [LICENSE] FILE=eep:license.txt ;-------------------------------------------------------------------------- [DEBUGGER] PROTOCOL = gdb_remote ; gdb remote REMOTE_PORT = 2000 ; TCP/IP port [TARGET] PLATFORM = BLACKFIN ; platform is BLACKFIN [PLATFORM_BLACKFIN] JTAG_CHAIN = 5 ; list of IR lenght of all TAP controller in JTAG chain JTAG_CLOCK = 10000 ; JTAG Clock in [kHz] - 1MHz jtag clock for init operations and 6MHz for normal work JTAG_TDO_DELAY = 5 TRST_TYPE = PUSHPULL ; type of TRST output: OPENDRAIN or PUSHPULL CORE0 = BF548 ; TAP is BF537 CPU CORE0_STARTUP_MODE = reset CORE0_BREAKMODE = soft ; breakpoint mode: ; soft - software breakpiont ; hard - use hardware breakpoints instead of software CORE0_INIT = INIT_BF548 ; init section for the board CORE0_FLASH0 = NOR_FLASH CORE0_FLASH1 = NAND_FLASH CORE0_FLASH2 = SPI_FLASH CORE0_ENDIAN = LITTLE ; core is little endian CORE0_WORKSPACE = 0xFFA00000, 0x4000 ; start address and length in bytes for agent code CORE0_DATASPACE = 0xFF800000, 0x4000 ; start address and length in bytes for agent data CORE0_FILE = "myfile.bin", BIN, 0 ; default file CORE0_PATH = "tftp://192.168.3.60" ; default path [INIT_BF548] ; init NFC_CTL and PORTJ_FER mem write16 0xFFC03B00 0x0244 mem write16 0xFFC015E0 0x0006 ; Set up SPI pins - Port PORTE_FER mem write16 0xFFC01540 0x0017 ; Set port registers to make NOR FLASH accessible mem write32 0xffc00a14 0x1 mem write16 0xffc00a00 0x3 mem write16 0xffc015a0 0x3F00 mem write32 0xffc015bc 0x0 mem write16 0xffc015b0 0x3F00 mem write16 0xffc015c0 0xFFFF mem write32 0xffc015dc 0x0 mem write16 0xffc015d0 0xFFFF [NOR_FLASH] ;CHIP = 28F256P33T ; flash chip CHIP = CFI_FLASH ACCESS_METHOD = AGENT ; program method CHECK_ID = YES ; check chip ID CHIP_WIDTH = 16 ; chip is in 16 bit configuration CHIP_COUNT = 1 ; one chip is used BASE_ADDR = 0x20000000 FILE = "test256k.bin" BIN 0x20000000 AUTO_ERASE = NO ; erase before program AUTO_LOCK = NO ; lock after program [NAND_FLASH] CHIP = NAND_FLASH CPU = BF54X OOB_INFO = BLACKFIN_ECC ERASE_BAD_BLOCKS = NO FILE = "test256k.bin", bin, 0 [SPI_FLASH] CHIP = SPI25_FLASH ; the SPI FLASH chip will be autodetected CPU = BF5XX ; Blackfin CPU SPI_DIV = 128 ; Value to be set to the SPI_BAUD register SPI_CS = 1 ; FLASH /CS pin is connected to SPI chip select 1 - PG1 FILE = "test.bin", BIN, 0 [SERIAL] ; serial port configuration BAUD = 57600 STOP_BITS = 1 PARITY = NONE TCP_PORT = 0 ; TCP_PORT = 2023 [TELNET] PROMPT = "bf548> " ; telnet prompt ;BACKSPACE = 127 ; comment out for autodetect [DISPLAY] BRIGHTNESS = 20 ; LED indicator brightness VOLUME = 25 ; zummer volume [ACTIONS] ; user defined scripts ;AUTORUN = 2 ; executed on every target connect 1 = erase 2 = prog 3 = dump_ram 4 = dump_flash [erase] ; erase flash flash erase [prog] ; program flash flash prog [dump_ram] ; dump part of RAM memory dump 0x00000000 0x01000 tftp://192.168.1.1/ram.bin [dump_flash] ; dump part of FLASH memory dump 0x20000000 0x10000 tftp://192.168.1.1/flash.bin