This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Shutdown and restart SYSBIOS

Other Parts Discussed in Thread: SYSBIOS

Hello,

I'm using SYSBIOS v6.31.04.37 including NDK v2.20.0.19 on a OMAPL138Evm board. Depending on our application I have to write a SYSBIOS program which loads AIS-files and start other SYSBIOS applications via Ethernet (TFTP). These applications are completely independent projects including c_init, sysbios,ndk,etc.

My first idea was to write a sysbios-program which loads a chosen AIS-file into memory, stops the ndk-stack by NC_Stop, stops the SYSBIOS by BIOS_exit and jump to the c_init vector of the loaded application. The problem is that the BIOS_exit function never returns and ends in a loader_exit function.

Exists any way for a controlled shutdown of ndk and SYSBIOS with having the oportunity to jump to a new application code?

Best regards,

Klaus Peter

 

 

  • BIOS_exit() internally calls System_exit().   You can register functions that are called at exit-time via "System_atexit()".   When you call BIOS_exit(), your registered function will be called and you can branch to new c_int00 entry point or whatever.

    -Karl-