RE: Shell in RTEMS

2019-12-11 Thread Vishav.Vishav
Hello, I will check if I am compiling with NDEBUG. As far as failed assertion is concerned, I printed the return value of rtems_shell_init and it was 0 meaning RTEMS_SUCCESSFUL. Regards, Vishav -Original Message- From: Sebastian Huber [mailto:sebastian.hu...@embedded-brains.de] Sent

Re: Shell in RTEMS

2019-12-11 Thread Sebastian Huber
Hello, I am a bit surprised that you don't get a failed assertion. Do you compile with NDEBUG? Please have a look at the RTEMS configuration documentation https://docs.rtems.org/branches/master/c-user/configuring_a_system.html in particular https://docs.rtems.org/branches/master/c-user/conf

Shell in RTEMS

2019-12-11 Thread Vishav.Vishav
Hi, I want to have a simple shell application. I am compiling the application from RTEMS5 Toolchain and then booting this app from uboot on the target. Following is my source code: #include #include #include #include #include #include #include extern "C" { rtems_task Init( rtems

Re: Internal Error RTEMS API

2019-12-11 Thread Sebastian Huber
On 11/12/2019 11:04, vishav.vis...@dlr.de wrote: *** FATAL *** fatal source: 1 (INTERNAL_ERROR_RTEMS_API) fatal code: 4026597379 (0xf0010003) This error is unspecific. You can get it with a call to rtems_fatal_error_occurred() for example. I would set a break point to _Terminate() and use a d

Internal Error RTEMS API

2019-12-11 Thread Vishav.Vishav
Hi, I am creating a c++ rtems application. I have already been able to run a hello world application. In my current application, I declare a class object in the task function. This class has been defined in other .h and .cpp files which have been included in the current application. The applic