ld link file to do partition modification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI,NXP
I would like to ask how to do the correct partition modification, because I tried to re-partition the memory by modifying the ld file, but when I finished the modification to compile. A hard error message is displayed.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is the original default link file, because the SRAM of s32K311 is 32KB by default, and the underlying library I used here is about 70KB, which is obviously not enough. Therefore, my original practice is to free up the memory size of dtcm for expanding sram, but it will cause hard failure. Would like to ask if there is any way to make the dtcm section of memory and sram together

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @zenging,
DTCM and SRAM cannot be in one section.
These are different memories, mapped to different addresses.
Regards,
Daniel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So is there any other solution, because the library file I imported is too large.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This example shows how to place functions into ITCM and data into DTCM:
BR, Daniel
