noir

Members
  • Content Count

    5
  • Joined

  • Last visited

  1. Hello all, I just tried comment out the #define VERBOSE in the bootloader and now even the FreeRTOS program boots very quickly. It turns out it needs way much more time to boot with verbose on. Thanks, Noir
  2. Hi Jon, I just tried the small "Hello world" example program and it's able to boot and run, but it take around 22 seconds to boot. And the boot loader message goes up to "Bootloader: Processed (0x)000001dc S-records" Could you please tell me how long does it take for yours to boot? I have been using Cyclone V and Nios II before with a 1-bit SPI flash, and it boots fairly quickly, almost instantly. Best regards, Noir
  3. Hi Dan, Thanks! What I was asking is the clock used for the ext_spi_clk, which I expect to be the SPI clock connecting to the flash. I was wondering if the clocking is causing my problem so I asked about this. However I just tried the small "Hello world" example program and it's able to boot and run, but it take around 22 seconds to boot. And the boot loader message goes up to "Bootloader: Processed (0x)000001dc S-records" Now my problem is why it boots so slowly. Best regards, Noir
  4. Hi Mikel, Thanks for your reply. The message starts from 0x0 and seems to idle after hitting different addresses each time I powered on the board. I was running the FreeRTOS Hello world so it's a larger program but it's still less than 500KB. I already compressed the bitstream and I set the offset to 0x00200000 which should give the program enough space. I'll try the smaller "Hello World" program to see if it would start. BTW I have some more question: 1. So normally the bootloader would output all the addresses of the program stored in the flash? Can I turn this off to speed up booting? 2. I read the datasheet for the Micron flash N25Q032A and it says max frequency is 108 MHz, does this mean I can use 100 MHz clock for the AXI Quad SPI IP in the block design for interfacing the flash? Thanks and best regards, noir
  5. Hello, I am following this guide to program the spi flash on the Cmod-A7 so that it can boot from spi flash and run the program in the ddr. https://reference.digilentinc.com/learn/programmable-logic/tutorials/htsspisf/start However, after flashing both parts, the bootloader is able to run but it only outputs infinite "Bootloader: Processed (0x)0000022a S-records" and my program won't run. Thanks and best regards!