No,we didnt have cpld in our board ,we normally flashing through jtag in quartus prorammer by convertiong sof to pof . it is running fine after power on . but in final level after system integration it's not possible to flash using jatg .
so we have to download it through uart by writing the file flash manually from 0x20000 .
Is it workout .
and also problem with generic tristate conroller behaving like explained below
i designed in the qsys and also while i writing to flash by following the datasheet procedure .
ox4089 if i am writing this 16 bit data in some 0x0 location
and while i am reading the location 0x0 its showing 0x89 and 0x1 location its showing 0x40.
its showing lsb in 0x0 location and MSb in 0x1 location.
through code its reading some cfi table locations according to datasheet.
so i think i correctley designed in qsys. and none of the above problems are solved .
please answer these two questions.