Forum Discussion
Altera_Forum
Honored Contributor
13 years agoHi Jan
I still think you got a problem with the SIZE (not the base address) of your memory: the error message implies that your program is larger than the SDRAM size specified in the .bsp. It could well be that the same settings work for ucosii because the overall code size might be smaller than the one for FreeRTOS. I have no idea what the actual physical size of your memory is, but if it's bigger than the currently specified size ( 0x800000 = 8MB ) then simply increase the span setting (you must do that in SOPCbuilder or Qsys and recompile the FPGA). If on the other hand your board only provides 8MB, you'll probably have to reduce the size of your code; not quite sure though why your program seems to take that much space: my current project uses just short of 10MB but includes much more than a simple demo app. Good luck, Matthias --- Quote Start --- Follow on I know this fault i had a copy of port.c 7.02 version in a backup file so it was trying to use it twice I deleted this and cleared fault however address 0x88098dc of FreeRTOS.elf section `.bss' is not within region `SDRAM' FreeRTOS C/C++ Problem address 0x88098dc of FreeRTOS.elf section `.SDRAM' is not within region `SDRAM' FreeRTOS C/C++ Problem is still outside memory allowcation The bsp says now sdram from 8000020-87FFFFF if you try and make this bigger it throws and error I am not sure if freertos is setting this location somewhere or it adding an offset to the momory ??? Jan --- Quote End ---