Cross-Domain Development Kit XDK110 Platform for Application Development

Size: px
Start display at page:

Download "Cross-Domain Development Kit XDK110 Platform for Application Development"

Transcription

1 First Steps Guide Cross-Domain Development Kit Platform for Application Development Bosch Connected Devices and Solutions : Data Sheet Document revision 1.0 Document release date 01/08/16 Document number Technical reference code(s) Notes --FIRST-STEPS-GUIDE Data in this document is subject to change without notice. Product photos and pictures are for illustration purposes only and may differ from the real product s appearance. Subject to change without notice

2 First Steps Guide Page 2 XDK Guide First Steps PLATFORM FOR APPLICATION DEVELOPMENT The First Steps Guide provides the first steps in the usage of the XDK Workbench and the XDK. This includes a major overview of the features of the XDK Workbench and how to get started with an own application on the XDK. Additionally, some useful coding features of the XDK Workbench are described. Table of Contents 1. XDK WORKBENCH STARTUP OPENING THE XDK WORKBENCH XDK WORKBENCH WORKSPACE (XDK VIEW) APPLICATION TEMPLATE HELLO WORLD CODE EXAMPLE HELLO WORLD OPERATING TASK HELLO WORLD TIMER TASK SENSOR EXAMPLE INITIALZING LIGHT SENSOR READING LIGHT SENSOR XDK LIVE MONITOR PLUGIN GENERAL DESCRIPTION OF THE PLUGIN LIVE MONITOR USAGE USEFUL FEATURES OF THE XDK WORKBENCH SHOWING LINE NUMBERS ENABLING AUTOSAVE BEFORE BUILDING A PROJECT ADDING A NEW INTERFACE RENAME A PROJECT IN THE XDK WORKBENCH This guide postulates a basic understanding of the XDK Workbench. For new users we recommend going through the XDK Workbench First Steps guide first:

3 First Steps Guide Page 3 1. XDK Workbench Startup 1.1 Opening the XDK Workbench Start the XDK Workbench by clicking on the XDK icon on your desktop. The default path of the application is located in C:\XDK-Workbench\XDK-Workbench.exe. During the startup a splash screen appears. The welcome screen will be shown afterwards. Picture 1: Welcome Screen of the XDK Workbench The welcome screen is sectioned in three parts: Hands-On & Documentation (upper left), Feedback (upper right) and the XDK-Examples (lower left) Hands On & Documentation This section contains four buttons. Click&Go: Access the workspace set up for a quick start Getting Started: The shortcut to the XDK Forum for community interaction XDK Docs: This button will open the documentation Eclipse Docs: This button will open the Eclipse help (XDK Workbench ist based on Eclipse) Feedback Clicking the respective button will take you to the matching XDK community forum section to get help, to post a new application or to post an improvement. Inside the community you will find hints, tips and tricks and you can get in touch with other developers.

4 First Steps Guide Page XDK Examples - Basics The XDK comes with a variety of application examples. Choose one example and click on it. The chosen example will be imported into the workspace. The following examples are currently included: XdkApplicationTemplate This is an empty template serving as a starting point for new projects. LedsAndButtons This example contains a showcase for the use of LEDs and buttons. SdCardExample This example contains the showcases for the use of the SD card file system XDK Examples Networking HttpExampleClient This example shows how to use the network stack to perform an HTTP Client Request. HTTPS is not yet implemented. If an encryption is required, it is recommended to implement an own small encryption. (e.g. Base64) WlanNetworkManagement This example demonstrates how to use the XDK WLAN Abstraction to scan for networks, join networks, set a static IP address or dynamically obtain an IP address via DHCP. Lwm2mExampleClient This example demonstrates how to register with a LW-M2M Server including the standard LW-M2M Objects. Unencrypted and encrypted communication is both supported. SendDataOverUdp This example demonstrates how to send arbitrary data over WLAN as a UDP Broadcast XDK Examples - Sensors SendAccelerometerDataOverBle This example streams raw accelerometer data from the BMA280 Acceleration sensor via Bluetooth Low Energy (BLE). The Alpwise Data Exchange Profile is used; Alpwise ios/android App is required. Send "start" to XDK, so that streaming of data begins. SendVirtualSensorDataOverUsb The example will print out raw data from all available physical sensors. The example captures the sensor data of all sensors in one cycle. StreamSensorDataOverUsb This example will print out data from the virtual sensors over the USB port. The particular sensor can be selected in the source code. SendAccelDataOverUdpandBle If you want to use WLAN and BLE, here is a demo for this. This example demonstrates how to read sensor values from the BMA280 Acceleration sensor and send the data over WLAN (UDP Broadcast) and Bluetooth Low Energy via the Alpwise Data Exchange Profile. Either use your Android or ios mobile phone (see Android or ios App Store) to connect to XDK and receive the data. Send "start" to XDK via Bluetooth Low Energy, so that streaming of data begins.

5 First Steps Guide Page XDK Workbench Workspace (XDK View) Let s get started with the workspace view. Picture 2: XDK workspace window The default Workbench setup is split into four main tiles per default: XDK Devices (upper left), Project Explorer (lower left), Editor (upper right) and Console (lower right). The menu bar is located at the top of the window as usual. Each tile can be maximized or minimized by clicking on the respective symbol on the tile. Resizing is possible by changing the position of the tile borders. You can change the perspective by clicking on the Open perspective button (see 1.1.1) The menu bar Picture 3: The menu bar The menu bar contains all necessary functions of the XDK workbench. There is a classic menu structure and a symbols bar. Some entries are available only in a suitable context (e.g. Refractor). The symbols are only active highlighted if a matching context exists.

6 First Steps Guide Page 6 Symbol buttons of the menu bar Picture 4: Symbol buttons 1. Project/Other same as File\New, opens the Project Wizard (see picture 11) 2. Save/Save all saves (all) files shown in the editor. 3. Build all compiles all files. 4. Opens C Project Wizard; shows all examples per default. 5. Opens the welcome page. 6. External Tools: click on the black arrow for more options. Same structure as in the Run menu above. 7. Open Element opens the element menu. 8. Search opens the File/C++ search menu, can also be reached via Search above. 9. Toggle Mark Occurrences: marks occurrences in the editor. 10. Next/Previous Annotation; jumps to the next/previous annotation. Choose the annotation type by clicking on the black arrow. 11. Last Edit Location sets the cursor to the last edited position in the editor. 12. Forward /Back to switches between the register cards in the editor. Picture 5: Quick access bar 1. Quick Access; shows the possibilities of the Workbench by simply typing in characters or numbers sorted by categories. 2. Open perspective; changes the Workbench view according to the chosen perspective. 3. After choosing a different perspective the matching symbol appears right from the Open perspective button for faster access. The buttons disappear with right-click/close XDK Devices Picture 6: XDK devices list

7 First Steps Guide Page 7 The XDK devices list (picture 6) shows a list of previous and currently connected XDKs. The three buttons on the right allow to flash, boot or to debug the device. For activating the debug mode the JLink adapter (sold separately here) must be connected. Right clicking on the XDK will open the context menu. You can choose Go to Bootloader and Flash Bootloader. Also you can rename the XDK device here. (Picture 7). Picture 7: Connected XDK devices The COM and JLink buttons in the device list (picture 7) can also be manually activated or deactivated. The COM button enables the current connection between the XDK and the PC. The JLink button enables the current connection over the JLink of the XDK to the PC. What a JLink does will be described in section Flash Button Select a project from the Project Explorer or import an example from the XDK welcome screen. Press the Flash button. The XDK Workbench then compiles the project.the XDK is then put into bootloader mode. The compiled project is now transferred to the XDK, which boots automatically on completion. Picture 8: XDK flash view Boot/Reboot The button is context-sensitive and can change between Boot and Reboot, depending on the current mode of the XDK. By pressing the Boot button the XDK boots from bootloader to application mode. By pressing the Reboot button XDK switches from application mode to bootloader mode Debug For debugging a JLink adapter is required. Choose a previously compiled project. The XDK Workbench configures the debug configuration automatically. The binary is downloaded to the XDK and the debugger starts. The XDK Workbench proposes to switch to debug perspective.

8 First Steps Guide Page XDK Device Information To get some system relevant information like the connected XDK s CoreID or the USB serial number you can mouse over a device. A window will appear and display the information. The CoreID is unique for each XDK and is based on it s micro controller ID. Picture 9: XDK device information Project Explorer The project explorer stores all current XDK projects. It allows the creation of new projects and the implementation of example projects from the welcome screen. It is also possible to import and export projects from and to the XDK community. Picture 10: Project explorer Creating a new Project It is possible to create new projects in the project explorer. For this you have to right-click in the project explorer area -> select New -> select Project. Picture 11: Project wizard Now you have to choose between certain project types. It is recommended to create a C project.

9 First Steps Guide Page 9 Picture 12: New Project Open XDK Project Template and then select Application Template. This will include the required XDK Toolchain. The toolchain is required to compile and flash an application onto the XDK. Picture 13: New Project type selection

10 First Steps Guide Page Editor Picture 14: XDK workbench code editor The editor area of the XDK workbench allows entering and editing of code lines. More functions are available by using the context menu Code Editor - Autocompletion Code autocompletion is an useful feature of the XDK workbench. Type the starting character and complete the name with ctrl + space. With this shortcut it can be avoided to type long variable names. Additionally it is a convenient way to find variables and functions you want to use from the included libraries. Picture 15: Code editor autocompletion window

11 First Steps Guide Page Console Picture 16: Console view The Console tab shows an overview of the status of the Workbench, allows sending data to the XDK and shows output coming from the XDK via USB. Buttons are available on the upper right side of the tile, depending on the current status. These buttons contain functions like go to next error, clear console, etc. There are two additional tabs. Progress shows the current status of e.g. flashing. Picture 17: Progress bar You can cancel the operation by clicking on the red button on the right side of the progress bar. The Problems tab displays existing problems detected by the XDK Workbench. Picture 18: Problems view

12 First Steps Guide Page XDK Operating Modes This chapter describes the different operation modes of the XDK, how to determine in which mode the XDK is and how to switch between them. Please note that in normal operation, the XDK Workbench will automatically detect the mode it currently is in. Furthermore, the XDK Workbench will try to automatically perform the mode switch that is required for its correct function. However, there may be certain situations in which the automatic detection or the automated switching does not work. In general, the XDK knows the following modes Bootloader Mode Application Mode Assertion Stack Overflow Bootloader Mode The XDK bootloader is stored in the first 64 kb of XDKs flash memory. When the bootloader is no longer present or becomes corrupted, an update or recovery is only possible via the JLink JTAG Adapter. The bootloader allows uploading XDK applications via USB (see XDK Bootloader in the XDK General for further information). The bootloader is write-protected and can only be overwritten or updated using the JLink JTAG Adapter (sold separately) via XDK Workbench. When powering up, the XDK will automatically go into the bootloader mode, which is indicated by the red LED. If the XDK finds a valid application, the bootloader will automatically turn off the red LED and start the application. If no valid application is found or the XDK is forced to go into bootloader mode, the yellow LED indicates if the XDK is successfully connected to a PC. Once the red and yellow LEDs are solid on, the XDK shows up in the device view of the XDK Workbench and can be programmed. How to engage the Bootloader The XDK can be set into bootloader with a useful feature of the XDK workbench. Right-click on the XDK and select Go to Bootloader. In the case that the XDK does not respond (and is possibly not even recognized over USB), you can manually force the XDK into boatloader mode via Approach 1 Approach 1 Switch off XDK Press and hold Button 1 Turn on XDK Release Button 1 as soon as red LED turns on This approach is the "last resort" when XDK does not respond. Even if the XDK is not recognized over USB, approach 1 will work. There are two more possibilities to set XDK into bootloader mode: Approach 2 Get XDK into application mode (typically by turning it on) Connect it to your PC Start XDK Workbench Right-click on your XDK in the XDK Device View and select Go to Bootloader The second approach will set a flag in the user page of the MCU of XDK. When XDK reboots, the bootloader reads the flag and engages itself. Only after booting an application, the flag is reseted. Approach 3 Get XDK into application mode (typically by turning it on) Connect it to your PC Connect to XDK with a serial terminal program (see XDK_USB_DEVICE_HANDLING_Terminal) Send the following string: #reboot$ XDK will automatically reboot and go into the bootloader

13 First Steps Guide Page 13 This is technically the same as Approach 2, but it is to mention that it is possible to send commands to the XDK via the serial interface. More information on the commands that can be sent by USB can be found in the User Guide in chapter Binary images uploaded via the bootloader must be transferred in the XMODEM-CRC format Application Mode/Startup Guide This simple guide is intended for developers who are going to develop applications for XDK, to know the basic startup procedure of the system before they start writing their application. The XDK software can be configured to start in two ways as described below. The configuration can be done using the _SYSTEM_STARTUP_METHOD macro present in the application makefile. By default the XDK is shipped with DEFAULT_STARTUP enabled. Refer the code block below representing the change. export _SYSTEM_STARTUP_METHOD=CUSTOM_STARTUP Default Startup The main() function implemented in the SystemStartUp module will be the first C function executed during power ON and it does the following: 1. EFM32 chip is configured to a proper state with the help of the library function exported by emlib. 2. All interrupt sources are configured to maximum priority to ensure that ISR runs at highest priority. 3. System peripherals like GPIO, I2C and USB are initialized to a proper state. 4. GPIO pins are configured to their default value. 5. The user page module is initialized. It is used to save configuration information like Wi-Fi MAC address, Bluetooth MAC address, etc., in the user page area of flash. 6. Creates a default application specific initialization timer and start it. 7. Gives control to the operating system by starting the task scheduler of FreeRTOS. Custom Startup The custom startup procedure will exclude steps 3 to 5 of the default startup procedure described above to give users the flexibility in initializing system peripherals. Users can choose to initialize and configure the peripherals which they want to use in their application. If the custom startup procedure is configured, users have to ensure that the GPIO pins they are using are initialized to a proper default state. In both of the above configurations XDK's SystemStartUp module will schedule a default application-specific initialization timer appinitsystem which will run in the timer task context with task priority 2. Note: main.c is required to start up the freertos operating system. All code implementations will take place in additional interface header.h files and implementation.c files. Please refer to the section 5.3 how to add new interfaces to the XDK.

14 First Steps Guide Page Application Template The XDK Workbench provides a recommended project-template for own projects. This template is called XdkApplicationTemplate. It includes the XDK toolchain that is required to compile and flash a project to the XDK. Picture 19: XDK application template The XdkApplicationTemplate can be imported in two different ways. One is to import the template over the welcome screen by clicking on the example XdkApplicationTemplate. The other one is to generate the XdkApplicationTemplate as project as described in the section Hello World Code Example 2.1 Hello World Operating Task This section gives a small introduction about the operating and timer tasks. It should give the user a basic understanding about how these tasks work via a hello world implementation. The start will take place with the operating tasks. Code 1: Hello world implementation - main.c /* own header files */ /* system header files */ #include <_Basics.h> #include <stdio.h> /* additional interface header files */ #include "XdkSystemStartup.h" /* functions */ int main(void) { systemstartup(); }

15 First Steps Guide Page 15 Code 2: Hello world operating task application file - application.c /* system header files */ #include <stdio.h> #include <_Basics.h> /* additional interface header files */ #include "FreeRTOS.h" xtaskhandle Application_gdt; /* Application to print "hello world" on serial console. */ void Application_init(void * pvparameters) { (void) pvparameters; for (;;) { printf("hello world\r\n"); vtaskdelay((portticktype) 1000 / porttick_rate_ms); } } /* This is a template function where the user can write his/her custom application. */ void appinitsystem(xtimerhandle xtimer) { (void) (xtimer); } /*Call the Application Init API*/ xtaskcreate(application_init, (const char * const) "Application_init", 256,NULL,1,&Application_gdt); 2.2 Hello World Timer Task An other type of tasks beside the operating tasks are the timer tasks. These have the advantage to run an application periodically without manual implementations of any infinite loops. How to use them will be shown in the implementation code 3 of the hello world application with timer tasks:

16 First Steps Guide Page 16 Code 3: Hello World Timer Task Application File - application.c /* system header files */ #include <stdio.h> #include <_Basics.h> /* additional interface header files */ #include "FreeRTOS.h" /* Macro used to define blocktime of a timer */ #define TIMERBLOCKTIME UINT32_C(0xffff) #define TIMER_AUTORELOAD_ON pdtrue #define SECONDS(x) ((portticktype) (x * 1000) / porttick_rate_ms) /* Print string "Hello World" on the console */ void printhelloworld(xtimerhandle pxtimer) { _UNUSED(pxTimer); printf("hello world\r\n"); } /* Application to print "hello world" on serial console. */ void Application_init(void) { xtimerhandle timerhandle_gdt; /* create timer task to read and print lightsensor data every three seconds */ /* Validated for portmax_delay to assist the task to wait Infinitely (without timing out) and ticks cannot be 0 in FreeRTOS timer. So ticks is assigned to 1 */ timerhandle_gdt = xtimercreate( (char * const) "Test Application to print Hello World", SECONDS(3), TIMER_AUTORELOAD_ON, NULL, printhelloworld); } /*start the timer*/ xtimerstart(timerhandle_gdt, TIMERBLOCKTIME); /* This is a template function where the user can write his/her custom application */ void appinitsystem(xtimerhandle xtimer) { _UNUSED(xTimer); Application_init(); }

17 First Steps Guide Page Sensor Example Following the first own sensor measuring will be implemented. The reason why the light sensor will be implemented is because the search for mistakes is relatively simple. As described before the example will be implemented in the recommended XdkApplicationTemplate project. Note: appinitsystem() is required for the example and should not be deleted First of all, the interface of the light sensor has to be included. Code 4: Including primary header /* Include this code in XdkApplicationTemplate.c */ #include "XdkSensorHandle.h" Equally to this the interface of the light sensor interface can be included with the following header file. This interfaces provides all required functions to initialize and use the sensor. Code 5: Including sensor specified header #include "_LightSensor.h" XdkSensorHandle.h has the advantage that it includes the header file _LightSensor.h of the light sensor and it also contains the interfaces of all other sensors of the XDK. Therefore XdkSensorHandle.h will be used as primary header file. 3.1 Initialzing light sensor The next step is to initialize the light sensor. Code 6: Implementation of the initialization of the light sensor /* Include this code in XdkApplicationTemplate.c */ static void initlightsensor(void) { /* initialize light sensor */ Retcode_T returnvalue = RETCODE_FAILURE; returnvalue = LightSensor_init(xdkLightSensor_MAX44009_Handle); if ( RETCODE_OK = returnvalue) { printf("light Sensor initialization Failed\n\r"); } }

18 First Steps Guide Page 18 The first expression is used to generate a return code. Afterwards the light sensor is initialised by LightSensor_init(), which returns the return code that can be checked if the sensor was correctly initiated. 3.2 Reading light sensor After the correct initialization the sensor is ready to read. The following code snippet describes how a function reading the incoming sensor data has to be implemented. Code 7: Implementation to read the light sensor data /* Include this code in XdkApplicationTemplate.c */ static void readlightsensor(xtimerhandle xtimer) { (void) xtimer; /* Read and print light sensor data */ uint32_t milliluxdata = UINT32_C(0); Retcode_T returnvalue = RETCODE_FAILURE; returnvalue = LightSensor_readLuxData( xdklightsensor_max44009_handle,&milliluxdata); } if (RETCODE_OK == returnvalue) { printf("light sensor data obtained in milli lux :%d \n\r",(unsigned int) milliluxdata); In code 7 the sensor value of the light sensor is read. The first expression is related to the freertos operating system and so not necessarily needed. It is only there to prevent a warning of the compiler. The following declaration of the variable milliluxdata describes the generation of a 32-bit variable where the light sensor data is stored. It follows the declaration of the condition state returnvalue if the data could be read. The next line of code describes the actual reading of the light sensor data via LightSensor_readLuxData(). The display of the data takes place in the if bracket, the printf() is only executed if the return value of LightSensor_readLuxData() is RETCODE_OK. This means that the reading of the light sensor data was successful. The initialization of the light sensor and a function that reads its data are implemented. Now a timer or operating task has to be implemented that periodically reads the data und prints it to the XDK Workbench console. Additionally to the code lines above the implementation of the timer task takes place in appinitsystem(): The following code lines shows how to implement the required timer task.

19 First Steps Guide Page 19 Code 8: Implementation of the timer task /* Include this beneath (void) (xtimer) in appinitsystem() */ uint32_t timerblocktime = UINT32_MAX; uint32_t oneseconddelay = UINT32_C(1000); uint32_t timerautoreloadon = pdtrue; xtimerhandle LightSensorHandle = NULL; initlightsensor(); LightSensorHandle = xtimercreate((const char *) "readlightsensor", oneseconddelay,timerautoreloadon, NULL, readlightsensor); xtimerstart(lightsensorhandle,timerblocktime); The first three variable declarations are required properties for the timer task. This includes the periodicity of the timer, an one second delay and the maximal block time. For more information please refer to the freertos guide that you can find here. Additionally to the declaration of a timer handle for the timer task is required. This handle LightSensorHandle gives direct access to the timer task and can be used for example to start or stop the task. The next line of code executes the initialization of the light sensor. Finally the last two lines of code create and start the required timer task. The first one xtimercreate() creates the timer task and the second one xtimerstart() starts the timer task. Finally the first own sensor application is ready be built and flashed to the XDK.

20 First Steps Guide Page XDK Live Monitor Plugin 4.1 General description of the plugin Version 1.4.0, XDK Workbench ships with an additional plugin that allows to visualize sensor data. The plugin parses incoming USB traffic from XDK and visualizes it in a graph. An XDK application that wants to make use of the visualization and logging capabilities needs to implement a simple, string-based protocol. Furthermore, data received by XDK Workbench can be logged into a comma separated values (CSV) file. An adaption of the sensor example (3.) has to be done to show the full capability of the XDK Live Monitor Plugin. Therefore the orientation sensor will be used to show how the plugin works. Replace the initialization of the light sensor in code 6 with the following lines of code. Code 9: Initilization of the orientation sensor returnvalue = Orientation_init(xdkOrientationSensor_Handle); This call will initialize the orientation sensor, similar to the light sensor. Analogous to the read light sensor data function, the current orientation values can be read. The following three lines of code has to be inserted in the read data function (code 7). Addtionally to this the variable milliluxdata and the function LightSensor_readLuxData() has to be deleted. Code 10: Implementation to read the orientation sensor data // struct that holds the orientation data in radiants EulerData_T eulervaluesinrad; // fill eulervaluesinrad with zeros memset(&eulervaluesinrad, 0, sizeof(orientation_eulerdata_t)); // Obtains the data of the orientation sensor in radiants Retcode_T returneulervalue = Orientation_readEulerRadianVal(&eulerValuesInRad); Code 9 reads the data of the orientation sensor. The printf statement of code 7, that prints out the data to the console can be commented out, because it is only for debugging purposes. The orientation sensor data can be accessed in a similar way as shown in code 7 by using exampledata.x or exampledata.something. All other code from the previous example can stay untouched. It will work as before.

21 First Steps Guide Page Protocol The application needs to provide the data in a special data format. This allows the plugin to extract the sensor data and plot it in a graph, as well as providing it to the data logger. The data logger allows saving the received data into a CSV file Data Format This data format is intentionally kept simple, to allow developers an easy use of the monitoring capabilities. A practical example may look like this: 1 {[MONITOR] BMA280(4251) :x=216 y=-83 z=4063} The example above shows a simple string that was sent from the XDK hardware via USB. The pattern of a monitoring message is shown here: {[MONITOR]<sensor>(<timestamp>):<key>=<value><unit> }\n\r The bold parts mark required segments while any italic segments are optional. The ellipsis (...) marks the option to add more key-value pairs. Such a string can be generated and sent using the printf function: Code 11: Implementation of the printf function for the LiveMonitorPlugin /* This function has to be included there where the code is printed to the console */ printf( {[MONITOR]%s(%ld):x=%f%sIy=%f%sIz=%f%s} \n\r, BMA280, xtaskgettickcount(), sensordata.accelx, mg, sensordata.accely, mg, sensordata.accelz, mg ); // format string // data source // timestamp // value for x // unit for x // value for y // unit for y // value for z // unit for z It is also possible to display more or less data. To do so the statements after the : has be expanded or reduced. X,y and z describe the displayed variable in the plugin. The additional modifier as %f describes the data format of the displayed value and %s is a following string statement. Note: The correct printf format modifier like %s or %ld are essential to get the LiveMonitorPlugin work. Possible Formats: The examples and patterns given below are valid monitoring strings and may be used by an application to communicate with the monitoring plugin. Strict (Default) Example:

22 First Steps Guide Page 22 1 {[MONITOR] BMA280(4251) :x=216 y=-83 z=4063} 2 {[MONITOR] BMA280(4251) :x=216mg y=-83mg z=4063mg} Pattern: {[MONITOR]<sensor>(<timestamp>):<key>=<value><unit> }\n\r Orientation Sensor Another configuration beside the default configuration is the quaternion configuration. This configuration displays the values between the measuring range of 1 and 0. This can be useful to display the gyroscope data for example. How to display it will be shown with a small change in the previous example that was changed to use the orientation sensor. To use the quaternion configuration the code 10 has to be adapted. The data has also be read as quaternion values to be displayed with the quaternion configuration. The following lines of code will have to replace the code from code 10. Code 12: Implementation to read data in quaternion values Orientation_QuaternionData_T QuaternionValues; Retcode_T returnquatvalue = Orientation_readQuaternionValue(&QuaternionValues); The quaternion configuration will display the data as shown in the following example. Example: 1 QUATERNION: w= 0.0 x=0.0 y=0.0 z=0.0 Pattern: QUATERNION: x=<value_x> y=<value_y> z=<value_z> w=<value_w>\n\r As before the pattern can be generated and send by the printf function. Code 13: Implementation of the printf function for the quaternion View of the LiveMonitorPlugin printf("quaternion: w=%f x=%f y=%f z=%f\n\r", sensordata.w,sensordata.x, sensordata.y, sensordata.z);

23 First Steps Guide Page Live Monitor Usage Assuming that your XDK application is configured to send its sensor data via USB using one of the above specified formats, XDK Workbench is now able to receive this data, log it into a CSV formatted file and visualize the data in a live-view. To start, you need to open the required views. To do this, follow these steps: Open the XDK Workbench. Click on the toolbar item "Window" > "Open View" > Other. Picture 27: Window view Browse for "XDK Monitor. Picture 28: Show View Click OK.

24 First Steps Guide Page 24 A new view will appear which looks like this: Picture 29: Live Monitor Plugin Now connect an XDK device and flash your application containing the printf statement onto it. Select the device in the "Device" drop-down menu and use the "Refresh" button in the views toolbar to refresh the devices list. Click on "Start" and the plugin will parse incoming USB traffic and present it in the live-chart: Picture 30: Live Monitor Adjustments If no data seems to be received, you should check the parser settings via the "Gear" symbol in the views' toolbar. There you can choose between several predefined parser expressions, as well as define your own filters. The datagroup expression is used to extract information like "data source", "timestamp" and the "datablock" which contains the actual key-value pairs.

25 First Steps Guide Page 25 Picture 31: Monitor Configuration The output for the MONITOR configuration should look like this: Picture 32: Default Live Chart Similar to this the output of the quaternion configuration should look like this: Picture 33: Quaternion Live Chart To enable logging of the received data, hit the check box "Enable file-logging". A dialog will pop up and ask you to configure the logging process.

26 First Steps Guide Page 26 Picture 34: Monitor Configuration In the dialog shown above you can configure the output path and define several Logging-Filters". These filters are whitelist-filters, meaning that only data matching one of these filters will be logged. Depending on whether there was any sensor data received before, there may already be some filters defined. To add additional filters, enter the filter expression into the checkbox and press the "Add Filter button to add to the list. Start logging by pressing the "OK" button. Logging will start immediately. Uncheck the "Enable filelogging" checkbox to stop recording afterwards. It is also possible to open multiple monitor views. To do so, click on the "Open New Monitor View" button in the views' toolbar. This will open a secondary view which can be configured independently.

27 First Steps Guide Page Useful features of the XDK Workbench 5.1 Showing Line Numbers This section describes how to set useful configurations in the XDK Workbench. First, you should enable autosaving before building. The following screenshot shows where the configuration can be found in Window > Preferences and which checkbox has to be selected. Picture 35: Line Numbers 5.2 Enabling autosave before building a project Another useful setting is autosaving before flashing. This feature is especially helpful if there are small changes in the code done and not saved before the project was flashed to the XDK. Sometimes it can happen that code that was not saved is flashed to the XDK and it runs for example a non-functional application on the XDK besides working code. The following screenshot describes where autosaving can be enabled found in Window > Preferences. Picture 36: Enabling autosave 5.3 Adding a new Interface This section describes how to add new interfaces to an existing application in the XdkApplicationTemplate or in other projects. There are two ways to add new source and header files to an existing project. Import existing files into the project or create a new one. Existing files can be placed in the project folder and simply imported in the XDK

28 First Steps Guide Page 28 Workbench by refreshing the project. The following Screenshot shows how to create both an implementation file and a header file. Picture 37: Creating a new Interface Note: Both files need to have the correct ending tag, for example the implementation file.c Picture 38: Creating h.- and c. file The header file only has to be included in the.c implementation file. Therefore the implementation file has to be additionally added to the makefile of the project. The following screenshot shows where in the makefile the include has to be done. Both works similar for new files or for imported files.

29 First Steps Guide Page 29 Picture 39: Editing Makefile 5.4 Rename a Project in the XDK Workbench If you rename a project in XDK Workbench, the project configuration as well as the makefile has to be modified. 1. Click your project in XDK Workbench and select Properties. 2. Go into the C/C++ Build tab and update the BuildDirectory. To do this, click on Workspace and select the "make" folder inside your renamed application. Picture 40: Properties View

30 First Steps Guide Page 30 Picture 41: Build path 3. Open up the makefile in your renamed application. You may want to modify the _APP_NAME, as it defines the name of your executable file afterwards. Furthermore, you may want to add and/or change the files listed in _XDK_APP_SOURCE_FILES. Picture 42: Makefile 4. And last but not least rename the project name. Picture 43: Renaming a project

Cross-Domain Development Kit XDK110 Platform for Application Development

Cross-Domain Development Kit XDK110 Platform for Application Development Workbench First Steps Guide Cross-Domain Development Kit Platform for Application Development Bosch Connected Devices and Solutions : Guide Workbench First Steps Document revision 2.0 Document release

More information

Cross-Domain Development Kit XDK110 Platform for Application Development

Cross-Domain Development Kit XDK110 Platform for Application Development Examples Overview Cross-Domain Development Kit Platform for Application Development Bosch Connected Devices and Solutions : Data Sheet Document revision 1.0 Document release date 03/08/16 Document number

More information

Cross-Domain Development Kit XDK110 Platform for Application Development

Cross-Domain Development Kit XDK110 Platform for Application Development USB Guide Cross-Domain Development Kit Platform for Application Development Bosch Connected Devices and Solutions : Data Sheet Document revision 1.0 Document release date 03/01/2017 Document number Technical

More information

Cross-Domain Development Kit XDK110 Platform for Application Development

Cross-Domain Development Kit XDK110 Platform for Application Development LWM2M Guide Cross-Domain Development Kit Platform for Application Development Bosch Connected Devices and Solutions : Data Sheet Document revision 1.0 Document release date 11/07/16 Document number Technical

More information

Cross-Domain Development Kit XDK110 Platform for Application Development

Cross-Domain Development Kit XDK110 Platform for Application Development User Guide Cross-Domain Development Kit Platform for Application Development Bosch Connected Devices and Solutions : Data Sheet Document revision 1.0 Document release date 2015-12-15 Document number Technical

More information

Cross-Domain Development Kit XDK110 Platform for Application Development

Cross-Domain Development Kit XDK110 Platform for Application Development General Information Guide Cross-Domain Development Kit Platform for Application Development Bosch Connected Devices and Solutions : General Information Guide Document revision 2.0 Document release date

More information

Cross-Domain Development Kit XDK110 Platform for Application Development

Cross-Domain Development Kit XDK110 Platform for Application Development FreeRTOS Guide Cross-Domain Development Kit Platform for Application Development Bosch Connected Devices and Solutions : FreeRTOS Guide Document revision 2.0 Document release date 17.08.17 Workbench version

More information

esi-risc Development Suite Getting Started Guide

esi-risc Development Suite Getting Started Guide 1 Contents 1 Contents 2 2 Overview 3 3 Starting the Integrated Development Environment 4 4 Hello World Tutorial 5 5 Next Steps 8 6 Support 10 Version 2.5 2 of 10 2011 EnSilica Ltd, All Rights Reserved

More information

Module 3: Working with C/C++

Module 3: Working with C/C++ Module 3: Working with C/C++ Objective Learn basic Eclipse concepts: Perspectives, Views, Learn how to use Eclipse to manage a remote project Learn how to use Eclipse to develop C programs Learn how to

More information

Tools Basics. Getting Started with Renesas Development Tools R8C/3LX Family

Tools Basics. Getting Started with Renesas Development Tools R8C/3LX Family Getting Started with Renesas Development Tools R8C/3LX Family Description: The purpose of this lab is to allow a user new to the Renesas development environment to quickly come up to speed on the basic

More information

Cross-Domain Development Kit XDK110 Platform for Application Development

Cross-Domain Development Kit XDK110 Platform for Application Development Sensor Guide Cross-Domain Development Kit Platform for Application Development Bosch Connected Devices and Solutions : Data Sheet Document revision 2.1 Document release date 05.10.17 Workbench version

More information

BASICS OF THE RENESAS SYNERGY TM

BASICS OF THE RENESAS SYNERGY TM BASICS OF THE RENESAS SYNERGY TM PLATFORM Richard Oed 2018.11 02 CHAPTER 8 HELLO WORLD! HELLO BLINKY! CONTENTS 8 HELLO WORLD! HELLO BLINKY! 03 8.1 Your First Project Using e 2 studio 04 8.1.1 Creating

More information

Debugging in AVR32 Studio

Debugging in AVR32 Studio Embedded Systems for Mechatronics 1, MF2042 Tutorial Debugging in AVR32 Studio version 2011 10 04 Debugging in AVR32 Studio Debugging is a very powerful tool if you want to have a deeper look into your

More information

NFC Framework and NT3H1201 Device Driver v1.1

NFC Framework and NT3H1201 Device Driver v1.1 NFC Framework and NT3H1201 Device Driver v1.1 Quickstart Guide for ARIS board All information contained in these materials, including products and product specifications, represents information on the

More information

6L00IA - Introduction to Synergy Software Package Short Version (SSP v1.2.0) Renesas Synergy Family - S7 Series

6L00IA - Introduction to Synergy Software Package Short Version (SSP v1.2.0) Renesas Synergy Family - S7 Series 6L00IA - Introduction to Synergy Software Package Short Version (SSP v1.2.0) Renesas Synergy Family - S7 Series LAB PROCEDURE Description: The purpose of this lab is to familiarize the user with the Synergy

More information

Using Code Composer Studio IDE with MSP432

Using Code Composer Studio IDE with MSP432 Using Code Composer Studio IDE with MSP432 Quick Start Guide Embedded System Course LAP IC EPFL 2010-2018 Version 1.2 René Beuchat Alex Jourdan 1 Installation and documentation Main information in this

More information

Introduction. Key features and lab exercises to familiarize new users to the Visual environment

Introduction. Key features and lab exercises to familiarize new users to the Visual environment Introduction Key features and lab exercises to familiarize new users to the Visual environment January 1999 CONTENTS KEY FEATURES... 3 Statement Completion Options 3 Auto List Members 3 Auto Type Info

More information

F28335 ControlCard Lab1

F28335 ControlCard Lab1 F28335 ControlCard Lab1 Toggle LED LD2 (GPIO31) and LD3 (GPIO34) 1. Project Dependencies The project expects the following support files: Support files of controlsuite installed in: C:\TI\controlSUITE\device_support\f2833x\v132

More information

Cross-Domain Development Kit XDK110 Platform for Application Development

Cross-Domain Development Kit XDK110 Platform for Application Development Workbench Installation Guide Cross-Domain Development Kit Platform for Application Development Bosch Connected Devices and Solutions : Guide Workbench Installation Document revision 2.0 Document release

More information

1. Conventions in this tutorial Introduction Check and change configuration settings as needed Start Digi ESP...

1. Conventions in this tutorial Introduction Check and change configuration settings as needed Start Digi ESP... This tutorial introduces the power and features of Digi ESP for Embedded Linux as a development environment. It shows how to create a simple Linux application, transfer it to a target development board,

More information

Figure 1. Simplicity Studio

Figure 1. Simplicity Studio SIMPLICITY STUDIO USER S GUIDE 1. Introduction Simplicity Studio greatly reduces development time and complexity with Silicon Labs EFM32 and 8051 MCU products by providing a high-powered IDE, tools for

More information

Parish . User Manual

Parish  . User Manual Parish Email User Manual Table of Contents LOGGING IN TO PARISH EMAIL... 3 GETTING STARTED... 3 GENERAL OVERVIEW OF THE USER INTERFACE... 3 TERMINATE THE SESSION... 4 EMAIL... 4 MESSAGES LIST... 4 Open

More information

Optional Eclipse Workspace Configurations

Optional Eclipse Workspace Configurations 2019/01/08 11:20 1/16 This page will instruct you to install and configure Eclipse as your MidiBox Integrated Development Environment (IDE). Eclipse is supported on multiple platforms, including Windows,

More information

BASICS OF THE RENESAS SYNERGY TM

BASICS OF THE RENESAS SYNERGY TM BASICS OF THE RENESAS SYNERGY TM PLATFORM Richard Oed 2018.11 02 CHAPTER 9 INCLUDING A REAL-TIME OPERATING SYSTEM CONTENTS 9 INCLUDING A REAL-TIME OPERATING SYSTEM 03 9.1 Threads, Semaphores and Queues

More information

ARROW ARIS Board Software User s Guide 27/07/2016

ARROW ARIS Board Software User s Guide 27/07/2016 ARROW ARIS Board Software User s Guide All information contained in these materials, including products and product specifications, represents information on the product at the time of publication and

More information

WPS Workbench. user guide. "To help guide you through using the WPS user interface (Workbench) to create, edit and run programs"

WPS Workbench. user guide. To help guide you through using the WPS user interface (Workbench) to create, edit and run programs WPS Workbench user guide "To help guide you through using the WPS user interface (Workbench) to create, edit and run programs" Version: 3.1.7 Copyright 2002-2018 World Programming Limited www.worldprogramming.com

More information

Cookery-Book, V1.0, February XMC1400 BootKit HelloWorld

Cookery-Book, V1.0, February XMC1400 BootKit HelloWorld Cookery-Book, V1.0, February 2017 XMC1400 BootKit HelloWorld Programming ( Hello World ) an Infineon XMC1400 (ARM Cortex M0) Microcontroller. Using Dave/Eclipse( Code Generator, IDE, Compiler, Linker,

More information

Cross-Domain Development Kit XDK110 Platform for Application Development

Cross-Domain Development Kit XDK110 Platform for Application Development MQTT Guide Cross-Domain Development Kit Platform for Application Development Bosch Connected Devices and Solutions : Data Sheet Document revision 1.1 Document release date 06/03/2017 Document number Technical

More information

Code Composer Studio. MSP Project Setup

Code Composer Studio. MSP Project Setup Code Composer Studio MSP Project Setup Complete the installation of the Code Composer Studio software using the Code Composer Studio setup slides Start Code Composer Studio desktop shortcut start menu

More information

Hands-On with STM32 MCU Francesco Conti

Hands-On with STM32 MCU Francesco Conti Hands-On with STM32 MCU Francesco Conti f.conti@unibo.it Calendar (Microcontroller Section) 07.04.2017: Power consumption; Low power States; Buses, Memory, GPIOs 20.04.2017 21.04.2017 Serial Interfaces

More information

Lab 0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio

Lab 0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio ECE2049 Embedded Computing in Engineering Design Lab 0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio In this lab, you will be introduced to the Code Composer Studio

More information

AndeSight. User Manual. Working with AndESLive. Version 1.0

AndeSight. User Manual. Working with AndESLive. Version 1.0 AndeSight User Manual Working with AndESLive Version 1.0 Table of Contents AndeSight User Manual PREFACE... 2 CHAPTER 1 INTRODUCTION AND OVERVIEW... 3 1.1 ANDESIGHT OVERVIEW... 4 1.2 IDE OVERVIEW... 4

More information

CodeWarrior Development Studio for Power Architecture Processors FAQ Guide

CodeWarrior Development Studio for Power Architecture Processors FAQ Guide CodeWarrior Development Studio for Power Architecture Processors FAQ Guide Document Number: CWPAFAQUG Rev. 10.x, 06/2015 2 Freescale Semiconductor, Inc. Contents Section number Title Page Chapter 1 Introduction

More information

IAR EWARM Quick Start for. Holtek s HT32 Series Microcontrollers

IAR EWARM Quick Start for. Holtek s HT32 Series Microcontrollers IAR EWARM Quick Start for Holtek s Microcontrollers Revision: V1.10 Date: August 25, 2011 Table of Contents 1 Introduction... 5 About the Quick Start Guide... 5 About the IAR EWARM... 6 2 System Requirements...

More information

F28069 ControlCard Lab1

F28069 ControlCard Lab1 F28069 ControlCard Lab1 Toggle LED LD2 (GPIO31) and LD3 (GPIO34) 1. Project Dependencies The project expects the following support files: Support files of controlsuite installed in: C:\TI\controlSUITE\device_support\f28069\v135

More information

OpenForms360 Validation User Guide Notable Solutions Inc.

OpenForms360 Validation User Guide Notable Solutions Inc. OpenForms360 Validation User Guide 2011 Notable Solutions Inc. 1 T A B L E O F C O N T EN T S Introduction...5 What is OpenForms360 Validation?... 5 Using OpenForms360 Validation... 5 Features at a glance...

More information

RX Smart Configurator

RX Smart Configurator APPLICATION NOTE RX Smart Configurator User s Guide: e² studio R20AN0451ES0120 Rev.1.20 Introduction This application note describes the basic usage of the RX Smart Configurator (hereafter called the Smart

More information

CodeWarrior Development Studio for Advanced Packet Processing FAQ Guide

CodeWarrior Development Studio for Advanced Packet Processing FAQ Guide CodeWarrior Development Studio for Advanced Packet Processing FAQ Guide Document Number: CWAPPFAQUG Rev. 10.2, 01/2016 2 Freescale Semiconductor, Inc. Contents Section number Title Page Chapter 1 Introduction

More information

XMC4700/XMC4800 RelaxKit HelloWorld (USB)

XMC4700/XMC4800 RelaxKit HelloWorld (USB) Cookery-Book, V1.0, A pril 2017 XMC4700/XMC4800 RelaxKit HelloWorld (USB) Programming ( Hello World ) an Infineon XMC4700 (ARM Cortex M4) Microcontroller. Using Dave/Eclipse( Code Generator, IDE, Compiler,

More information

News in RSA-RTE 10.1 updated for sprint Mattias Mohlin, January 2018

News in RSA-RTE 10.1 updated for sprint Mattias Mohlin, January 2018 News in RSA-RTE 10.1 updated for sprint 2018.03 Mattias Mohlin, January 2018 Overview Now based on Eclipse Neon.3 (4.6.3) Many general improvements since Eclipse Mars Contains everything from RSARTE 10

More information

Si7013 Temperature Humidity Driver v1.2

Si7013 Temperature Humidity Driver v1.2 Si7013 Temperature Humidity Driver v1.2 Quickstart Guide for ARIS board All information contained in these materials, including products and product specifications, represents information on the product

More information

Interpretype Bluetooth Setup Procedure

Interpretype Bluetooth Setup Procedure This information is for configuring the Interpretype to communicate using the Bluetooth Connectivity Kit. To communicate using LAN or Wi-Fi in the full featured version of our software, please refer to

More information

Migration from HEW to e 2 studio Development Tools > IDEs

Migration from HEW to e 2 studio Development Tools > IDEs Migration from HEW to e 2 studio Development Tools > IDEs LAB PROCEDURE Description The purpose of this lab is to allow users of the High-performance Embedded Workbench (HEW) to gain familiarity with the

More information

User Guide. Introduction. Requirements. Installing and Configuring. C Interface for NI myrio

User Guide. Introduction. Requirements. Installing and Configuring. C Interface for NI myrio User Guide C Interface for NI myrio Introduction The C interface for NI myrio is designed for users who want to program the NI myrio using the C programming language or a programming language other than

More information

Getting Started with Red State

Getting Started with Red State Getting Started with Red State Getting Started with Red State Red Suite 5 Getting Started with Red State 19 April, 2013 Copyright 2012 Code Red Technologies, Inc All rights reserved. 1. Red State Overview...

More information

Red Suite 4 Getting Started. Applies to Red Suite 4.22 or greater

Red Suite 4 Getting Started. Applies to Red Suite 4.22 or greater Red Suite 4 Getting Started Applies to Red Suite 4.22 or greater March 26, 2012 Table of Contents 1 ABOUT THIS GUIDE... 3 1.1 WHO SHOULD USE IT... 3 2 RED SUITE 4... 4 2.1 NEW FEATURES IN RED SUITE 4...

More information

Fixed problem with InfoRecall crashing when Export Merged Documents & Print Merged Documents are chosen when files are closed.

Fixed problem with InfoRecall crashing when Export Merged Documents & Print Merged Documents are chosen when files are closed. WHAT S NEW Build 119 Fixed problem with InfoRecall crashing when Export Merged Documents & Print Merged Documents are chosen when files are closed. Build 118 Swap Source Folder: Disabled Menu and Tool

More information

ECE QNX Real-time Lab

ECE QNX Real-time Lab Department of Electrical & Computer Engineering Concordia University ECE QNX Real-time Lab User Guide Dan Li 9/12/2011 User Guide of ECE Real-time QNX Lab Contents 1. About Real-time QNX Lab... 2 Contacts...

More information

Using Eclipse Europa - A Tutorial

Using Eclipse Europa - A Tutorial Abstract Lars Vogel Version 0.7 Copyright 2007 Lars Vogel 26.10.2007 Eclipse is a powerful, extensible IDE for building general purpose applications. One of the main applications

More information

News in RSA-RTE 10.1 updated for sprint Mattias Mohlin, November 2017

News in RSA-RTE 10.1 updated for sprint Mattias Mohlin, November 2017 News in RSA-RTE 10.1 updated for sprint 2017.46 Mattias Mohlin, November 2017 Overview Now based on Eclipse Neon.3 (4.6.3) Many general improvements since Eclipse Mars Contains everything from RSARTE 10

More information

IBM NetBAY Virtual Console Software. Installer and User Guide

IBM NetBAY Virtual Console Software. Installer and User Guide IBM NetBAY Virtual Console Software Installer and User Guide INSTRUCTIONS This symbol is intended to alert the user to the presence of important operating and maintenance (servicing) instructions in the

More information

QUICKSTART CODE COMPOSER STUDIO Stellaris Development and Evaluation Kits for Code Composer Studio

QUICKSTART CODE COMPOSER STUDIO Stellaris Development and Evaluation Kits for Code Composer Studio Stellaris Development and Evaluation Kits for Code Composer Studio Stellaris Development and Evaluation Kits provide a low-cost way to start designing with Stellaris microcontrollers using Texas Instruments

More information

BASICS OF THE RENESAS SYNERGY PLATFORM

BASICS OF THE RENESAS SYNERGY PLATFORM BASICS OF THE RENESAS SYNERGY PLATFORM TM Richard Oed 2017.12 02 CHAPTER 5 WORKING WITH THE DEVELOPMENT ENVIRONMENTS FOR SYNERGY CONTENTS 5 WORKING WITH THE DEVELOPMENT ENVIRONMENTS FOR SYNERGY 03 5.1

More information

University of Massachusetts Amherst Computer Systems Lab 2 (ECE 354) Spring Lab 1: Using Nios 2 processor for code execution on FPGA

University of Massachusetts Amherst Computer Systems Lab 2 (ECE 354) Spring Lab 1: Using Nios 2 processor for code execution on FPGA University of Massachusetts Amherst Computer Systems Lab 2 (ECE 354) Spring 2007 Lab 1: Using Nios 2 processor for code execution on FPGA Objectives: After the completion of this lab: 1. You will understand

More information

2 TUTORIAL. Overview. VisualDSP Getting Started Guide 2-1 for SHARC DSPs

2 TUTORIAL. Overview. VisualDSP Getting Started Guide 2-1 for SHARC DSPs 2 TUTORIAL This chapter contains the following topics. Overview on page 2-1 Exercise One: Building and Running a C Program on page 2-3 Exercise Two: Calling an Assembly Routine and Creating an LDF on page

More information

You have a PC with a USB interface, running Microsoft Windows XP (SP2 or greater) or Vista You have the Workshop Installation Software Flash Drive

You have a PC with a USB interface, running Microsoft Windows XP (SP2 or greater) or Vista You have the Workshop Installation Software Flash Drive 03- COMPOSER STUDIO Stellaris Development and Evaluation Kits for Code Composer Studio The Stellaris Development and Evaluation Kits provide a low-cost way to start designing with Stellaris microcontrollers

More information

3 TUTORIAL. In This Chapter. Figure 1-0. Table 1-0. Listing 1-0.

3 TUTORIAL. In This Chapter. Figure 1-0. Table 1-0. Listing 1-0. 3 TUTORIAL Figure 1-0. Table 1-0. Listing 1-0. In This Chapter This chapter contains the following topics: Overview on page 3-2 Exercise One: Building and Running a C Program on page 3-4 Exercise Two:

More information

Migrating from CubeSuite+ to Eclipse RL78 Family

Migrating from CubeSuite+ to Eclipse RL78 Family Migrating from CubeSuite+ to Eclipse RL78 Family LAB PROCEDURE Description: This hands-on lab covers how to convert CubeSuite+ project to Renesas new Eclipsebased IDE, e 2 studio using Free GNU compiler

More information

Windows QuickStart Guide Page 1 of Ambiq Micro, Inc All rights reserved.

Windows QuickStart Guide Page 1 of Ambiq Micro, Inc All rights reserved. 1. Introduction... 2 2. Installing and Using the Ambiq Control Center... 2 2.1 Run the Installer... 3 2.2 A Word about the Apollo EVK Board Stack and It s Integrated Debugger Interface... 7 2.3 Using the

More information

TriCore Free Entry Tool Chain. AURIX family and AUDO Future, AUDO MAX

TriCore Free Entry Tool Chain. AURIX family and AUDO Future, AUDO MAX A Getting Started to TriCore Free Entry Tool Chain AURIX family and AUDO Future, AUDO MAX Integrated Development Environment for 32-bit TriCore derivatives Contents Before you start 1 of 36 PLS / HighTec

More information

DS-5 ARM. Using Eclipse. Version Copyright ARM. All rights reserved. ARM DUI 0480L (ID100912)

DS-5 ARM. Using Eclipse. Version Copyright ARM. All rights reserved. ARM DUI 0480L (ID100912) ARM DS-5 Version 5.12 Using Eclipse Copyright 2010-2012 ARM. All rights reserved. ARM DUI 0480L () ARM DS-5 Using Eclipse Copyright 2010-2012 ARM. All rights reserved. Release Information The following

More information

Switching to Sheets from Microsoft Excel Learning Center gsuite.google.com/learning-center

Switching to Sheets from Microsoft Excel Learning Center gsuite.google.com/learning-center Switching to Sheets from Microsoft Excel 2010 Learning Center gsuite.google.com/learning-center Welcome to Sheets Now that you've switched from Microsoft Excel to G Suite, learn how to use Google Sheets

More information

RTMS - Software Setup

RTMS - Software Setup RTMS - Software Setup These instructions are for setting up the RTMS (Robot Tracking & Management System) software. This software will run on your PC/MAC and will be used for various labs in order to allow

More information

Kinetis SDK Freescale Freedom FRDM-KL03Z Platform User s Guide

Kinetis SDK Freescale Freedom FRDM-KL03Z Platform User s Guide Freescale Semiconductor, Inc. KSDKKL03UG User s Guide Rev. 1.0.0, 09/2014 Kinetis SDK Freescale Freedom FRDM-KL03Z Platform User s Guide 1 Introduction This document describes the hardware and software

More information

Quick Start Guide Demo Distance2Go. July 2018

Quick Start Guide Demo Distance2Go. July 2018 Quick Start Guide Demo Distance2Go July 2018 Table of Contents 1 Hardware Description 2 Tools Installation 3 Demo Distance2Go USB Connections 4 Building, Flashing and Debugging 5 Raw data streaming 2 Table

More information

User Guide for the TITAN Designer for the Eclipse IDE

User Guide for the TITAN Designer for the Eclipse IDE USER GUIDE 1 (147) User Guide for the TITAN Designer for the Eclipse IDE Abstract This document describes detailed information of using the TITAN Designer for the Eclipse IDE plug-in. Copyright Copyright

More information

BASICS OF THE RENESAS SYNERGY PLATFORM

BASICS OF THE RENESAS SYNERGY PLATFORM BASICS OF THE RENESAS SYNERGY PLATFORM TM Richard Oed 2017.12 02 CHAPTER 9 INCLUDING A REAL-TIME OPERATING SYSTEM CONTENTS 9 INCLUDING A REAL-TIME OPERATING SYSTEM 03 9.1 Threads, Semaphores and Queues

More information

Using Virtual EEPROM and Flash API for Renesas MCUs RX600 Series

Using Virtual EEPROM and Flash API for Renesas MCUs RX600 Series Using Virtual EEPROM and Flash API for Renesas MCUs RX600 Series Description: This lab will take the user through using the Virtual EEPROM (VEE) project for RX. The user will learn to use the Virtual EEPROM

More information

External Headers. USB Host User LEDs. User Switches. E1 Header (Unfitted)

External Headers. USB Host User LEDs. User Switches. E1 Header (Unfitted) Quick Start Cymbet Energy Harvesting Renesas Promotional Board for RX111 External Headers Digilent Pmod Compatible TM USB Function JP2 (not fitted) J-Link LED USB Host User LEDs External Headers Reset

More information

Keil TM MDK-ARM Quick Start for. Holtek s HT32 Series Microcontrollers

Keil TM MDK-ARM Quick Start for. Holtek s HT32 Series Microcontrollers Keil TM MDK-ARM Quick Start for Holtek s Microcontrollers Revision: V1.10 Date: August 25, 2011 Table of Contents 1 Introduction... 5 About the Quick Start Guide... 5 About the Keil MDK-ARM... 6 2 System

More information

QNX Software Development Platform 6.6. Quickstart Guide

QNX Software Development Platform 6.6. Quickstart Guide QNX Software Development Platform 6.6 QNX Software Development Platform 6.6 Quickstart Guide 2005 2014, QNX Software Systems Limited, a subsidiary of BlackBerry. All rights reserved. QNX Software Systems

More information

AURIX family and AUDO Future, AUDO MAX

AURIX family and AUDO Future, AUDO MAX A Getting Started to Free TriCore Entry Tool Chain AURIX family and AUDO Future, AUDO MAX Integrated Development Environment for 32-bit TriCore derivatives Contents Before you start 1 of 39 PLS / HighTec

More information

NovoConnect B360. Wireless Presentation & Collaboration System. User Manual Version 0.98

NovoConnect B360. Wireless Presentation & Collaboration System. User Manual Version 0.98 NovoConnect B360 Wireless Presentation & Collaboration System User Manual Version 0.98 Copyright 2013 DELTA Electronics, Inc. All rights reserved. Page 1 Table of Contents TABLE OF CONTENTS... 2 1. GETTING

More information

Armstrap Documentation

Armstrap Documentation Armstrap Documentation Release 0.0.1 Charles Armstrap Mar 20, 2017 Contents 1 Introduction 3 2 Hardware Overview 5 2.1 Armstrap Eagle.............................................. 5 3 Getting Started

More information

Using Eclipse for Java. Using Eclipse for Java 1 / 1

Using Eclipse for Java. Using Eclipse for Java 1 / 1 Using Eclipse for Java Using Eclipse for Java 1 / 1 Using Eclipse IDE for Java Development Download the latest version of Eclipse (Eclipse for Java Developers or the Standard version) from the website:

More information

MindView Online - Quick Start Guide

MindView Online - Quick Start Guide MindView Online - Quick Start Guide Overview MindView Online is an online concept mapping program that allows users to organize their thoughts visually to create, share, and export mind maps to Microsoft

More information

Note that FLIP is an Atmel program supplied by Crossware with Atmel s permission.

Note that FLIP is an Atmel program supplied by Crossware with Atmel s permission. INTRODUCTION This manual will guide you through the first steps of getting the SE-8051ICD running with the Crossware 8051 Development Suite and the Atmel Flexible In-System Programming system (FLIP). The

More information

DAVE 3 Hands on / Quick Start Tutorial. Presentation Tutorial Start 1 v1.1: Creating a simple Project using PWM and Count Apps

DAVE 3 Hands on / Quick Start Tutorial. Presentation Tutorial Start 1 v1.1: Creating a simple Project using PWM and Count Apps DAVE Hands on / Quick Start Tutorial Presentation Tutorial Start v.: Creating a simple Project using PWM and Count Apps Project Changing the brightness of an LED with the PWM App PWMSP00 Interrupt on timer

More information

Podium Plus Data Analysis Software. User Manual. SWIS10 Version

Podium Plus Data Analysis Software. User Manual. SWIS10 Version SWIS10 Version Issue 1.10 February 2005 Contents 1 Introduction 6 1.1 What is Podium Plus? 6 1.2 About This Manual 6 1.3 Typographical Conventions 7 1.4 Getting Technical Support 7 2 Getting Started 8

More information

Codewarrior for ColdFire (Eclipse) 10.0 Setup

Codewarrior for ColdFire (Eclipse) 10.0 Setup Codewarrior for ColdFire (Eclipse) 10.0 Setup 1. Goal This document is designed to ensure that your Codewarrior for Coldfire v10.0 environment is correctly setup and to orient you to it basic functionality

More information

P&E Microcomputer Systems, Inc. PKGPPCNEXUS

P&E Microcomputer Systems, Inc. PKGPPCNEXUS P&E Microcomputer Systems, Inc. PKGPPCNEXUS Quick Start Guide for the PHYTEC phycore-mpc5554 Rapid Development Kit Visit us on the web: www.pemicro.com 2006 P&E Microcomputer Systems, Inc. All Rights Reserved

More information

University of Massachusetts Amherst Computer Systems Lab 1 (ECE 354) LAB 1 Reference Manual

University of Massachusetts Amherst Computer Systems Lab 1 (ECE 354) LAB 1 Reference Manual University of Massachusetts Amherst Computer Systems Lab 1 (ECE 354) LAB 1 Reference Manual Lab 1: Using NIOS II processor for code execution on FPGA Objectives: 1. Understand the typical design flow in

More information

Lab Android Development Environment

Lab Android Development Environment Lab Android Development Environment Setting up the ADT, Creating, Running and Debugging Your First Application Objectives: Familiarize yourself with the Android Development Environment Important Note:

More information

Windows Embedded Compact Test Kit User Guide

Windows Embedded Compact Test Kit User Guide Windows Embedded Compact Test Kit User Guide Writers: Randy Ocheltree, John Hughes Published: October 2011 Applies To: Windows Embedded Compact 7 Abstract The Windows Embedded Compact Test Kit (CTK) is

More information

Manual. empower charts 6.4

Manual. empower charts 6.4 Manual empower charts 6.4 Contents 1 Introduction... 1 2 Installation, updates and troubleshooting... 1 2.1 System requirements... 1 2.2 Initial installation... 1 2.3 Installation of an update... 1 2.4

More information

IGSS 13 Configuration Workshop - Exercises

IGSS 13 Configuration Workshop - Exercises IGSS 13 Configuration Workshop - Exercises Contents IGSS 13 Configuration Workshop - Exercises... 1 Exercise 1: Working as an Operator in IGSS... 2 Exercise 2: Creating a new IGSS Project... 28 Exercise

More information

System Framework Overview Guide and Instructions on How to Use the Template Projects

System Framework Overview Guide and Instructions on How to Use the Template Projects System Framework Overview Guide and Instructions on How to Use the Template Projects Brett Larimore and Manish Bhardwaj C2000 Systems and Applications Team Version 2.0 May 2008 Revised September 2010 The

More information

News in RSA-RTE 10.1 updated for sprint Mattias Mohlin, July 2017

News in RSA-RTE 10.1 updated for sprint Mattias Mohlin, July 2017 News in RSA-RTE 10.1 updated for sprint 2017.28 Mattias Mohlin, July 2017 Overview Now based on Eclipse Neon.3 (4.6.3) Many general improvements since Eclipse Mars Contains everything from RSARTE 10 and

More information

nfax 5.0 OceanFax User s Guide

nfax 5.0 OceanFax User s Guide nfax 5.0 OceanFax User s Guide 1 Table of Contents 1. FAXVIEW GUIDE... 1 1.1 FaxView Login and Exit... 1 1.1.1 FaxView Client Login... 1 1.1.2 WebFax Client... 2 1.1.3 FaxView Exit... 3 2.2 FaxView Over

More information

Evaluation Board Getting Started

Evaluation Board Getting Started Evaluation Board Getting Started Toolchain Setup for: TLE9879_EVALKIT TLE9869_EVALKIT TLE987x_EVALB_JLINK TLE986x_EVALB_JLINK Content 1 Evaluation Kit Overview 2 Product Information links 3 Toolchain installation

More information

Wind River Workbench (VxWorks Version) User's Guide, 3.0. Wind River Workbench USER S GUIDE 3.0. VxWorks Version

Wind River Workbench (VxWorks Version) User's Guide, 3.0. Wind River Workbench USER S GUIDE 3.0. VxWorks Version Wind River Workbench (VxWorks Version) User's Guide, 3.0 Wind River Workbench USER S GUIDE 3.0 VxWorks Version Copyright 2007 Wind River Systems, Inc. All rights reserved. No part of this publication may

More information

VORAGO VA108x0 Bootloader application note

VORAGO VA108x0 Bootloader application note AN1216 VORAGO VA108x0 Bootloader application note Jan 2, 2019 Version 1.0 VA10800/VA10820 Abstract Many applications can benefit from in-system reprogramming without a JTAG probe. This Application note

More information

Maintain an ILE RPG application using Remote System Explorer

Maintain an ILE RPG application using Remote System Explorer Maintain an ILE RPG application using Remote System Explorer ii Maintain an ILE RPG application using Remote System Explorer Contents Maintain an ILE RPG application using Remote System Explorer.......

More information

AiM User Guide. Race Studio 3 Track Manager. Release 1.00

AiM User Guide. Race Studio 3 Track Manager. Release 1.00 AiM User Guide Race Studio 3 Track Manager Release 1.00 1 Introduction Track Manager is the Race Studio 3 section dedicated to tracks management. Here is possible to create and delete new tracks, modify

More information

IBM NetBAY Virtual Console Software. Installer and User Guide

IBM NetBAY Virtual Console Software. Installer and User Guide IBM NetBAY Virtual Console Software Installer and User Guide INSTRUCTIONS This symbol is intended to alert the user to the presence of important operating and maintenance (servicing) instructions in the

More information

STM32 Ecosystem Workshop. T.O.M.A.S Team

STM32 Ecosystem Workshop. T.O.M.A.S Team STM32 Ecosystem Workshop T.O.M.A.S Team After successful code generation by STM32CubeMX this is the right time to import it into SW4STM32 toolchain for further processing 2 Handling the project in SW4STM32

More information

Si117x Static HRM/SpO2

Si117x Static HRM/SpO2 Si117x Static HRM/SpO2 Software Demo for Wireless STK User s Guide 1.0 Introduction The Silicon Labs Static HRM/SpO 2 software demo for Wireless Starter Kit (EFR32 MG) provides an example application to

More information

Xilinx Vivado/SDK Tutorial

Xilinx Vivado/SDK Tutorial Xilinx Vivado/SDK Tutorial (Laboratory Session 1, EDAN15) Flavius.Gruian@cs.lth.se March 21, 2017 This tutorial shows you how to create and run a simple MicroBlaze-based system on a Digilent Nexys-4 prototyping

More information

Quick Start Guide. CT6xx Series

Quick Start Guide. CT6xx Series Quick Start Guide CT6xx Series 57-5104 Rev C April 2009 Contents CT6XX SERIES INTRODUCTION...2 SCOPE...2 CT6xx Series General Description...2 Development Disk...2 CT6XX SERIES DEVELOPMENT KIT...3 Development

More information

VORAGO VA108x0 GCC IDE application note

VORAGO VA108x0 GCC IDE application note AN2015 VORAGO VA108x0 GCC IDE application note June 11, 2018 Version 1.0 VA10800/VA10820 Abstract ARM has provided support for the GCC (GNU C compiler) and GDB (GNU DeBug) tools such that it is now a very

More information