Home › Forums › snickerdoodle › • General › QSPI Programming Bare Metal

Viewing 1 reply thread
  • Author
    Posts
    • garyheelas
      Participant
      Post count: 1

      We’re using a Snickerdoodle black on a test jig and wish to boot from QSPI.  This is a baremetal design and we can boot from SD Card without issue by simply copying the boot.bin to it, setting the bootmode to SD and power cycle.

      However, we cannot program the QSPI.  I’m not new to Zynq or Xilinx (about 20+ years experience) but am new to Snickerdoodle and the STM32 being on the card.  Any ideas why this doesn’t work and how to get round it.

      We run the following command:

      C:\Xilinx\SDK\2017.4\bin\program_flash -f DSC_Furnace_Fixture.bin -fsbl fsbl.elf -flash_type qspi_single -blank_check -verify -cable type xilinx_tcf

      And get the following result:

      ****** Xilinx Program Flash
      ****** Program Flash v2017.4 (64-bit)
      **** SW Build 2086221 on Fri Dec 15 20:55:39 MST 2017
      ** Copyright 1986-2017 Xilinx, Inc. All Rights Reserved.

      Connecting to hw_server @ TCP:localhost:3121

      WARNING: Failed to connect to hw_server at TCP:localhost:3121
      Attempting to launch hw_server at TCP:localhost:3121

      Connected to hw_server @ TCP:localhost:3121
      Available targets and devices:
      Target 0 : jsn-JTAG-HS2-210249AEB592
      Device 0: jsn-JTAG-HS2-210249AEB592-4ba00477-0

      Retrieving Flash info…

      Initialization done, programming the memory
      BOOT_MODE REG = 0x00000000
      f probe 0 0 0
      Performing Erase Operation…
      Erase Operation successful.
      INFO: [Xicom 50-44] Elapsed time = 0 sec.
      Performing Blank Check Operation…
      0%…INFO: [Xicom 50-44] Elapsed time = 1 sec.
      Blank Check Operation unsuccessful. The part is not blank.

      ERROR: Flash Operation Failed

    • Ryan Cousins
      Keymaster
      Post count: 343

      Hi garyheelas,

      Were you still having issues writing to the QSPI? We have a basic demo project you might want to check out; it could shed some light on the issue: https://github.com/krtkl/snickerdoodle-examples/tree/snickerdoodle_black_qspi_example/snickerdoodle-black/snickerdoodle_black_QSPI

      Let me know if that helps or if you’d like us to take a deeper dive.

      -Ryan

Viewing 1 reply thread
  • You must be logged in to reply to this topic.