Page 1 of 1

Couple of new questions ( updated again! )

Posted: Mon Dec 16, 2013 4:44 am
by fishyy
I'm pretty new to this. My teacher bought one as a test project for me as part of my final year project.

Anyway, may I know how to download / push an edited code to the crazyflie? What software it uses and please provide me instruction. Thanks in advance.

Re: Modify the code

Posted: Mon Dec 16, 2013 6:30 am
by atomicdog
There's lots of good info on the wiki.
The bitcraze Virtual Machine has a pre-configured Dev environment to help get you started quickly.

Re: Modify the code

Posted: Mon Dec 16, 2013 6:36 am
by fishyy
atomicdog wrote:There's lots of good info on the wiki.
The bitcraze Virtual Machine has a pre-configured Dev environment to help get you started quickly.
I found out quite abit while i'm waiting, I'm downloading the bitcraze VM now.

so lets say I use openOCD / eclipse to edit the codes, how do I download / push the new codes to replace the existing code inside the CF?

Re: Modify the code

Posted: Mon Dec 16, 2013 6:43 am
by atomicdog
fishyy wrote:so lets say I use openOCD / eclipse to edit the codes, how do I download / push the new codes to replace the existing code inside the CF?
Downloading new code through the crazyradio is one easy way. When using openOCD then you would use a programmer to do it through the JTAG port instead.

Re: Couple of new questions

Posted: Tue Dec 17, 2013 1:25 am
by fishyy
Okay, now my teacher gives me a few tasks.

1. Source code of crazyflie

2. Circuit board diagram of crazyflie

3. Source code of CF computer client

4. Virtual Box machine, its purpose.

----------------------------------------------------------------------------------------------------------------

1 - Found: https://bitbucket.org/bitcraze/crazyflie-firmware/src

2 - Still finding

3 - Found : http://wiki.bitcraze.se/projects:crazyf ... ries:index

4 - Currently got an idea of what is it, but need to summarize and organize it, still working on it.


I'm asking if anyone got any clue of what I need or any reference for my tasks, it'll be easier and faster for me and my teacher both to proceed to next step.

But still, I'm currently searching to see if I can find something, and will constantly update here on my progress.

Thanks guys.

EDIT: FOUND 1 and 2

Re: Couple of new questions

Posted: Tue Dec 17, 2013 3:55 am
by atomicdog
You need a soldering iron to assembly the Crazyflie (CF).
You need a way to control the CF using something like an Xbox or PlayStation controller.
If you want to do in-circuit debugging of your modified CF code you'll need a debugger/programmer.

Re: Couple of new questions

Posted: Tue Dec 17, 2013 6:23 am
by fishyy
atomicdog wrote:You need a soldering iron to assembly the Crazyflie (CF).
You need a way to control the CF using something like an Xbox or PlayStation controller.
If you want to do in-circuit debugging of your modified CF code you'll need a debugger/programmer.
oh ya, forgot to mention.

your first and second point was the first thing I do when my teacher pass me the CF box, I assembled and calibrated it. I'm using Logitech Dual Action controller and it works great!

Are http://wiki.bitcraze.se/projects:crazyf ... :explained the circuit diagram?


I showed my teacher that, its okay, but what he needs is the schematic diagram of the CF circuit board. Anyone has any idea ?

Re: Couple of new questions

Posted: Tue Dec 17, 2013 6:46 am
by atomicdog
It's on the wiki and the bitbucket repo.

Re: Couple of new questions ( updated again! )

Posted: Wed Dec 18, 2013 4:14 pm
by fishyy
Thanks so much for your reply, although I saw it before I reply to you days ago, I was collecting the infos then totally forgot about to thank you. Please accept my apology.

Now the last thing I need is the PCB design of the board, I tried searching wiki already ( if you linked me to wiki for the design, which I'm too blind to see it again, I will slam my head to the wall, lol ) and found nothing. I need it as a drawing purpose. If admin / mod or anyone has any of it, please link me.

Greatly appreciated.

Re: Couple of new questions ( updated again! )

Posted: Wed Dec 18, 2013 5:27 pm
by atomicdog
The design files are on bitbucket.