Forum Discussion
Hi,
I am able to do the signal tapping for Avalon-MM IP. The data what i am sending is exactly writing into the on-chip flash memory. I checked it by taking some random samples in the trigger conditions from the rpd file. Please find the following attachment of stp and rpd file. In stp file i took the data from 0x0E9C location to 0x 0E9F location of rpd file.
when i generated the on-chip flash ip the tool generated one .v file which has the information regarding address locations of different sectors.In that the CFM1 sector starts from 17'h7200 location and ends at 17'hABFF and the CFM2 sector starts from 17'h2000 and ends at 17'h71FF. And i am writing the data in [31:0] pattern to on-chip flash memory. Is there anything wrong in the above memtioned details? I am using Quartus 16.0 lite edition with 10M08SAU169C8G device.
As i mentioned earlier when i write and read the data using the micro controller unit the read out data is exactly matching with the rpd data but if i write the data using MCU and read the data using examine option in the tool the data is not matching. Similarly if i flash the data using JTAG and read back by using the examine the data is matching but if i flash the data using JTAG and read back by using MCU it is not matching.
I am comparing the process of sending the data through MCU with JTAG because if i flash the code using JTAG and trigger the re-configuration it is re-configuring but not by using the MCU.
What might be the reason for not getting the proper data what we sent though MCU and read back through the examine option.Even, now i checked the data at Avalon-MM IP using signal tap 2 logic analyzer, which is working fine.
Regards,
Shiva.
Hi,
May I know what is the different between micro controller unit and the MCU? You mention that the micro controller unit is working correctly but not MCU.
From the SignalTap, you are only tapping the data writedata signal. Is it possible to include the Avalon Address, write, read signal as well so that I can be sure that the timing is correct? I would like to match what you are sending from the MCU is correctly performed on the Avalon MM interface to On Chip Flash. We need to further look into what is actually happening or is there a conversion issue happening when the data is send from MCU to the On Chip Flash.
I understand that you are able to performed read and write from the MCU but the data inside the On Chip Flash is different when it is examine through Quartus programmer. So we will need to make sure that the data send from the MCU is correctly decoded by the Avalon-MM.