Data logger demo stack overflow error
Answer
12/5/18 3:54 AM

Dear all,

 

I am now facing another problem when trying the data logger demo downloaded from Here which is a 3.1 version.

 

After I flashing the code to XDK, I got error as shown:

INFO | XDK DEVICE 1: BMM150 ticks 12 ms
 INFO | XDK DEVICE 1: BME280 ticks 12 ms
 INFO | XDK DEVICE 1: MAX ticks 12 ms
 INFO | XDK DEVICE 1: ----- STACK OVERFLOW -----Task Name:TASK1 IS -----Current Task Handle:0x2000e420

 

I have followed the instruction on Solution1 using cmd line, and I am pretty sure there is no folder on the sd card as shown in attached figure.

 

Can you please let me know how to solve this problem? Thanks

0 (0 Votes)
RE: Data logger demo stack overflow error
Answer
12/5/18 4:27 PM as a reply to Ray Yu.
Hello Ray,

The STACK OVERFLOW you are facing results from the fact that the used operating tasks have not enough stack size.

The stack size is defined for the operating tasks of the Data Logger demo via calls of the function xTaskCreate() at line 300 in the implementation file XDK_DataLogger_cc.c .

There configMINIMAL_STACK_SIZE variable defines the stacksize you have for this task.

You simply exchange the value with UINT32_C(250) and it should solve the issue with the stack overflow .


Please let me know if this was helpful, and do not hesitate to ask further questions.

Kind regards,
Franjo
+1 (1 Vote)
RE: Data logger demo stack overflow error
Answer
12/6/18 12:12 AM as a reply to Franjo Stjepandic.

Hi Franjo,

 

Thank you for your help. The datalogger demo is working now. 

 

I still another two questions:

 

1. Since this demo I downloaded from Here is version v3.1. I am wondering where I am able to download the latest v3.5 version since I found some of the functions in this demo are not same as the functions from the example demo of workbench v3.5.

 

2. I also found the data logger firmware XDL120 from Here . However, I am not able to finish the registration on this web and unable to continue download or buy it. Is this firmware only available for companies in Switzerland or Germany? 

 

Thank you very mcuh for your help.

 

Regards,

Ray

0 (0 Votes)
RE: Data logger demo stack overflow error
Answer
12/6/18 3:42 PM as a reply to Ray Yu.
Hello Ray,

I am glad that the Data Logger demo is working.

Regarding your questions:
 
  1. There is no other version available version the Data Logger demo than v3.1. The entire Data Logger demo was reworked in the firmware XDL120, which is available on the Bosch IoT marketplace.

  2. Furthermore, the confirmation process for the Bosch IoT marketplace takes a while, that is the reason you do not get an immediate response email. It takes at least one hour until you receive the email and proceed. If it takes longer than I would recommend waiting at least one day and if you got no confirmation email, to report back to me.
Please tell me if this was helpful, and do not hesitate to ask further questions.

Kind regards,
Franjo
0 (0 Votes)