9 years, 2 months ago.

Which RTOS did you successfully run on nrf51-DK?

Hi all :) I'm writing here because I'm facing a big issue trying to use the default RTOS provided by mbed ecosystem.

I cannot even run the first thread example found at this page (http://developer.mbed.org/handbook/RTOS).. I cannot figure out which is the problem because I'm not a wizard of GDB (I use GNU GCC toolchain) but I've undertood that there's a problem trying to read in a forbidden location (0x20007fe4) and some other issue with osErrorISR...

Since it's very difficult to figure it out by myself without a huge help, I want to ask you if you successfully ran a generic RTOS. If I could experiment a bit with a working RTOS, I'm sure I would undestand lots of thing that at the moment I'm missing.

It would be great if you could provide me Source code and an example, possibly. Thank you in advance!

Francesco

Question relating to:

The nRF51 Development Kit is a single-board development kit for Bluetooth Smart, ANT and 2.4GHz proprietary applications using the nRF51 Series SoC. This kit supports both development for both nRF51822 …

I've found similar issues to mine.. It really disappoints me that after more than 2 months no one have at least answered something!

link to other questions: https://developer.mbed.org/questions/5455/mbed-rtos-cannot-work-with-nrf51822/ , https://developer.mbed.org/questions/4672/Basic-RTOS-Thread-operations-not-working/ and http://developer.mbed.org/questions/3703/Please-help-mbed-rtos-doesnt-work-when-i/

I thought that mbed was an easy way to start but I'm changing my mind..

posted by Francesco Franchina 10 Feb 2015

Hi,

thanks for summing up all links within one post, somebody should definitely look at this problem. To track t his issue, would be beneficial if it's added to github mbed SDK repository

posted by Martin Kojtal 11 Feb 2015

1 Answer

9 years, 2 months ago.

Hi,

looks like a timer problem, I created an issue on github, https://github.com/mbedmicro/mbed/issues/902.

Accepted Answer

There's an update, I looked at it. Please check the issue #902 on github

posted by Martin Kojtal 11 Feb 2015

Thank you :)

posted by Francesco Franchina 11 Feb 2015

I've read what you posted on github but it's still unclear to me one thing: the board is supported with some limitations, so why are you going to remove the support of RTX for nrf51 DK?

The S110 SoftDevice documentation says that it can work on top of RTX.. What am I missing?

posted by Francesco Franchina 11 Feb 2015

It can, but that means to rewrite RTX sources to replace Systick by RTC for only this platform, which is not a task cna ber done within a hour. IT will be enabled again once it's implemented.

posted by Martin Kojtal 16 Feb 2015