Bosch XDK110 Quick Start Manual page 12

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

Advertisement

!
1.2.6 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
1.2.6.1 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
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
Page ! 1 2
BCDS

Advertisement

Table of Contents
loading

Table of Contents