Forum Discussion

MapleDoi's avatar
MapleDoi
Icon for New Contributor rankNew Contributor
5 years ago
Solved

HPS Linux in Putty will freeze after programming FPGA on DE1-SoC

I am doing my project which using FIFO bridge to transfer data between HPS and FPGA on DE1-SoC. Recently I am facing a problem, after I program the FPGA, the linux will freeze, I am using Putty. Previously I have no this issue.

Sometime it will still work after I program the FPGA( after I power off and on the board), but once I run the executable file, it will freeze again.

I have tried to run the previous project that can run without problem before, but still, it will freeze.

It is very urgent, may I know is it something wrong with the board?

3 Replies

  • FawazJ_Altera's avatar
    FawazJ_Altera
    Icon for Frequent Contributor rankFrequent Contributor

    Hello,

    Are you programming the FPGA while linux is running?

    If yes, then it is expected to see abnormal behavior of the system (like the freezing issue).

    You can program the FPGA via to valid ways:

    1- through uboot.

    2- via device tree overlay.

    Method one is easier and straightforward. you need to provide your system with the rbf file (FPGA image), and a scr file to make uboot reads the instructions.

    It is not recommended to program the FPGA directly while linux is running on ARM.

    Thank you

    • MapleDoi's avatar
      MapleDoi
      Icon for New Contributor rankNew Contributor

      Hi, thanks for the suggestion, do you have the tutorial in doing the solution number one?