#1 The flash areas reserved for CircleOS are :
- 0x8000000 to 0x8006000 (24 Ko) for code and FAT (list of applications),
- 0x805F000 to 0x807FFFF (132 Ko) for constants and non debuggable code).
The RAM area reserved for CircleOS is :
- 0x2000D800 to 0x200FFFF (10 Ko)
The user manuel is indeed not up to date.
Concerning the stack, the higher limit address is 0x2000D800, and it goes down to 0x2004000 reserved for applications.
#2 If you want more RAM for your application, you can modify the file "Circle_app.ld", this paragraph :
MEMORY
{
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 16K
FLASHB1 (r) : ORIGIN = 0x8000000, LENGTH = 0x0006000
FLASH (rx) : ORIGIN = 0x8006000, LENGTH = 8K
EXTMEMB0 (rx) : ORIGIN = 0x00000000, LENGTH = 0
EXTMEMB1 (rx) : ORIGIN = 0x00000000, LENGTH = 0
EXTMEMB2 (rx) : ORIGIN = 0x00000000, LENGTH = 0
EXTMEMB3 (rx) : ORIGIN = 0x00000000, LENGTH = 0
}
Just increase the LENGTH of the RAM, and be careful to keep enough space for the stack.
Concerning the flash, 356 Ko are free for the applications, is it not enough ?
Last edited by yrt (2009-06-24 07:08:21)