Bosch XDK110 Quick Start Manual page 13

Cross-domain development kit
Hide thumbs Also See for XDK110:
Table of Contents

Advertisement

!
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 3.5.1.3.21.
Binary images uploaded via the bootloader must be transferred in the XMODEM-CRC format.
1.2.6.2 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 BCDS_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 BCDS_SYSTEM_STARTUP_METHOD=CUSTOM_STARTUP
Default Startup
The
function implemented in the SystemStartUp module will be the first C function executed during
main()
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
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 function
which will run in the
appInitSystem
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.
XDK110
© Bosch Connected Devices and Solutions GmbH reserves all rights even in the event of industrial property rights. We reserve all rights of disposal such as
copying and passing on to third parties. BOSCH and the symbol are registered trademarks of Robert Bosch GmbH, Germany.
Note: Specifications within this document are subject to change without notice.
Workbench First Steps Guide XDK110
CmdProcessor
and start it.
CmdProcessor
context with task priority 2.
Page ! 1 3
BCDS

Advertisement

Table of Contents
loading

Table of Contents