Search found 15 matches

by bnblzq
Thu Aug 08, 2019 4:11 am
Forum: Bitcraze
Topic: print log in port.c
Replies: 9
Views: 4155

Re: print log in port.c

Hi , After considering some details, I decide to move the timeslice alteration as an system task. But now, I am facing with a problem with CRTP . The problem is that the task occpuys all the timeslice, seen from task dump information ,becase I use a forever loop inside the task as other system tasks...
by bnblzq
Tue Aug 06, 2019 11:25 am
Forum: Bitcraze
Topic: print log in port.c
Replies: 9
Views: 4155

Re: print log in port.c

you are right ! it is indeed called once.
I should find another way to implement my idea.... :D
by bnblzq
Tue Aug 06, 2019 10:41 am
Forum: Bitcraze
Topic: print log in port.c
Replies: 9
Views: 4155

Re: print log in port.c

"it is very likely that sys ticks (very basic OS functionality) is set up before the debug module and that there are not yet any debug buffers to write into" ==> I agree with you . But I also think that sys ticks is a periodical setting, so everytime the timer overflows, the ISR function s...
by bnblzq
Tue Aug 06, 2019 8:15 am
Forum: Bitcraze
Topic: print log in port.c
Replies: 9
Views: 4155

Re: print log in port.c

by the way , I am convinced that is ISR function is called, because when I set a fixed figure to the timer counting down, the time slice is indeed shorter than before.From the crazyflie, I can hear the interval the "beep" sound when initiating becomes more compact.
by bnblzq
Tue Aug 06, 2019 8:09 am
Forum: Bitcraze
Topic: print log in port.c
Replies: 9
Views: 4155

Re: print log in port.c

Hi kimberly, here is my new modification. I add an log "check!!!" just outside the if condition, but I still got nothing to show in the cfclient. but when I hit the "task dump" button, I got a task list in the console window, which means that the link between crazyflie and my pc ...
by bnblzq
Tue Aug 06, 2019 3:28 am
Forum: Bitcraze
Topic: print log in port.c
Replies: 9
Views: 4155

print log in port.c

Hi everybody, I am trying to print some infomation in port.c with DEBUG_PRINT() ,but I got nothing in the console in cfclient. Is there anything wrong I made during the code ? 1.png --- a/src/lib/FreeRTOS/portable/GCC/ARM_CM4F/port.c +++ b/src/lib/FreeRTOS/portable/GCC/ARM_CM4F/port.c @@ -74,6 +74,8...
by bnblzq
Mon Aug 05, 2019 2:57 am
Forum: Bitcraze
Topic: How to generate the zip file for upgrade?
Replies: 8
Views: 3617

Re: How to generate the zip file for upgrade?

by the way, I'd like to mention that it is possible to flash cf.bin directly via cfclient , instead of generating total zip flie.
during flash
during flash
by bnblzq
Wed Jul 31, 2019 9:08 am
Forum: Bitcraze
Topic: How to generate the zip file for upgrade?
Replies: 8
Views: 3617

Re: How to generate the zip file for upgrade?

thanks for replying. Actually I have read the code about packing the separate files into one zip. And I realised that the python file download the existing file from github according to json file. So now I am trying to modify the packge.py, redirecting the source to the firmware directory in my loca...
by bnblzq
Wed Jul 31, 2019 4:36 am
Forum: Bitcraze
Topic: How to generate the zip file for upgrade?
Replies: 8
Views: 3617

Re: How to generate the zip file for upgrade?

replace bin file seems like a good solution, just with a little time costing :D
by bnblzq
Mon Jul 29, 2019 4:59 pm
Forum: Bitcraze
Topic: How to generate the zip file for upgrade?
Replies: 8
Views: 3617

Re: How to generate the zip file for upgrade?

I can use make cload to update the firmware in stm32, but I still want to figure out how to generate the complete zip file.