Forum : Ride IDE
Original Post
Post Information | Post |
---|---|
April 6, 2010 - 7:56pm
|
I am carrying on with Ride7 for my STR911FAM44 project, some questions about the Ride default ld file: 1) the STR91xFx44_FLASH.ld sets "PROVIDE ( _nbb_size = 0x3 ) ;" which must be for a 64K secondary flash bank instead of 32K (nbb_size should be set to 0x02, as far I decode the tricky ST doc...), I may be wrong pls check it. 2) why do you use the SRAM through the location starting at 0x50000000 instead of the SRAM location just above the flash at 0x04000000 ? Thanks, |
Hi,
1) There is some system data after the secondary flash that require that the secondary flash is activated for 64K instead of 32K. I don't remember exactly what it is but you don't need to know, as you never need to access it explicitly. (that's why they did not document it) Just keep it as it is; this is what has been tested and validated by ST. ;)
2) We prefer to use non-buffered accesses by default because there is no risk of data inconsistency problems. You can change it to use the buffered range instead and then it should be faster, but you should only do that if you know exactly everything that this implies. (I don't ;) )
Best Regards,
Vincent