- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello pls tell me how to tackle the linking error
LMM info: area 'ram1' item of 120 bytes allocated in SRAM page 1
!E <library>(2665): {linker} Cannot allocate space for 90 bytes for 'ram0' area
C:\PROGRA~1\Cypress\PSOCDE~1\5.2\Common\CY3E64~1\tools\make: *** [output/Test1.rom] Error -1
FOR device CY8C20434_12LKXI.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello pran,
It looks like there isn't sufficient space left in RAM for declaring your variables.
You can try the following:
1. Remove unwanted global variables
2. Remove global variables and implement them as local variables (use STACK instead of RAM)
3. Optimize your code
Regards,
Arvind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello pran,
It looks like there isn't sufficient space left in RAM for declaring your variables.
You can try the following:
1. Remove unwanted global variables
2. Remove global variables and implement them as local variables (use STACK instead of RAM)
3. Optimize your code
Regards,
Arvind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Knowledge base article on this error -
Error: Cannot allocate space for 'data' area - Cypress Semiconductor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@arvind
Does i have to change header file contaning global parameter ..............or change in global paarameters of main.c.....
main.c not contain any global parameter.
Pramod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your PSoC1 - device has got 512 bytes of static ram and you are using more than that in your program. This is the cause for the errormessage.
When you post your complete project here (Use the archive function form Designer 5.3) we all can have a look at and give you some suggestions.
Bob
PS: It would have been more practical to post this in a PSoC1 forum, this is for memory devices.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
I am using same project as given in CD with Development KIt(CY8C3280) for practice, i just duplicating it.......project of touch sensing for board CY20X34 (Controllar-CY8C20434-LKXI).
I Check Device Resource Meter but it is having ram space (101 used out of 512bytes).
Is any settings to be done.......one error has been overcame,allocate 120byte.
one error remain .....!E <library>(3135): {linker} Cannot allocate space for 90 bytes for 'ram0' area
ROM 8192 used out of 2375.
pramod.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It would be helpfull to have your complete project here so that we all may have a look at. To do so, use the "Create Archive" function in PSoC Designer 5.3 or zip (NOT RAW !!) the complete folder and do an upload here (use internet explorer, chrome may have errors in upüloading).
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@BOB,
HERE is my project.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@BOB
SORRY.....Upload wrong project.
Uploding correct hear.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Good news overcome the above mention problem.
Thank You.
Pramod.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You posted that you have overcome this error... How???
I have the same error and gen't get past it.
Thanks.