;-------------------------------------------------------------------------- ; ; ; PEEDI sample target configuration file ; ; Ronetix GmbH ; ; Supported devices : Zynq UltraScale+ ; Supported board : ZCU102 Dev.Kit ; ; Note that this .cfg file will only work if the PMU is executed. ; ; PEEDI supports different Multi-Processor modes: ; SMP - all cores in a SMP group resume, halt, step synchronously ; AMP - for all cores in a AMP group can be defined which activity ; to perform single and which synchronously. ; RESUME, HALT, BREAK, Single Step can be defined separately. ; By default the AMP mode is BREAK. ; The AMP mode can be see and modified with the 'amp' command. ; ; amp ; show the current mode ; amp h ; set HALT mode ; amp r ; set RESUME mode ; amp bh ; set HALT and BREAK mode ; ; ; Memory map: ; 0000_0000 - DRAM, common for all cores ; FFFC_0000 - OCM, 4 banks x 64 KB = 256 KB ; After first PEEDI connect CORE0 has an own OCM, ; CORE1, CORE2, CORE3 have another common OCM ; After a 'reset' all cores have a common OCM ; ; Revision : 1.1 ; ; Date : January 25, 2019 ; ; 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_24MAY2013, 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.1.1/license.txt ; or ; FILE=eep:license.txt ; or ; FILE = ftp://user:password@192.168.1.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 = Cortex [PLATFORM_Cortex] JTAG_CHAIN = 12, 4 ; list of TAP controllers in the JTAG chain JTAG_CLOCK = 20000 ; JTAG Clock in [kHz] TRST_TYPE = PUSHPULL ; type of TRST output: OPENDRAIN or PUSHPULL RESET_TIME = 20 ; length of RESET pulse in ms RESET_TYPE = ULTRASCALE CORE0 = ULTRASCALE_x64_AMP, 1, 0x5BA00477 VERBOSE_INFO = 1 CORE0_DEBUG_ADDR = 0x80410000, 0x80420000 ; Debug address, CTI address CORE0_STARTUP_MODE = RESET ; stop the core immediately after reset CORE0_ENDIAN = LITTLE ; core is little endian CORE0_BREAKMODE = SOFT ; breakpoint mode CORE0_INIT = INIT_CORE0 CORE0_WORKSPACE = 0xFFFC0000, 0x8000 ; address, lenght in bytes CORE0_PATH = "tftp://192.168.3.60" CORE1 = ULTRASCALE_x64_AMP, 1, 0x5BA00477 CORE1_STARTUP_MODE = RESET CORE1_DEBUG_ADDR = 0x80510000, 0x80520000 CORE1_PATH = "tftp://192.168.3.60" CORE1_WORKSPACE = 0xFFFD0000, 0x8000 CORE2 = ULTRASCALE_x64_AMP, 1, 0x5BA00477 CORE2_STARTUP_MODE = RESET CORE2_DEBUG_ADDR = 0x80610000, 0x80620000 CORE2_PATH = "tftp://192.168.3.60" CORE2_WORKSPACE = 0xFFFE0000, 0x8000 CORE3 = ULTRASCALE_x64_AMP, 1, 0x5BA00477 CORE3_STARTUP_MODE = RESET CORE3_DEBUG_ADDR = 0x80710000, 0x80720000 CORE3_PATH = "tftp://192.168.3.60" CORE3_WORKSPACE = 0xFFFF0000, 0x8000 [INIT_CORE0] mem write 0xFFFF0000 0x14000000 ; Branch forever instruction mem write 0xFD1A0104 0x00000000 ; enable all 4 cores [SERIAL] ; serial port configuration BAUD = 115200 STOP_BITS = 1 PARITY = NONE TCP_PORT = 0 [TELNET] PROMPT = "ARMv8> " ; telnet prompt ;BACKSPACE = 127 ; comment out for autodetect [DISPLAY] BRIGHTNESS = 20 ; LED indicator brightness VOLUME = 25 ; beeper volume [ACTIONS] ; user defined scripts ;AUTORUN = 2 ; executed on every target connect 1 = erase 2 = prog [erase] ; erase flash flash erase [prog] ; program flash flash prog [m] core 0 m w 0xFFFC0000 0 32 mem load zynq_c0_64.bin 0xFFFC0000 set pc 0xFFFC0010 core 1 m w 0xFFFD0000 0 32 mem load zynq_c1_64.bin 0xFFFD0000 set pc 0xFFFD0010 core 2 m w 0xFFFE0000 0 32 mem load zynq_c2_64.bin 0xFFFE0000 set pc 0xFFFE0010 core 3 m w 0xFFFF0000 0 32 mem load zynq_c3_64.bin 0xFFFF0000 set pc 0xFFFF0010 [r] core 0 m r 0xfffc0000 4 core 1 m r 0xfffd0000 4 core 2 m r 0xfffe0000 4 core 3 m r 0xffff0000 4