I just tried again and the following happened:
- After creation of the boot image I clicked "program flash" with the settings in the attached picture. The console output was the following:
cmd /C program_flash -f \
C:\Users\username\Documents\path\to\bootimage\BOOT.bin -offset 0 \
-flash_type qspi_single -fsbl \
C:\Users\username\path\to\elf.elf -blank_check \
-verify -cable type xilinx_tcf url TCP:localhost:3122
****** Xilinx Program Flash
****** Program Flash v2018.2 (64-bit)
**** SW Build 2258646 on Thu Jun 14 20:03:12 MDT 2018
** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.
Connected to hw_server @ TCP:localhost:3122
Available targets and devices:
Target 0 : jsn-JTAG-HS2-210249ACD37A
Device 0: jsn-JTAG-HS2-210249ACD37A-4ba00477-0
Retrieving Flash info...
Initialization done, programming the memory
===== mrd->addr=0xF800025C, data=0x00000001 =====
BOOT_MODE REG = 0x00000001
WARNING: [Xicom 50-100] The current boot mode is QSPI.
If flash programming fails, configure device for JTAG boot mode and try again.
Soon after starting, the program stops (progress information bar stops soon at the beginning) at some breakpoint in the fsbl main.c (first line of code I think, it opens some dissassembly but I don't understand exactly what's going on). There is no output on the UART interface.
- I then chose "skip all breakpoints" in SDK and tried again.
- This time it is doing something and seems to program the flash. I get an output on the UART console as well as the Consol window in SDK and the seem to be identical. See attached console output (too long for the forum post). The program terminates with "Flash operation successful". The only thing I recognized in the console listening is that it seems print something like the "starting message" several times.
(the following lines are only part of the entire console output, the text file contains everything).
cmd /C program_flash -f \
C:\Users\username\path\to\bootimage\BOOT.bin -offset 0 \
-flash_type qspi_single -fsbl \
C:\Users\username\path\to\elf.elf -blank_check \
-verify -cable type xilinx_tcf url TCP:localhost:3122
****** Xilinx Program Flash
****** Program Flash v2018.2 (64-bit)
**** SW Build 2258646 on Thu Jun 14 20:03:12 MDT 2018
** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.
Connected to hw_server @ TCP:localhost:3122
Available targets and devices:
Target 0 : jsn-JTAG-HS2-210249ACD37A
Device 0: jsn-JTAG-HS2-210249ACD37A-4ba00477-0
Retrieving Flash info...
Initialization done, programming the memory
===== mrd->addr=0xF800025C, data=0x00000001 =====
BOOT_MODE REG = 0x00000001
WARNING: [Xicom 50-100] The current boot mode is QSPI.
If flash programming fails, configure device for JTAG boot mode and try again.
===== mrd->addr=0xF8007080, data=0x30800100 =====
===== mrd->addr=0xF8000B18, data=0x80008000 =====
Downloading FSBL...
Running FSBL...
Finished running FSBL.
===== mrd->addr=0xF8000110, data=0x000FA220 =====
READ: ARM_PLL_CFG (0xF8000110) = 0x000FA220
===== mrd->addr=0xF8000100, data=0x00028008 =====
READ: ARM_PLL_CTRL (0xF8000100) = 0x00028008
===== mrd->addr=0xF8000120, data=0x1F000200 =====
READ: ARM_CLK_CTRL (0xF8000120) = 0x1F000200
===== mrd->addr=0xF8000118, data=0x001452C0 =====
READ: IO_PLL_CFG (0xF8000118) = 0x001452C0
===== mrd->addr=0xF8000108, data=0x0001E008 =====
READ: IO_PLL_CTRL (0xF8000108) = 0x0001E008
Info: Remapping 256KB of on-chip-memory RAM memory to 0xFFFC0000.
===== mrd->addr=0xF8000008, data=0x00000000 =====
===== mwr->addr=0xF8000008, data=0x0000DF0D =====
MASKWRITE: addr=0xF8000008, mask=0x0000FFFF, newData=0x0000DF0D
===== mwr->addr=0xF8000910, data=0x000001FF =====
===== mrd->addr=0xF8000004, data=0x00000000 =====
===== mwr->addr=0xF8000004, data=0x0000767B =====
MASKWRITE: addr=0xF8000004, mask=0x0000FFFF, newData=0x0000767B
U-Boot 2018.01-00071-g0018654-dirty (May 01 2018 - 11:18:16 -0600)
Model: Zynq CSE QSPI Board
Board: Xilinx Zynq
Silicon: v3.1
DRAM: 256 KiB
WARNING: Caches not enabled
Using default environment
In: dcc
Out: dcc
Err: dcc
Zynq> sf probe 0 0 0
SF: Detected s25fl256s_64k with page size 256 Bytes, erase size 64 KiB, total 32 MiB
Zynq> Sector size = 65536.
f probe 0 0 0
Performing Erase Operation...
sf erase 0 210000
cmd /C program_flash -f \
C:\Users\username\path\to\bootimage\BOOT.bin -offset 0 \
-flash_type qspi_single -fsbl \
C:\Users\username\path\to\elf.elf -blank_check \
-verify -cable type xilinx_tcf url TCP:localhost:3122
****** Xilinx Program Flash
****** Program Flash v2018.2 (64-bit)
**** SW Build 2258646 on Thu Jun 14 20:03:12 MDT 2018
** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.
Connected to hw_server @ TCP:localhost:3122
Available targets and devices:
Target 0 : jsn-JTAG-HS2-210249ACD37A
Device 0: jsn-JTAG-HS2-210249ACD37A-4ba00477-0
Retrieving Flash info...
Initialization done, programming the memory
===== mrd->addr=0xF800025C, data=0x00000001 =====
BOOT_MODE REG = 0x00000001
WARNING: [Xicom 50-100] The current boot mode is QSPI.
If flash programming fails, configure device for JTAG boot mode and try again.
cmd /C program_flash -f \
C:\Users\username\path\to\bootimage\BOOT.bin -offset 0 \
-flash_type qspi_single -fsbl \
C:\Users\username\path\to\elf.elf -blank_check \
-verify -cable type xilinx_tcf url TCP:localhost:3122
****** Xilinx Program Flash
****** Program Flash v2018.2 (64-bit)
**** SW Build 2258646 on Thu Jun 14 20:03:12 MDT 2018
** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.
Connected to hw_server @ TCP:localhost:3122
Available targets and devices:
Target 0 : jsn-JTAG-HS2-210249ACD37A
Device 0: jsn-JTAG-HS2-210249ACD37A-4ba00477-0
Retrieving Flash info...
Initialization done, programming the memory
===== mrd->addr=0xF800025C, data=0x00000001 =====
BOOT_MODE REG = 0x00000001
WARNING: [Xicom 50-100] The current boot mode is QSPI.
If flash programming fails, configure device for JTAG boot mode and try again.
cmd /C program_flash -f \
C:\Users\username\path\to\bootimage\BOOT.bin -offset 0 \
-flash_type qspi_single -fsbl \
C:\Users\username\path\to\elf.elf -blank_check \
-verify -cable type xilinx_tcf url TCP:localhost:3122
****** Xilinx Program Flash
****** Program Flash v2018.2 (64-bit)
**** SW Build 2258646 on Thu Jun 14 20:03:12 MDT 2018
** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.
Connected to hw_server @ TCP:localhost:3122
Available targets and devices:
Target 0 : jsn-JTAG-HS2-210249ACD37A
Device 0: jsn-JTAG-HS2-210249ACD37A-4ba00477-0
Retrieving Flash info...
Initialization done, programming the memory
===== mrd->addr=0xF800025C, data=0x00000001 =====
BOOT_MODE REG = 0x00000001
WARNING: [Xicom 50-100] The current boot mode is QSPI.
If flash programming fails, configure device for JTAG boot mode and try again.
===== mrd->addr=0xF8007080, data=0x30800100 =====
===== mrd->addr=0xF8000B18, data=0x80008000 =====
Downloading FSBL...
Running FSBL...
Finished running FSBL.
===== mrd->addr=0xF8000110, data=0x000FA220 =====
READ: ARM_PLL_CFG (0xF8000110) = 0x000FA220
===== mrd->addr=0xF8000100, data=0x00028008 =====
READ: ARM_PLL_CTRL (0xF8000100) = 0x00028008
===== mrd->addr=0xF8000120, data=0x1F000200 =====
READ: ARM_CLK_CTRL (0xF8000120) = 0x1F000200
===== mrd->addr=0xF8000118, data=0x001452C0 =====
READ: IO_PLL_CFG (0xF8000118) = 0x001452C0
===== mrd->addr=0xF8000108, data=0x0001E008 =====
READ: IO_PLL_CTRL (0xF8000108) = 0x0001E008
Info: Remapping 256KB of on-chip-memory RAM memory to 0xFFFC0000.
===== mrd->addr=0xF8000008, data=0x00000000 =====
===== mwr->addr=0xF8000008, data=0x0000DF0D =====
MASKWRITE: addr=0xF8000008, mask=0x0000FFFF, newData=0x0000DF0D
===== mwr->addr=0xF8000910, data=0x000001FF =====
===== mrd->addr=0xF8000004, data=0x00000000 =====
===== mwr->addr=0xF8000004, data=0x0000767B =====
MASKWRITE: addr=0xF8000004, mask=0x0000FFFF, newData=0x0000767B
U-Boot 2018.01-00071-g0018654-dirty (May 01 2018 - 11:18:16 -0600)
Model: Zynq CSE QSPI Board
Board: Xilinx Zynq
Silicon: v3.1
DRAM: 256 KiB
WARNING: Caches not enabled
Using default environment
In: dcc
Out: dcc
Err: dcc
Zynq> sf probe 0 0 0
SF: Detected s25fl256s_64k with page size 256 Bytes, erase size 64 KiB, total 32 MiB
Zynq> Sector size = 65536.
f probe 0 0 0
Performing Erase Operation...
sf erase 0 210000
SF: 2162688 bytes @ 0x0 Erased: OK
Zynq> Erase Operation successful.
INFO: [Xicom 50-44] Elapsed time = 7 sec.
Performing Blank Check Operation...
0%...sf read FFFC0000 0 10000
device 0 offset 0x0, size 0x10000
SF: 65536 bytes @ 0x0 Read: OK
Zynq> cmp.b FFFC0000 FFFD0000 10000
Total of 65536 byte(s) were the same
Zynq> sf read FFFC0000 10000 10000
device 0 offset 0x10000, size 0x10000
SF: 65536 bytes @ 0x10000 Read: OK
Zynq> cmp.b FFFC0000 FFFD0000 10000
Total of 65536 byte(s) were the same
Zynq> sf read FFFC0000 20000 10000
Total of 41616 byte(s) were the same
Zynq> INFO: [Xicom 50-44] Elapsed time = 39 sec.
Verify Operation successful.
Flash Operation Successful
However, when I restart the board, nothing happens.