/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Fat Table in Circle os

Username:     
Password:     
             

Forum

# 1   2009-02-26 21:04:23 Fat Table in Circle os

repzak
Member
Registered: 2008-03-05
Posts: 170

Fat Table in Circle os

Hello,

Where can i find some info how the fat table are working in the cirlce os?

(application table.. i know there are the array in the fat.c...)

Kasper

Offline

 

# 2   2009-02-27 07:17:27 Fat Table in Circle os

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Fat Table in Circle os

The FAT is just a list of pointer to the applications. The very first pointer (to the first application) is at the address "FAT_ADDRESS-4" ( = 0x08005FFC by default). The pointer to the second application is located at the address "FAT_ADDRESS-8" ( = 0x08005FF8 by default) and so on.
Typically, you will find the value 0x08006000 at 0x08005FFC. If the first application is 8KB long, you will have the value 0x08008000 at the address 0x08005FF8. The 'end of list' is the value 0xFFFFFFFF.

Offline

 

# 3   2009-02-27 08:48:56 Fat Table in Circle os

repzak
Member
Registered: 2008-03-05
Posts: 170

Re: Fat Table in Circle os

Hello,

Can there be a gap beetween app1 and app2... (empty space)?

Offline

 

# 4   2009-02-27 10:23:51 Fat Table in Circle os

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Fat Table in Circle os

Gap between application ? Yes of course, but circle_mgr.exe does not create any gap (it takes the size of the last application (rounded in KB) and place the next application after.
No gap in the FAT.
At the moment, the FAT is write-only. Circle_mgr does not allow to remove entries.

Offline

 

Board footer