/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / How to run another application.

Username:     
Password:     
             

Forum

# 1   2009-11-02 23:46:02 How to run another application.

nanbuwks
New member
Registered: 2009-09-14
Posts: 2

How to run another application.

Hello, I make application A and B.  Can I run application B from application A ?
I want to make A as application launcher.

Best Regards
Yoshimasa Kawano;  Nanbu works Inc.

Offline

 

# 2   2009-11-03 08:41:23 How to run another application.

matloub
Member
Registered: 2008-02-21
Posts: 98

Re: How to run another application.

Hi

It is possible to load several applications in Ride7.
You just have to add the elf of the applications to the project (with a code offset so they are load in a known address)
If one application call the other it will be possible to debug it.

Regards,
Matloub

Offline

 

# 3   2009-11-03 10:40:18 How to run another application.

nanbuwks
New member
Registered: 2009-09-14
Posts: 2

Re: How to run another application.

Hi, matloub,
Thank you for your advice , I will study such way.

So, I found UTIL_GetAppAddress() function in util.c.
http://www.stm32circle.com/circleos_doc … tml#l00649

Would anybody show me how to use this function? Can it to solve this problem?

Offline

 

# 4   2009-11-03 13:03:39 How to run another application.

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

Re: How to run another application.

Hi,

The function "UTIL_GetAppAddress()" gives the address of a loaded CircleOS application, founded in the FAT (application list).
You can call it with the name of your second application as parameter, and then jump to the returned address in order to launch your application.

Yves

Offline

 

Board footer