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

CycloneV SoC 評価ボードで FPGA上で動作確認しています。 onchip memoryに .hex を登録するだけで動作すると考え、objcopy により、axf->.hex変換しました。 この.hexをonchip memoryに登録しましたが、コンパイルエラーになります。 どのような手順で .sof 作成すればよいですか?

garry
Novice
1,052 Views

HPS以外のQsys構成は、PIO、RAM です。

RAM1 0x00000 (for pre-loader 64KB )

RAM2 0x10000​ (for main 64KB )

LED ( PIO for Debug)

 

Env.

windows7 pro (64bit) 16GB mem

Quartus Prime ver18.0

DS-5 5.28.1 (build 5281011)

 

0 Kudos
4 Replies
EBERLAZARE_I_Intel
772 Views

Hi,

 

I recommend that you try to run a Simple Bare Metal Project Using On-Chip-RAM:

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_bm.pdf#page=5

 

Regards.

0 Kudos
garry
Novice
772 Views

ug_bm.pdfは確認しました。

下記も確認済です。​

# AN709.pdf

# ​https://fpgawiki.intel.com/wiki/SocBootFromFPGA

.sof作成に関して記載がありません。

この意味は、 memory 初期値を配置した ".pof" を作成したいです。

デバッグ完了後に、axf->.hexを作成し、​

".hexをOnchipRAMに登録すると、どうしても コンパイルエラー" になります。

 

Q1.​

​intel hex のデータが4byte alignment されていないことが原因に思えますが、

DS-5 AE以外のライセンスは保有していません。

もしかしたら、"fromelf" を使用するのでしょうか?

 

​​

現在 FPGAには、(EPCQAを除いて)、Flash Memoryは接続していません。

Onchip Memory のみでプログラム動作を期待しています。

Q2.

​単に動作だけではなく、power ON で動作するプログラムを起動できますか?

​制約や制限があったら教えてください。

 

よろしくお願いします。

0 Kudos
EBERLAZARE_I_Intel
772 Views

Hi,

 

Rocketboards.org have more detailed information regarding the Hardware compilation, creating and updating SD Card, etc..

 

https://rocketboards.org/foswiki/Main/GettingStarted

 

1.   Select a Board : Altera Cyclone V SoC Board

2.   Select a Tool Version : 18.1std

3.   Select a Task : You can choose the topic you’re interested in.  

 

In number 9 Task – “Using System Console”, you can run memory test in the System Console command.

 

Please let me know if you need further help.

 

Regards.

0 Kudos
garry
Novice
772 Views

色々とご回答ありがとうございます。

本来の目的はまだ未達成果ですが、EPCQから​のpre-loader起動が確認できました。

下記URLが非常に役に立ちました。​

https://rocketboards.org/foswiki/Projects/CycloneVSoCSecureBootExample

また何かありましたら、よろしくお願いします。

本件、closeとさせていただきます。

ありがとうございました。​

Reply