It looks like you are overeflowing the region by 6408 bytes.
RAM is 112K
CCM is 64K
How big is OUTPUT_BUFFER?
What other large memory allocations are you doing?
Can you provide a copy of the .map file?
That will tell just what is going where and how big it is.
-John Scott
Search found 129 matches
- Thu Apr 17, 2014 11:10 pm
- Forum: STM32 Support
- Topic: CCM section & "section `.bss' will not fit in region `ram'"
- Replies: 27
- Views: 8025
- Sat Apr 05, 2014 7:58 pm
- Forum: STM32 Support
- Topic: Threads not working on a STM32F4
- Replies: 9
- Views: 2567
Re: Threads not working on a STM32F4
Is this the STM32F4-discovery board?
Which demo program are you trying to use?
What tool chain are you using?
Anything else you can tell us about your setup?
Thanks
-John Scott
Which demo program are you trying to use?
What tool chain are you using?
Anything else you can tell us about your setup?
Thanks
-John Scott
- Wed Mar 19, 2014 10:46 pm
- Forum: STM32 Support
- Topic: Problems using chVTSetI()
- Replies: 5
- Views: 1481
Re: Problems using chVTSetI()
Are you using a debugger?
Do you have all the debugging options turned on in the config files?
What are you seeing? Inquiring minds want to know!
http://chibios.org/dokuwiki/doku.php?id=chibios:guides:debug_guide In case you have not seen it.
-John Scott
Do you have all the debugging options turned on in the config files?
What are you seeing? Inquiring minds want to know!


http://chibios.org/dokuwiki/doku.php?id=chibios:guides:debug_guide In case you have not seen it.
-John Scott
- Wed Mar 19, 2014 8:42 pm
- Forum: STM32 Support
- Topic: Problems using chVTSetI()
- Replies: 5
- Views: 1481
Re: Problems using chVTSetI()
It looks like you are using this function in your main() function.... If that is the case, then you need to use chVTSet() not chVTSetI()... The "I" on the end indicates that it is to be called in one of the system lock states... Do a search for "i" class functions for more inform...
- Wed Mar 05, 2014 2:17 am
- Forum: STM32 Support
- Topic: evaluate the execution time
- Replies: 5
- Views: 1869
Re: evaluate the execution time
You can use halGetCounterValue()
You can find more information at:
http://chibios.sourceforge.net/html/gro ... a55b7fd74c
-John Scott
You can find more information at:
http://chibios.sourceforge.net/html/gro ... a55b7fd74c
-John Scott
- Sun Feb 16, 2014 5:54 pm
- Forum: STM32 Support
- Topic: CCM ( core coupled memory ) on stm32f4
- Replies: 2
- Views: 2467
Re: CCM ( core coupled memory ) on stm32f4
I found this information of what the "nobits" and "progbits" do. It may not be complete, but it tells us we don't need to worry about that warning. From: http://psomas.wordpress.com/2011/02/25/inline-assembly-gcc-attributes-linker-scripts-and-a-kernel-macro/ 3) When using the sec...
- Sun Feb 16, 2014 3:00 pm
- Forum: STM32 Support
- Topic: CCM ( core coupled memory ) on stm32f4
- Replies: 2
- Views: 2467
CCM ( core coupled memory ) on stm32f4
I am working on dumping everything out of the DMA accessible memory that I can to maximize DMA speed. In my makefile I have switched the section that was: # Define linker script file here LDSCRIPT= $(PORTLD)/STM32F407xG.ld #LDSCRIPT= $(PORTLD)/STM32F407xG_CCM.ld to read # Define linker script file h...
- Thu Jan 30, 2014 2:58 pm
- Forum: STM32 Support
- Topic: how to configure 16-bit GPIOE port for DMA access
- Replies: 6
- Views: 3300
Re: how to configure 16-bit GPIOE port for DMA access
Hi Giovanni, DMA is FUN!!! :D :D I have been using DMA for stuff since the Z80 days in the 80's. It takes a while to wrap your mind around the concepts, but it is not too hard from there... I have been working through the STM32 docs for the last week and a half. I think I have figured out the STM32 ...
- Thu Jan 30, 2014 6:58 am
- Forum: STM32 Support
- Topic: how to configure 16-bit GPIOE port for DMA access
- Replies: 6
- Views: 3300
how to configure 16-bit GPIOE port for DMA access
I am getting ready to set up DMA access to the 16-bit I/O port GPIOE. I am going to set the i/o port as output using the config file, but I am not sure how to specify the data register to the DMA function. It looks like this may work, but I am not sure.... // Set the destination address dmaStreamSet...
- Wed Jan 29, 2014 11:10 pm
- Forum: User Projects
- Topic: question on using timer and DMA for complex signal generatio
- Replies: 4
- Views: 2426
Re: question on using timer and DMA for complex signal gener
OK, I think I am getting a handle on how to set the dma transactions up, here is my code for setting up one of the DMA streams... This stream should move data from a 14K output buffer to PORTE one HWORD per trigger. Will this work correctly, or am I missing something.... Also, how do I set up a call...