Handbook and Documentation
Antwort
16.09.15 16:24
Hallo,

is there a manual for the XDK Workbench software and is there an Application Guide for download programs to the XDK110. 
After flashing the data logger demo, the red LED indicates an internal error. What must I do or change in the demo to get the demo running?
How can I start the Data logger at the XDK110? 

Thanks
Bernd
0 (0 Stimmen)
Handbook and Documentation
Antwort
17.09.15 05:38 als Antwort auf Bernd Dittmer.
Bernd,

you can find a Getting Started Documentation here:
https://xdk.bosch-connectivity.com/xdk-community/category/documentation-getting-started-with-xdk/13045-t/13044#id13044
and also some more documentation in the Downloads Section here in the Community.

In addition to that, the XDK Workbench has a Help section with some source code documentation.

Most importantly though, each of the projects comes with Getting Started documentations specific to the project and some instructions. These documents should normally help you along.

Though, unfortunately I have to admit that the Data Logger Demo has some problems and it's possible that these documents won't help you further.
We've had these problems you're describing before and they have been heavily discussed here in the community.

The internal error is most likely caused by some problem with the SD card or with the logger.ini.

What you could try to do to make it work, is to reformat the SD card with FAT32 using Windows and ONLY put the logger.ini on the SD Card (no other files).

In most cases, that solved the problem.

Now if that won't work, I'm more than happy to help you along. Just post the console output of your XDK Workbench when trying to run the Data Logger Demo here and we can look further into this!

- Florian
0 (0 Stimmen)
Handbook and Documentation
Antwort
17.09.15 14:30 als Antwort auf Florian Harr.
Hello Florian,

thank you for your answer.
I reformat the SD card with FAT32 and only flash the logger.ini File, but the result is the same. The red LED is on.

For example the Console Output:
 INFO | Set device 'XDK Device 1' into bootloader mode
 INFO | Disconnecting XDK device 'XDK Device 1' from port 'COM8'...
 INFO | Port 'COM8' has been disconnected
 INFO | Connecting to XDK device 'XDK Device 1' in port 'COM8'...
 INFO | Connection to port 'COM8' established
 INFO | Flashing file 'C:/XDK-Workbench/workspace/DDL_demoDataLogger/make/exe/XDK110_DDL.bin'...
 INFO | Transmission successfully completed!
 INFO | Booting application...
 INFO | XDK DEVICE 1:  Jumping to application
 INFO | Disconnecting XDK device 'XDK Device 1' from port 'COM8'...
 INFO | Port 'COM8' has been disconnected
 INFO | Connecting to XDK device 'XDK Device 1' in port 'COM8'...
 INFO | Connection to port 'COM8' established

Thank you for your help.

Bernd
0 (0 Stimmen)
Handbook and Documentation
Antwort
18.09.15 02:37 als Antwort auf Bernd Dittmer.
Bernd,

judging from the output you were posting it looks like the XDK actually never started, normally I would have expected to see at least some output from the Data Logger Demo.
Normally the XDK would start reading the logger.ini file and post the results in the console.

To better assist you solving this problem, could you post the version number of your XDK workbench and furthermore some screenshots of the steps you're doing after flashing your XDK and the contents of your SD Card?

Thanks,
Florian
0 (0 Stimmen)
Handbook and Documentation
Antwort
18.09.15 15:18 als Antwort auf Florian Harr.
Hello Florian,

here are the informations.
XDK Workbench
Version        : 1.3.0-SNAPSHOT
Build date    : 2015-06-03T08:55:14Z
Build ID        : B-391
© Bosch Connected Devices and Solutions GmbH 2015

XDK110-Hardware: serial-no: 15-01688

Discription of flashing the XDK:
after XDK-Workbench started
1. connecting the XDK110-HW
2. flash the logger.ini file
3. disconnect the XDK110-HW
4. connect the XDK110-HW  => Information bad filename in logger.ini

The XDK Device Console-Window after starting die Workbench:
INFO | New device has been discovered in application mode. Extracting CoreID from bootloader...
 INFO | Connecting to XDK device 'XDK Device 1' in port 'COM8'...
 INFO | Connection to port 'COM8' established
 INFO | Flashing file 'C:/XDK-Workbench/workspace/DDL_demoDataLogger/make/exe/XDK110_DDL.bin'...
 INFO | Transmission successfully completed!
 INFO | Booting application...
 INFO | XDK DEVICE 1:  Jumping to application
 INFO | Disconnecting XDK device 'XDK Device 1' from port 'COM8'...
 INFO | Port 'COM8' has been disconnected
 INFO | Connecting to XDK device 'XDK Device 1' in port 'COM8'...
 INFO | Connection to port 'COM8' established

 INFO | Disconnecting XDK device 'XDK Device 1' from port 'COM8'...
 INFO | Port 'COM8' has been disconnected

 INFO | Connecting to XDK device 'XDK Device 1' in port 'COM8'...
 INFO | Connection to port 'COM8' established
 INFO | XDK DEVICE 1:  config.bma280_enabled: 0
 INFO | XDK DEVICE 1:  config.bma280_bandwidth: 0
 INFO | XDK DEVICE 1:  config.bma280_range: 0
 INFO | XDK DEVICE 1:  config.bma280_sampling_rate_timer_ticks: 0
 INFO | XDK DEVICE 1:  
 INFO | XDK DEVICE 1:  config.bmg160_enabled: 0
 INFO | XDK DEVICE 1:  config.bmg160_bandwidth: 0
 INFO | XDK DEVICE 1:  config.bmg160_sampling_rate_timer_ticks: 0
 INFO | XDK DEVICE 1:  
 INFO | XDK DEVICE 1:  config.bmi160_enabled: 0
 INFO | XDK DEVICE 1:  config.bmi160_bandwidth_accel: 0
 INFO | XDK DEVICE 1:  config.bmi160_bandwidth_gyro: 0
 INFO | XDK DEVICE 1:  config.bmi160_range: 0
 INFO | XDK DEVICE 1:  config.bmi160_sampling_rate_timer_ticks: 0
 INFO | XDK DEVICE 1:  
 INFO | XDK DEVICE 1:  config.bmm150_enabled: 0
 INFO | XDK DEVICE 1:  config.bmm150_data_rate: 0
 INFO | XDK DEVICE 1:  config.bmm150_sampling_rate_timer_ticks: 0
 INFO | XDK DEVICE 1:  
 INFO | XDK DEVICE 1:  config.bme280_enabled: 0
 INFO | XDK DEVICE 1:  config.bme280_oversampling: 0
 INFO | XDK DEVICE 1:  config.bme280_filter_coefficient: 0
 INFO | XDK DEVICE 1:  config.bme280_sampling_rate_timer_ticks: 0
 INFO | XDK DEVICE 1:  
 INFO | XDK DEVICE 1:  config.max44009_enabled: 0
 INFO | XDK DEVICE 1:  config.max44009_integration_time: 0
 INFO | XDK DEVICE 1:  config.max44009_sampling_rate_timer_ticks: 0
 INFO | XDK DEVICE 1:  
 INFO | XDK DEVICE 1: bad filename in logger.ini

Thanks,
Bernd
0 (0 Stimmen)
Handbook and Documentation
Antwort
20.09.15 04:21 als Antwort auf Bernd Dittmer.
Bernd,

the new console output makes a lot more sense and seems to be the same issue what others had before. 

Basically what happens is that the DataLogger Demo tries to ready our logger.ini file, specifically the filename value. As this value seems inaccessible to the XDK, it'll put in some standard value that causes the error.

To get your DataLogger Demo running, we should fix a couple of lines in the source code of the DataLogger Demo so the standard value will be a valid value for the Demo and pass even though your set name can't be read and additionally we should make sure your logger.ini is well formatted.

To get this going, I suggest you post your email address here and I'll get into contact with you so we can exchange the logger.ini file and the part of the source code that needs to be changed.

- Florian
0 (0 Stimmen)
Handbook and Documentation
Antwort
21.09.15 06:23 als Antwort auf Florian Harr.
Hello Florian,

here my e-mail:
Bernd.Dittmer@de.bosch.com

Bernd
0 (0 Stimmen)
Handbook and Documentation
Antwort
24.09.15 04:14 als Antwort auf Bernd Dittmer.
 
created by bernd.dittmer on 21.09.2015, 08:23 AM
Hello Florian,

here my e-mail:
Bernd.Dittmer@de.bosch.com

Bernd

Hi Bernd,

check your email ;)

Hope we get it fixed now!

- Florian
0 (0 Stimmen)
Handbook and Documentation
Antwort
20.11.15 12:23 als Antwort auf Florian Harr.
Hello Bernd an Florian,

what was the solution? I might have a similar problem with the DataLogger demo. I freshly downloaded the project from the download section here and flashed it onto the XDK. I put the logger.ini on the SD card. I don't find any log on the SD Card after running it for a while.

The output in the console looks like:

 INFO | Flashing file 'C:/Work/XDK-Workbench/workspace/DDL_demoDataLogger/make/exe/XDK110_DDL.bin'...
 INFO | Transmission successfully completed!
 INFO | Booting application...
 INFO | XDK DEVICE 1:  Jumping to application
 INFO | Disconnecting XDK device 'XDK Device 1' from port 'COM12'...
 INFO | Port 'COM12' has been disconnected
 INFO | Connecting to XDK device 'XDK Device 1' in port 'COM12'...
 INFO | Connection to port 'COM12' established
 INFO | XDK DEVICE 1:  config.bma280_enabled: 1
 INFO | XDK DEVICE 1:  config.bma280_bandwidth: 500
 INFO | XDK DEVICE 1:  config.bma280_range: 16
 INFO | XDK DEVICE 1:  config.bma280_sampling_rate_timer_ticks: 1
 INFO | XDK DEVICE 1:  
 INFO | XDK DEVICE 1:  config.bmg160_enabled: 1
 INFO | XDK DEVICE 1:  config.bmg160_bandwidth: 32
 INFO | XDK DEVICE 1:  config.bmg160_sampling_rate_timer_ticks: 2
 INFO | XDK DEVICE 1:  
 INFO | XDK DEVICE 1:  config.bmi160_enabled: 1
 INFO | XDK DEVICE 1:  config.bmi160_bandwidth_accel: 500
 INFO | XDK DEVICE 1:  config.bmi160_bandwidth_gyro: 32
 INFO | XDK DEVICE 1:  config.bmi160_range: 16
 INFO | XDK DEVICE 1:  config.bmi160_sampling_rate_timer_ticks: 1
 INFO | XDK DEVICE 1:  
 INFO | XDK DEVICE 1:  config.bmm150_enabled: 1
 INFO | XDK DEVICE 1:  config.bmm150_data_rate: 25
 INFO | XDK DEVICE 1:  config.bmm150_sampling_rate_timer_ticks: 5
 INFO | XDK DEVICE 1:  
 INFO | XDK DEVICE 1:  config.bme280_enabled: 1
 INFO | XDK DEVICE 1:  config.bme280_oversampling: 4
 INFO | XDK DEVICE 1:  config.bme280_filter_coefficient: 4
 INFO | XDK DEVICE 1:  config.bme280_sampling_rate_timer_ticks: 10
 INFO | XDK DEVICE 1:  
 INFO | XDK DEVICE 1:  config.max44009_enabled: 1
 INFO | XDK DEVICE 1:  config.max44009_integration_time: 50
 INFO | XDK DEVICE 1:  config.max44009_sampling_rate_timer_ticks: 10
 INFO | XDK DEVICE 1: 
0 (0 Stimmen)
Handbook and Documentation
Antwort
20.11.15 14:32 als Antwort auf Niclas Mueller.
Hey niclas,

before go deeper into debugging this problem, can you do the following first?

1.) Open a new thread for this issue as no one ever will find it under the current subject.
2.) Most of the issues with the DataLogger demo are due to the contents of the SD Card. Make sure that you have nothing else than the logger.ini on your SD card and that it's a freshly FAT32 formatted sd card when you use it.

If 2) solves your problem, it would still be good to open a new thread.

- Florian
0 (0 Stimmen)