;------------------------------------------------------------------------------- ; ; bf561-cm.cfg ; ------------ ; ; PEEDI target configuration file for BF561 ; ; ; Ronetix ; ; Supported devices : Bluetechnix CM-BF561 board ; ; Revision : 1.1 ; ; Date : Sept 30, 2008 ; ; 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, 5 ; list of IR lenght of all TAP controller in JTAG chain JTAG_CLOCK = 100, 20000 ; JTAG Clock in [kHz] - 10kHz jtag clock for init operations and 20MHz for normal work JTAG_TDO_DELAY = AUTO ; auto tune the TDO line sampling TRST_TYPE = PUSHPULL ; type of TRST output: OPENDRAIN or PUSHPULL CORE0 = BF561A, 0 ; TAP 0 is BF561 core A CORE0_STARTUP_MODE = reset CORE0_BREAKMODE = soft ; use software breakpoints CORE0_INIT = INIT_BF561 ; init section for the board CORE0_FLASH0 = FLASH_28F640P30B ; flash section parameters 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 CORE1 = BF561B, 1 ; TAP 1 is BF561 core B CORE1_STARTUP_MODE = reset CORE1_BREAKMODE = soft ; breakpoint mode: ;CORE1_INIT = ; no init section required, the boared will be set by core A CORE1_FLASH0 = FLASH_28F640P30B ; flash section parameters CORE1_ENDIAN = LITTLE ; core is little endian CORE1_WORKSPACE = 0xFF600000, 0x4000 ; start address and length in bytes for agent code CORE1_DATASPACE = 0xFF400000, 0x4000 ; start address and length in bytes for agent data [INIT_BF561] ; Configure SCLK & CCLK Dividers mem write16 0xFFC00004 4 ; set PLL mem write16 0xFFC00010 0x300 mem write16 0xFFC00000 0x2200 ; write and execute PLL setup sequence mem write16 0xFFA00000 0x0030 ; cli r0 mem write16 0xFFA00002 0x0020 ; idle mem write16 0xFFA00004 0x0040 ; sti r0 mem write16 0xFFA00006 0x0025 ; break go 0xFFA00000 wait 1000 stop ; wait to complete with 1s timeout set pc 0xFE000000 ; restore PC ; init SDRAM mem write16 0xFFC00A14 0x0015 mem write16 0xFFC00A18 0x03A9 mem write 0xFFC00A10 0x0091998F ; check SDRAM m r 0 m w 0 0 m w 0 0x12345678 m r 0 [FLASH_28F640P30B] CHIP = 28F640P30B ; flash chip 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 ; chip is mapped at 0x20000000 FILE = "ftp://user:pass@192.168.1.1/myfile.bin" BIN 0x20000000 AUTO_ERASE = NO ; erase before program AUTO_LOCK = NO ; lock after program [SERIAL] ; serial port configuration BAUD = 115200 STOP_BITS = 1 PARITY = NONE TCP_PORT = 0 [TELNET] PROMPT = "bf561> " ; telnet prompt ;BACKSPACE = 127 ; comment out for autodetect [DISPLAY] BRIGHTNESS = 20 ; LED indicator brightness VOLUME = 25 ; zummer volume [ACTIONS] ; user defined scripts 1 = dump [dump] mem dump 0x20000000 1024 ftp://user:pass@192.168.1.1/ddd.bin