|
|
|
|
Thread OP
|
Discussion
Bradwii on V202, V252, JD-385
For tutorials on the installation of this port of Bradwii on your own microheli please see an excellent tutorial thread by SeByDocKy:
https://www.rcgroups.com/forums/show....php?t=2278850 Sometime ago the ability to reprogram an MCU for some micro-quads was discovered and hardware was documented: https://github.com/hackocopter/JD385_Documentation I spent some time to port the smallest of known to me MultiWii inspired products - bradwii - to this platform, with intermediate help of existing port to STM32 by trollcop. Now this project is in the initial stage - the copters fly, but not very enthusiastically. If you feel like hacking on the project, discuss it here and join at https://github.com/hackocopter/bradwii-jd385. |
|
|
Last edited by victzh; Mar 08, 2015 at 03:00 AM.
|
|
|
|
|
|
|
|
Just read quickly through the code and wow, I thought that the code to control these things would be a bit more complicated. But well, unless you're using Assembler, 16kb doesn't allow to fit that much code after compilation. Libraries probably take most of the room anyway..?
How much money is needed to get all the tools when starting from the scratch? Are the compilation etc tools also available in Linux/OSX as I don't have Windows installed to any of my computers? |
|
|
|
|
|
|
|
|
subscribed
![]() mahagr, I have a STM32F100 dev board with integrated STLink debugger (SWD): http://www.ebay.com/itm/161074287093 I plugged it to a Hubsan H107 (same MCU than 202/252/385...) and it sounds like I can reflash it too (but will have to code drivers for the different hardware on this quad). I think it's better to have Windows so you can use Keil uVision (free version is limited to 32KB, which is fine in our case ), there is an open source toolchain also, but I'm not sure you can use the hacked flashtool with it.
|
|
|
|
|
|
|
|
|
You can get JXD quads ~15€, body only, no batteries or spare parts:
http://www.aliexpress.com/item/4-Col...805974928.html http://www.aliexpress.com/item/JXD-3...718288442.html I also got V252 boards for 6.75€ including posting from China. ![]() Well, as I said, I do not have any Windows computers, so I need to figure out how to flash those things with something else.. |
|
|
|
|
|
|
|
|
Thanks for the link, but I've always been reticent to order from those places that don't accept paypal.
I see the "flashtool" is only a script that send commands to the debugger actually (to unlock and erase flash), it may be easy (or not) to use it with open source tools (st-util ?) : https://github.com/hackocopter/SWD-H...flashtools.ini |
|
|
|
|
|
||
|
|
Quote:
|
|
|
|
||
|
|
|
|
|
Hey, hi sbstnp
![]() (remember this discussion we had almost 1 year ago ? Took a lot of time but I finally took the plunge and started playing with ARM Cortex MCUs )Yup, if banggood doesn't send the one I ordered yesterday by tomorrow I'll cancel this order and try to find something faster, thanks. |
|
|
|
|
|
||
|
|
Quote:
|
|
|
|
||
|
|
|
|
|
In Linux this seems to work with STM32F100xx, no idea if it will do the task, though:
https://github.com/texane/stlink This would work better in Linux, though: http://www.ebay.com/itm/STM32L-DISCO...item2583878199 Would it do the task, or is it mandatory to use the older discovery board? |
|
|
Last edited by mahagr; May 27, 2014 at 08:00 AM.
|
|
|
||
|
|
mahagr, have a look at openocd, texane stlink is a gdb server, I'm not sure it can be used to unlock & erase chip.
Good news, banggood shipped the JXD-388 yesterday, it's in the slow boat now ![]() Continuing to learn on the STM32, playing with a graphics LCD & Wii nunchuck today ![]() Quote:
Just buy the board you want to play with
|
|
|
|
Last edited by goebish; May 30, 2014 at 02:55 AM.
|
|
|
|
|
|
|
Might really try this; I have a destroyed (eg. soldering practise) board of H107L, which has a few issues in it, but which still works unless you try to fly with it. Also have a few other compatible boards, including one V252 with a burned FET (needs a replacement) and one V272 with broken arms (kinda flies). And then I have 8 working boards to play with.
The only thing I'm lacking is the time...It's also been a while since I've flashed/worked with ARM processors and even then we had the environment all set up for us. Are all V2x2 quads using N-gate fets? Might buy a few 4-6A transistors to replace the broken ones... |
|
|
|