Search found 7 matches

by khorium
Thu Apr 29, 2021 11:58 am
Forum: Support
Topic: Logging time onto sd card
Replies: 10
Views: 3445

Re: Logging time onto sd card

Thank you all so much for your help :)

It might be worth adding a line in https://www.bitcraze.io/documentation/r ... card-deck/ about the SD card having to be formatted in Fat32. Or maybe it is somewhere I just missed.

Best regards Kåre
by khorium
Fri Apr 23, 2021 10:21 am
Forum: Support
Topic: Logging time onto sd card
Replies: 10
Views: 3445

Re: Logging time onto sd card

Now it initializes correctly after reformatting it to Fat32, thank you! I still do not really know how to set the usd.logging variable to 0 in the firmware. But I can do it from the Python scripts I am running and start and stop, which I hope will work fine (now I did it manually with cfclient). Tha...
by khorium
Wed Apr 21, 2021 6:26 am
Forum: Support
Topic: Logging time onto sd card
Replies: 10
Views: 3445

Re: Logging time onto sd card

It is formatted with the exFAT file system it seems.

I can create and modify files on it like I can any other place it seems (from the File Explorer). Or do you mean I should try to write/read with some code, like creating a Python script to write something to it?
by khorium
Tue Apr 20, 2021 5:16 pm
Forum: Support
Topic: Logging time onto sd card
Replies: 10
Views: 3445

Re: Logging time onto sd card

Thank you for your answer :) I had not realized I could see so much from the cfclients console. I had mainly flown it with the python scripts as I don't have a controller I can use in the VM. Looking at the console print outs one can see that the initialization fails. I tried adjusting the mount of ...
by khorium
Fri Apr 16, 2021 10:43 am
Forum: Support
Topic: Logging time onto sd card
Replies: 10
Views: 3445

Logging time onto sd card

Hello! I am trying to instrument the firmware code and log time stamps onto a uSD card. Primarily I want to use the Event trigger framework to log things in the stabilizer.c file. I have a few problems which I would be very grateful if anyone could help me a bit with. 1) The guide https://www.bitcra...
by khorium
Fri Mar 26, 2021 7:57 am
Forum: Developer Discussions
Topic: Problem when building code: MAKE CLOAD
Replies: 7
Views: 2493

Re: Problem when building code: MAKE CLOAD

Hello again! I got a bit further since the last post. As it seemed the problem was with cflib I tried to navigate to its source folder and install it with "pip3 install -e .". First it was a problem that my pip was not upgraded, so I upgraded it. Then it did not work due to some permission...
by khorium
Thu Mar 25, 2021 10:29 pm
Forum: Developer Discussions
Topic: Problem when building code: MAKE CLOAD
Replies: 7
Views: 2493

Re: Problem when building code: MAKE CLOAD

I really appreciate this thread, I had the exact same problem. But for me I still had problems even after this. The "make all" command now works perfectly, but "make cload" now gives an error: make cload python3 -m cfloader flash cf2.bin stm32-fw Traceback (most recent call last)...