Home/Support/Support Forum/Is it possible to have two programs in RCM6760 memory and run one after another?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Is it possible to have two programs in RCM6760 memory and run one after another?

+1 vote
Hi,

Is it possible to have two programs in RCM6760 memory and run one after another?

Best Regards,
Luis Silva
asked Sep 18 in Rabbit Software by lfrs New to the Community (4 points)

Please log in or register to answer this question.

1 Answer

0 votes
 
Best answer
Not really. You should work to combine the programs into a single program that can accomplish both tasks.

The "Remote Program Update" (RPU) feature allows for downloading a new program and booting into it on the next restart, but that's typically used for firmware updates. The RCM6760 boots the most-recently installed and valid firmware.

But, you could investigate the private _buInstallSecondary() API as a way to toggle between two images. You would install "image A" to the board with RFU, and that firmware would use RPU to download and install an "image B". Each of those images could use _buInstallSecondary() to change which firmware runs at boot.

Be sure to define BU_ENABLE_SECONDARY and BU_TEMP_USE_SECONDARY macros if you want to explore that option. It's non-trivial, and less desirable than just combining the functionality of two programs into one.
answered Sep 19 by TomCollins Veteran of the Digi Community (1,453 points)
selected Sep 26 by lfrs
...