Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12606 Discussions

NIOS V + DDR4 with problem for malloc

BrightEST-howard
Beginner
227 Views

We are currently conducting tests using Arria 10 GX EVB.

However, we have encountered an issue where NIOS V controlling DDR4 through EMIF IP results in a failure when attempting dynamic memory allocation in the software.

Strangely, this issue is resolved when we remove EMIF IP from the system.

Our system's diagram is attached for reference.

cyeehoward_0-1713316446267.png

 

Attached is the project file used for testing.

Any guidance or suggestions would be greatly appreciated. Thank you!

Additionally, the initial problem arose from our attempt to add EMIF IP control for DDR4 based on Intel Simple Socket Server example. However, upon debugging, we found that the issue actually occurred during the initial dynamic memory allocation, causing subsequent execution to fail due to pointer unavailability, resulting in an "ethernet initial fail" message on the JTAG-UART terminal.

 

0 Kudos
0 Replies
Reply