After a snafu with my pin-to-pin wiring, I'm able to contact the base snickerdoodle (7010 connectors up model) via the Digilent HS3 JTAG, in XSDK, but I am having trouble making it launch and debug a standalone baremetal app.
I've done this with Zedboard and with Snickerdoodle black on the breakyBreaky, so I'm not sure what's different here.
I am able to program the FPGA easily. And in XSDK I have been able to issue the "rst -srst" command in the XSDB console. However, trying to launch the "hello world" UART app (*) hasn't yet succeeded. I did set up my "debug configuration" to always reset and program the whole device at initiation of debug session.
Info: ARM Cortex-A9 MPCore #0 (target 3) Stopped at 0x0 (Vector Catch)
Info: ARM Cortex-A9 MPCore #1 (target 4) Stopped at 0xffffff34 (Suspended)
100% 1MB 1.8MB/s 00:01
Downloading Program -- /home/rbarris/genxdemos/starter_ksd/starter_ksd.sdk/hello/Debug/hello.elf
section, .text: 0x00100000 - 0x00101963
section, .init: 0x00101964 - 0x0010197b
section, .fini: 0x0010197c - 0x00101993
section, .rodata: 0x00101994 - 0x001019ab
section, .data: 0x001019b0 - 0x00101e23
section, .eh_frame: 0x00101e24 - 0x00101e27
section, .mmu_tbl: 0x00104000 - 0x00107fff
section, .init_array: 0x00108000 - 0x00108007
section, .fini_array: 0x00108008 - 0x0010800b
section, .bss: 0x0010800c - 0x00108033
section, .heap: 0x00108034 - 0x0010a03f
section, .stack: 0x0010a040 - 0x0010d83f
aborting, 1 pending requests...
Failed to download /home/rbarris/genxdemos/starter_ksd/starter_ksd.sdk/hello/Debug/hello.elf
Info: ARM Cortex-A9 MPCore #0 (target 3) Running
xsdb% Info: ARM Cortex-A9 MPCore #1 (target 4) Running
So I am wondering, why was this super easy to get going on the black+breakybreaky but I'm struggling to get this to run on the base unit with JTAG wired direct to J2.
Is there any other pin or signal I need to adjust/wire, or should I remove the SDcard, or any ideas on what's happening here would be helpful.
(*) is UART0 the correct UART in the Zynq to enable, to send output back through the USB / ttyACM0 link ? When I created a default project in Vivado using the snickerdoodle boardfile, none of the UARTs were checked as enabled in the PS/PL config for the Zynq IP in the block design. As a guess, I checked the "UART0" and rebuilt the bitstream and re-exported hardware, after which I was then able to create that hello-world-UART project; XSDK wouldn't let me create it before because it felt the hardware config coming from Vivado had "no UART", which was true...