Not applicable
May 23, 2016
01:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 23, 2016
01:09 AM
Hello,
I have implemented pretty large code (optimization) on XMC 4500 relax kit, F100k1024.
the problem is when I try to built the project I got these errors:
`.bss' will not fit in region `DSRAM_1_system'
region SRAM_combined overflowed no_init section
region `DSRAM_1_system' overflowed by -44 bytes
I know the problem is with Memory. I don't know how to manage the memory.
Is it possible to increase DSRAM memory space? and if yes, how?
Is it possible to run the code on flash ROM memory space?
Could someone help me on this?
thanks in advance.
Hossein
I have implemented pretty large code (optimization) on XMC 4500 relax kit, F100k1024.
the problem is when I try to built the project I got these errors:
`.bss' will not fit in region `DSRAM_1_system'
region SRAM_combined overflowed no_init section
region `DSRAM_1_system' overflowed by -44 bytes
I know the problem is with Memory. I don't know how to manage the memory.
Is it possible to increase DSRAM memory space? and if yes, how?
Is it possible to run the code on flash ROM memory space?
Could someone help me on this?
thanks in advance.
Hossein
- Tags:
- IFX
8 Replies
Not applicable
May 24, 2016
01:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 24, 2016
01:07 AM
Hi again,
I have tried to change some setting in project Built option.
DSRAM memory default address is from 0x20000000 to 0x2000FFFF
when I change is to 0x20000000 to 0x2007FFFF the project is built without error, but I have problem to debug the project, and after loading the code the run, and stop options are no active, and seems I have no access to register values to debug my code.
I need support and suggestions will be appreciated.
Thanks in advance.
Hossein
I have tried to change some setting in project Built option.
DSRAM memory default address is from 0x20000000 to 0x2000FFFF
when I change is to 0x20000000 to 0x2007FFFF the project is built without error, but I have problem to debug the project, and after loading the code the run, and stop options are no active, and seems I have no access to register values to debug my code.
I need support and suggestions will be appreciated.
Thanks in advance.
Hossein
May 24, 2016
01:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 24, 2016
01:23 AM
Hi, without optimization does your software works ok?
Not applicable
May 24, 2016
01:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 24, 2016
01:32 AM
Hello Travis,
Thanks for reply.
I created an empty project. and then I added the optimization code to the main.c
Thanks for reply.
I created an empty project. and then I added the optimization code to the main.c
Not applicable
May 24, 2016
01:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 24, 2016
01:43 AM
and yes, without optimization it is working and I have no problem with Built and debugging.
I think the problem is the size of code. it doesn't fit inside DSRAM.
I think the problem is the size of code. it doesn't fit inside DSRAM.
May 24, 2016
01:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 24, 2016
01:52 AM
I would recommend that you can reduce your code size to fit into the DSRAM as optimization usually don't produce good behavior.
Not applicable
May 24, 2016
01:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 24, 2016
01:57 AM
Dear Travis,
Thanks for reply.
but the code is a converted code, it uses defined solver to solve the problem. and actually I cannot reduce its size.
is there any way to manage the RAM area (increase it)? or alternatively is there any way to use FLASH memory instead?
thanks in advance,
Hossein
Thanks for reply.
but the code is a converted code, it uses defined solver to solve the problem. and actually I cannot reduce its size.
is there any way to manage the RAM area (increase it)? or alternatively is there any way to use FLASH memory instead?
thanks in advance,
Hossein
May 24, 2016
02:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 24, 2016
02:04 AM
Yes. You can place these code in the XMC4000 flash.
And why in the first place that it is in the DSRAM? For faster code execution?
And why in the first place that it is in the DSRAM? For faster code execution?
Not applicable
May 24, 2016
02:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 24, 2016
02:12 AM
"And why in the first place that it is in the DSRAM? For faster code execution?"
I created the project with default Built and Memory setting. I am completely beginner with Infineon boards. If you can give me some hints how to manage the memory (any reference or documents to study) It will be great.
we had used TI boards in our projects and now we want to evaluate Infineon boards and eventually change our controller.
You can place these code in the XMC4000 flash.
thanks for suggestion, I will check the code with XMC4000 as well, but for now I have XMC4500 relax kit in hand only.
I created the project with default Built and Memory setting. I am completely beginner with Infineon boards. If you can give me some hints how to manage the memory (any reference or documents to study) It will be great.
we had used TI boards in our projects and now we want to evaluate Infineon boards and eventually change our controller.
You can place these code in the XMC4000 flash.
thanks for suggestion, I will check the code with XMC4000 as well, but for now I have XMC4500 relax kit in hand only.