Forum Discussion
CFM0 Overlaps with Configuration Data (Error 20646 Quartus Prime)
- 1 year ago
Hi,
obviously, userdata start addresses of 0x41000 and 0x83000 are not suitable for 10m25 flash layout. If you want to keep the distance from CFM1 and CFM0 end address (-0x9000) , they should be changed to 0x5b000 and 0xb7000.
P.S.: I don't work with NIOS II and am not aware of the relation between start adresses and vectors shown in post #1 for 10m16. But basically everything should be relocated according to increased CFM1 and CFM0 flash size.
RegardsFrank
Hi Aiman,
We do know the reason for the error. But how to correct this?
Let me give a detailed explanation about the problem below:
- In our design, we are using 10M25 device instead of 10M16 compared to in our reference design.
- we are reusing the reset vector offset, exception vector offset etc. as per the reference design itself. Pls see the below images for reference.
- Pls see the below image showing the flash layout:
- Here we could notice that the address mapping of CFM is different from that of reference design probably because of the change in device.
- Now we have compiled and generated the .sopcinfo file from platform designer for both pfr and recovery.
- We created a BSP project from this .sopcinfo file
- Using this settings.bsp, we created the .hex file for both pfr and recovery using the commands below:
alt-file-convert -I elf32-littlenios2 -O hex --input=recovery_app.elf --output=recovery_code.hex --base=0x00182000 --end=0x0018bfff --reset=0x00182000 --out-data-width=8 --boot="C:/intelFPGA_lite/18.1/nios2eds/components/altera_nios2/boot_loader_cfi.srec"
alt-file-convert -I elf32-littlenios2 -O hex --input=pfr_app.elf --output=pfr_code.hex --base=0x00140000 --end=0x0018bfff --reset=0x00140000 --out-data-width=8 --boot="C:/intelFPGA_lite/18.1/nios2eds/components/altera_nios2/boot_loader_cfi.srec"
- While creating both BSP and .hex files, we didnt change any addresses and offsets and reused everything that was used in the reference design which used 10M16. For example, the base, end, reset addresses in the above commands were reused.
- Now on creating a .pof file in Quartus, we are using the following settings. Pls see the image below:
- However, on generating .pof file, we are getting an error as follows:
-" Error (20646): The page CFM0 user data requested start address 0x00083000 overlaps with configuration data that end at address 0x000A3767."
- What could be the reason for this? When the device is changed, should the reset vector offsets also need to be changed? Pls let us know how if it is to be changed.
- Should we change the other addresses which we use during BSP generation and .hex file creation as well? Let us know if it is required.
- Pls let us know the actual cause for this and how to avoid this issue so that we can successfully create the .pof file.
Regards,
Ashbin