cancel
Showing results for 
Search instead for 
Did you mean: 

problem when changing from DTCM Ram to RAM_D1

VYoun
Associate III

Hello,

I am writing a project with STM32H7. The project contains RTC, SPI, USART, SD Card, timers, and I2C.

In order to have more RAM, I have brough the data and bss to RAM_D1.

As next steps I want to implement Ethernet. However, I realized that in order for Ethernet to work, I need to only use RAM_D1.

The problem is when I bring the heap and stack to RAM_D1, the project stops working.

Can someone please help?

I include the linker script before and after bringing everything to RAM_D1.

Thank you in advance for your help.

12 REPLIES 12
VYoun
Associate III

I am using the single core (STM32H753). Right now I have put the .bss and the .data on the RAM_D1 and the heap and stack on DTCMRAM and it is working fine. However, for implementing Ethernet I need to bring also the heap and stack (as i have read and so far understood) to RAM_D1, and when I do so peripherals stop working (SPI and USART as far as it is visible to me).

VYoun
Associate III

Thank you for your reply, I did it but again everything stopped working.

VYoun
Associate III

it is a single core (STM32H753), and I am currently using RAM_D1 for .bss and .data, and DTCMRAM for heap and stack, and until here everything works. However for implementing Etherner I need to bring the heap and stack into RAM_D1, and when I do so the whole system stops working.