Author Topic: Programming the Flash memory on TE0710 from microblaze  (Read 174 times)

toka

  • Active Member
  • *
  • Posts: 11
Programming the Flash memory on TE0710 from microblaze
« on: May 19, 2022, 01:04:37 PM »
I tried to write to the flash memory on the module via QSPI but there are problems getting the correct data written on the memory.
There are wrong bytes on the beginning of the written data.
I already tried to wait for the erasing process to be completed before writing to it, no success. The memory is page aligned and I tried my best to check whether the problem lies in this, but even shifting the address I got from calculating the start address of a page did not solve my problem. Has anybody got experience in writing to this device?

JH

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1908
Re: Programming the Flash memory on TE0710 from microblaze
« Reply #1 on: May 23, 2022, 11:17:18 AM »
Hi,
which Vivado version did you use?
with 21.x there is something wrong with Xilinx drivers and example. We have switched to an open source solution:
https://wiki.trenz-electronic.de/display/PD/TE0710+Test+Board#TE0710TestBoard-spi_bootloader

On older Vivado versions, it can happens that it works out of the box (I think 17.2 was a good version), or you must change maybe some parts on drivers...I don't remember on details sorry.

And check also you constrains and setting...QSPI can be used as x1 or x4. For x4, you must also setup your design correctly, see:
 https://wiki.trenz-electronic.de/display/PD/TE0710+Test+Board#TE0710TestBoard-Basicmoduleconstraints

br
John



toka

  • Active Member
  • *
  • Posts: 11
Re: Programming the Flash memory on TE0710 from microblaze
« Reply #2 on: May 24, 2022, 10:34:39 AM »
I am using Vivado 2020.2
But I think, my qestion didnt become as clear as I wanted it to be. I forgot to mention or it got lost that I try to do this out of the microblaze application. I checked the data sheet of the flash memory for the write operation procedure, but something seems to go wrong.