;-------------------------------------------------------------------------- ; ; ; PEEDI sample target configuration file ; ; Ronetix ; ; Supported devices : Analog Devices ADSP-BF533 ; Board : Blutechnix CM-BF533 ; ; Revision : 1.3 ; ; 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. ; ; Example: ; [LICENSE] ; KEY = UPDATE_24MAY2007, 1111-1111-1111-1 ; KEY = COLDFIRE, 2222-2222-2222-2 ; ; The minimum required licenses are provided when PEEDI is purchased and ; are printed on the bottom side of PEEDI. ; [LICENSE] KEY = UPDATE_13SEP2008, 1111-1111-1111-1 KEY = BLACKFIN, 2222-2222-2222-2 KEY = GDB_REMOTE, 3333-3333-3333-3 ;-------------------------------------------------------------------------- [DEBUGGER] PROTOCOL = gdb_remote ; gdb remote REMOTE_PORT = 2000 ; TCP/IP port GDB_READ_INGNORE_TIME = 3000 [TARGET] PLATFORM = BLACKFIN ; platform is BLACKFIN [PLATFORM_BLACKFIN] JTAG_CHAIN = 5 ; list of IR lenght of all TAP controller in JTAG chain JTAG_CLOCK = 10, 25000 ; JTAG Clock in [kHz] - 10kHz jtag clock for init operations and 25MHz for normal work JTAG_TDO_DELAY = AUTO ; auto tune JTAG TRST_TYPE = PUSHPULL ; type of TRST output: OPENDRAIN or PUSHPULL CORE0 = BF533 ; TAP is BF533 CPU CORE0_STARTUP_MODE = reset CORE0_BREAKMODE = soft ; breakpoint mode: ; soft - software breakpiont ; hard - use hardware breakpoints instead of software CORE0_INIT = INIT_BF533 ; init section for the board CORE0_FLASH0 = FLASH_AT49BV322AT ; 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 CORE0_FILE = "myfile.bin", BIN, 0 ; default file CORE0_PATH = "tftp://192.168.1.1" ; default path ;CORE0_OS = OS_UCLINUX26 [OS_UCLINUX26] BASE = 4, 0x17AC20 NEXT = 4, -0xC0 NEXT_THREAD = 4, -0x158 PID = 4, 0xFC NAME = 16, 0x1E8 CODE_START = 4, 0xDC, 0x78 DATA_START = 4, 0xDC, 0x80 BSS_START = 4, 0xDC, 0x84 ; context got from stack 1 ;CONTEXT = 40*4, 0x208, 0 ;CONTEXT_REG = pc, 0x18 ;CONTEXT_REG = fp, 0x28 ;CONTEXT_REG = usp, 0x24 ;CONTEXT_REG = sp, 0x24 ; kernel threads context - got from stack CONTEXT = 40*4, 0x208, 0 CONTEXT_REG = fp, 0x1C CONTEXT_REG = pc, 0x20 ; context got from thread_struct ;CONTEXT = 0x18, 0x208 ;CONTEXT_REG = pc, 0x10 ;CONTEXT_REG = sp, 0x0 ;CONTEXT_REG = usp, 0x4 [INIT_BF533] ; Configure SCLK & CCLK Dividers mem write16 0xFFC00004 3 ; set PLL mem write16 0xFFC00010 0x300 mem write16 0xFFC00000 0x2800 ; write and execute PLL setup sequence mem write16 0xFFA08000 0x0030 ; cli r0 mem write16 0xFFA08002 0x0020 ; idle mem write16 0xFFA08004 0x0040 ; sti r0 mem write16 0xFFA08006 0x0025 ; break go 0xFFA08000 ; start CPU wait 1000 stop ; wait 1s to break set pc 0x20000000 ; restore PC ; init SDRAM mem write16 0xFFC00A18 0x081C mem write16 0xFFC00A14 0x0011 mem write 0xFFC00A10 0x00911149 [FLASH_AT49BV322AT] CHIP = AT49BV322AT ; 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:password@192.168.3.1/bf.bin" BIN 0x20000000 AUTO_ERASE = YES ; erase before program AUTO_LOCK = NO ; lock after program [SERIAL] ; serial port configuration BAUD = 115200 STOP_BITS = 1 PARITY = NONE TCP_PORT = 0 ;TCP_PORT = 2023 [TELNET] PROMPT = "bf533> " ; 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