FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6468 Discussions

Cyclone 10LP Evaluation Kit - Execute in Place (XIP) from EPCQ Flash

ENGR_24
Beginner
931 Views

Hello, 

I am working with the Cyclone 10LP Evaluation Kit Booting options and had success testing the boot copier from EPCQ flash (using EPCQ64).

I am now trying to get the XIP Boot mode working and not having success. 

Are there any instructions that are not included in AN 736? 

 

I followed AN 736, table 3: BSP Editor Mappings and Figure 5: Exception Vector set to OCRAM. The other steps taken are the same as in the app note. 

 

Thanks in advance

Labels (1)
0 Kudos
6 Replies
sstrell
Honored Contributor III
893 Views
0 Kudos
ENGR_24
Beginner
852 Views

I believe they are setup correctly, I have outlined the steps taken so far 

 

1) Platform Designer 

  • Reset Vector Memory:      EPCQ64.avl_mem
  • Reset Vector offset:          0x0008_0000
  • Reset Vector:                      0x0088_0000
  • OCRAM Memory Size:      40,500 bytes
  • S1 Data Width:                   32

2) Launch Eclipse, BSP Editor

  •      Settings -> Advanced -> hal -> Linker
    • ALL CHECKED (My Exception vector is set to OCRAM) 
  • Linker Section Names all set to OCRAM, except .text and .entry (EPCQ64_avl_mem)
  • Click generate

3) Build Project

  • Build project to generate .elf  
  • Run Make Target -> Build -> mem_init

4) Convert Programming File

  • Flash Loader added
  • SOF file loaded (compressed checked) 
  • Hex Data loaded (Absolute addressing) --> starts at 0x0008_0000

***Convert Program File Error : Size of file(s) in EPCQ64 exceeds memory capacity***

After this point it is saying my EPCQ64.hex is bigger than the memory capacity. 

I did notice my hex files were empty (EPCQ64 and OCRAM). I cleaned the project and rebuilt the mem_init scripts. but no luck

0 Kudos
Fakhrul
Employee
727 Views

Hi ENGR_24,


Any updates? Could you try the following workaround as it may be applicable to this issue:


https://www.macnica.co.jp/en/business/semiconductor/articles/intel/130281/


Regards,

Fakhrul


0 Kudos
ENGR_24
Beginner
703 Views
Sounds good, will try that.

Do the steps I outlined from above look right?
0 Kudos
Fakhrul
Employee
613 Views

Hi ENGR_24,


Any updates?


Regards,

Fakhrul


0 Kudos
Fakhrul
Employee
587 Views

As we haven't received a response to our previous notification, this thread will be transitioned to community support. We hope all your concerns have been addressed. If you have any new questions, please feel free to open a new thread to receive support from Intel experts. Otherwise, community users will continue to assist you here. Thank you.


0 Kudos
Reply