/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Application address MSB

Username:     
Password:     
             

Forum

# 1   2010-05-04 07:42:40 Application address MSB

ntrf.zns
Member
From: Belgorod, Russia
Registered: 2009-11-01
Posts: 134

Application address MSB

menu.c // line 411

Code:

            addr   = (long unsigned) (*ApplicationTable) [ -CurrentApplication ] ;
            addr &= 0x00FFFFFF;
            addr |= 0x08000000;

In .hex files with memory dump i can see that addresses inside application table are stored with modified MSB. CircleOS doesn't seem to use it anywhere. Is this application size for circle_mgr.exe or somthing else?

Offline

 

# 2   2010-05-05 06:57:37 Application address MSB

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: Application address MSB

Hi,

Effectively, the MSB contains the size of the application in Kb. This information is written and used by the circle_mgr, and also used by CircleOS to display the memory occupation in the About page.

Yves

Offline

 

# 3   2010-05-05 12:31:57 Application address MSB

ntrf.zns
Member
From: Belgorod, Russia
Registered: 2009-11-01
Posts: 134

Re: Application address MSB

Thanks for info. This explains why apllication size is not displayed in my About page. I guess i broke it.

Offline

 

Board footer