This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

malloc() return invalid address

Hi all,

Recently, we encountered some problems when using the ARM KEIL with RA6T2 from Renesas.

Because of the requirement from the project, we need to combine the .cpp and .c in the project.

But when we call the malloc() in the .cpp, the return address point to the on-chip flash instead of SRAM.

Please refer to https://community.renesas.com/mcu-mpu/ra/f/forum/29390/ra6t2-in-keil for the detailed information.

Is there anyone can give us some advises?

Thanks,

Regards.

Cooper