Search found 129 matches

by jscott
Tue Apr 22, 2014 4:07 pm
Forum: STM32 Support
Topic: CCM section & "section `.bss' will not fit in region `ram'"
Replies: 27
Views: 7377

Re: CCM section & "section `.bss' will not fit in region `ra

russian, Yes, I am trying to figure out why pendingBuffer[] seems to missing completely... I have usually tracked this down to uncalled code that is removed by having optimization set to something other then -O0 and the the optimizer removing code and variables from the output. But you changed that,...
by jscott
Mon Apr 21, 2014 1:01 pm
Forum: STM32 Support
Topic: CCM section & "section `.bss' will not fit in region `ram'"
Replies: 27
Views: 7377

Re: CCM section & "section `.bss' will not fit in region `ra

Great, i will pull that file and tweak my code to test it.

Probably later today.

Thanks
by jscott
Sun Apr 20, 2014 5:07 pm
Forum: STM32 Support
Topic: CCM section & "section `.bss' will not fit in region `ram'"
Replies: 27
Views: 7377

Re: CCM section & "section `.bss' will not fit in region `ra

Ok, so it looks like the basic CCM issue is resolved...

Now we just need to figure out what is going on with pendingBuffer..

Can you do a rebuild and post the build reports?
I would still like to the the compiler output that lists warning and
errors.

-John Scott
by jscott
Sat Apr 19, 2014 2:18 pm
Forum: STM32 Support
Topic: CCM section & "section `.bss' will not fit in region `ram'"
Replies: 27
Views: 7377

Re: CCM section & "section `.bss' will not fit in region `ra

Giovanni, can you add the .ccm.* sections to STM32F407xG_CCM.ld when you get a chance? That way we have one less 'system' file we have to modify in applications where CCM is needed / wanted.

I will be happy to test it out. :D :D

-John Scott
by jscott
Sat Apr 19, 2014 2:17 pm
Forum: STM32 Support
Topic: CCM section & "section `.bss' will not fit in region `ram'"
Replies: 27
Views: 7377

Re: CCM section & "section `.bss' will not fit in region `ra

Ah, I though that I was using the unmodified version of STM32F407xG_CCM.ld, but it seems I had changed it as indicated by that other thread... :oops: The default STM32F407xG_CCM.ld does work and does make sense, but as it is now, you have to modify it to add your own variables to the CCM. As mention...
by jscott
Fri Apr 18, 2014 5:10 pm
Forum: STM32 Support
Topic: CCM section & "section `.bss' will not fit in region `ram'"
Replies: 27
Views: 7377

Re: CCM section & "section `.bss' will not fit in region `ra

Also read this thread...

viewtopic.php?f=16&t=1069&hilit=ccm

It has more discussion about this topic...

Hitting the road now, so I will check in tonight and see what is happening...

-John Scott
by jscott
Fri Apr 18, 2014 5:08 pm
Forum: STM32 Support
Topic: CCM section & "section `.bss' will not fit in region `ram'"
Replies: 27
Views: 7377

Re: CCM section & "section `.bss' will not fit in region `ra

Ok, we are dealing with different versions of the _ccm linker file... .ccm : { PROVIDE(_cmm_start = .); . = ALIGN(4); *(.bss.mainthread.*) . = ALIGN(4); *(.bss._idle_thread_wa) . = ALIGN(4); *(.bss.rlist) . = ALIGN(4); *(.bss.vtlist) . = ALIGN(4); *(.bss.endmem) . = ALIGN(4); *(.bss.nextmem) . = ALI...
by jscott
Fri Apr 18, 2014 4:40 am
Forum: STM32 Support
Topic: CCM section & "section `.bss' will not fit in region `ram'"
Replies: 27
Views: 7377

Re: CCM section & "section `.bss' will not fit in region `ra

Ok, this is starting to stump me... I looked over some code that I have that uses CCM and I only see one real difference. It may be related to me using ChibiStudio, so this is a poke in the dark... Try changing the section name from .ccm to .ccmbuf Also, can you provide the full compile report? I wa...
by jscott
Fri Apr 18, 2014 2:20 am
Forum: STM32 Support
Topic: CCM section & "section `.bss' will not fit in region `ram'"
Replies: 27
Views: 7377

Re: CCM section & "section `.bss' will not fit in region `ra

OK, pendingBuffer is not in your being placed in you memory map.. It may be because you have optimization turned on, and the compiler thing you are not using it and removed it. in you linker file you need to change the optimization level from -O1 to -O0 # Compiler options here. ifeq ($(USE_OPT),) US...
by jscott
Fri Apr 18, 2014 1:59 am
Forum: STM32 Support
Topic: CCM section & "section `.bss' will not fit in region `ram'"
Replies: 27
Views: 7377

Re: CCM section & "section `.bss' will not fit in region `ra

OK.... Here is your memory map Memory Configuration Name Origin Length Attributes flash 0x08000000 0x00100000 ram 0x20000000 0x0001c000 ethram 0x2001c000 0x00004000 ccmram 0x10000000 0x00010000 OUTPUTBUFFER is located in normal ram. You can search the .map file and you find it at: ... .bss.logger 0x...

Go to advanced search