Search Results

Search results 1-16 of 16.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • mailbox call from diffrent file

    bar - - embOS related

    Post

    I try to operate the mailbox example in embOS but to send the message not from the main.c but from other file. I write the create in the main.c #define MAIN . . . OS_MAILBOX_Create(&MyMailbox, MAX_MSG_SIZE, MAX_MSG_NUM, &MyMailboxBuffer); where all the deafine and announce sit in main.h where I use extern for all except main that call them like this: #ifndef MAIN // only main use those variables and function as original #define EXTERN extern #else #define EXTERN #endif #include "RTOS.h" /* MailB…

  • how to show task status during run

    bar - - embOS related

    Post

    Thanks Martin for your replay. I see it is a Java scrip. how do I connect it to my project? Bar.

  • how to show task status during run

    bar - - embOS related

    Post

    I am using SES 3.40 with embOS ex. I want to see the task status as semaphore mutex ect during run. How can I do it? Bar.

  • I run a project with target nRF52840_xxAA. I want to see the status of GPIO registers during debug. I open the register window on the Group button , but all I see is GPIOE . 1. Where can I found them?

  • Clock issue example import to embOS

    bar - - embOS related

    Post

    Hello . I try to bring the serial pca10056 example of Nordic into the embOS V5.02 system on SES V3.40 for nRF52. In the example the first thing it do clock setting by nrf_drv_clock_init(), then power issue nrf_drv_power_init(NULL) and after that init the serial interface. On the other hand in the embOS project START the first line is OS_Init(); but I don't have any information what this function do. If it also handle the clock, power, ect. 1. Where can I found information about the [b]OS_Init() …

  • [SOLVED] Empty mbOS project

    bar - - embOS related

    Post

    Thank you Martin. I try to follow you last explanation but I miss the Edit and Import Section (see attach) How is it?

  • [SOLVED] Empty mbOS project

    bar - - embOS related

    Post

    O.K. For the Nordic function I will do it myself. For the merge process I need some clarification. What I did was 2 things. 1. Add the include files in the Edit Option after the nRF Project, and I check that it point to the right places. 2. Add the explorer project view in the some order and with the some folder to the nRF Project and check that it see all c files. Now: a.What else I should do to marge those two project (like the xml files) ?Is there a tab I can do it from the Edit Options ? b. …

  • [SOLVED] Empty mbOS project

    bar - - embOS related

    Post

    Thanks for your help. I take out the DeviceSupport folder as you suggest. I try to build it and I get a lot of undifies there. I attach the output file. For example it can't find __start_nrf_sections in ses_startup_nrf_common.s Where it should be , because I also don't know where to look for it? Also I don't know which command start the SystemInit() taht start all, because I take out the startup file of the nRF project(segger) but leave the startup of the nordic project. Maybe there is a misdire…

  • [SOLVED] Empty mbOS project

    bar - - embOS related

    Post

    I try to use one of Nordic ex running on the SES, in mbOS project. The problem is that when I get the mbOS package there is only one Start project dedicate to a specific chipset, with all the peripheral of it. SO when I compine an example of the same chip from Nordic tutorial, I get a lot of duplicate and it is very hard to get all the multiply functions, files ect. Is there an Empty mbOS project use only the RTOS files with no specific chip , so it can be combine to an example use one of Nordic…

  • I take 2 projects and merge them to make one. There are a lot of error because of multiply declaration. SO I try to find them by the search . I take the function name and use Ctr+Shift+F with the Search in: Entire Solution and Current Project. Attach the search parameters. But on the search result I only get results from .c files How can I get from all files?

  • I make some search and found that discussion devzone.nordicsemi.com/f/nordi…in-segger-embedded-studio I see that I didn't point to the common so I point to and copy all the include path to this window (see attach) . The first 3 with $(ProjectDir) was before so I didn't touch them . Now I look on the project setting window and I see this c_user_include_directories="$(ProjectDir)/DeviceSupport;$(ProjectDir)/CoreSupport;$(ProjectDir)/../../../Inc;../../../../../nRF5_SDK_15.2.0_9412b96/components&#x…

  • I take a nordic example made in SES and import it to other example also done on SES. To make it work I take the all includes files and place them in the right order, next to the main example where for the path I use Edit_options-> Preprocessor->User include directories open the window and write them at the right location, towards the project file (see attach). Will some h file found by the SES likenordic_common.h it doesn't find like sdk_common.h where are both in the some folder (see attach), b…

  • O.K. Thanks and done. Please let me know when there will be example include Nordic ex in embOS. Bar.

  • THanks Martin. 1.In my embOS I fond this file RTOSInit_nRF5x.c Is this is the right one? 2. for the _WFI I found this function void OS_Idle(void) { // Idle loop: No task is ready to execute while (1) { // Nothing to do ... wait for interrupt #if ((OS_VIEW_IFSELECT != OS_VIEW_IF_JLINK) && (OS_DEBUG == 0)) //__WFI(); // Switch CPU into sleep mode #endif } } _WFI all ready close. Is this the right function? 3. I didn't find #define OS_VIEW_IFSELECT OS_VIEW_IF_JLINK in that file. Can it be so? Thank…

  • I am new to mbOS but I am familier with RTOS in general. I have an example of BLE UART take from Nordic example in package nRF5_SDK_15.2.0_9412b96 I download. It locate here with all of its <Package Folder>\nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_uart. It is open in SES. Now I open the start example of mbOS for nordic with the some device. There are 2 task of blink. I want to run the BLE UART example as a task in the mbOS example. I want to know how can I copy all the C folders o…

  • I an new to SES. I use previously the IAR. On IAR when I want to go to any function in the current active edit file I click on the right side and then a list of all the function specific to the active file was show. Is it also work for the SES and how can I do it? Bar.