-
-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenCR Board Support (STM32F746ZGT6) #140
Comments
Could you try this board manifest https://github.com/platformio/platform-ststm32/blob/develop/boards/nucleo_f746zg.json |
Hi ! |
Arduino framework provided by Robotis uses a specific bootloader as in platformio, boot loader defined for STM32 boards seems to be openCD. |
Hi @marcosjl ! What upload method are you using? Looks like the first 0x40000 bytes are reserved for bootloader. You could try to specify this offset in
|
Hi @valeros ! Trying to compile a basic empty program (no code lines in the mbed template for main.cpp). I get this error messages on the upload stage : `Configuring upload protocol... srst_only separate srst_nogate srst_open_drain connect_deassert_srst Error: open failed *** [upload] Error 1 |
@marcosjl What is your debug probe? You selected |
Honestly @valeros... I'm completely lost. OpenCR framework in arduino 1.8.x uses its own boot loader called I've been googling to find some kind of tutorial "Add a custom board in platformIO" for dummies but I did not found something relevant so far... Documentation is too synthetic IMHO, specialy for dummies like me. :) |
@marcosjl You say the board has a custom bootloader, so probably there is a custom upload tool used for uploading code, so the question is how do you plan to upload firmware to the board? |
The previous PR (#597) provides the required support for OpenCR in PlatformIO. @valeros: any advice on how to make piopm aware of it and automatically fetch it? |
Thanks for sharing the package, it works for me and I am glad I can use IDEs suited for larger projects now. For anyone else following the blog post, I also needed to add
to my platform.ini to upload to my OpenCR board. |
Great that it worked without issues and that it is being useful @concavegit . |
It'd be awesome to be able to work on OpenCR robotics projects with PlatformIO instead of the Arduino IDE. OpenCR is an awesome project: it has a wide variety of inputs and outputs, Arduino UNO compatible pinouts for shields, integrated power management for input of 5-24V with shore power / battery uninterrupted support, and really isn't too much money. It's the board that does the real time stuff for Turtlebot3 if you are familiar with it.
ROBOTIS has already done a bunch of work to get a toolchain in place for loading code onto the thing, so I hope that it's just a case of configuring PlatformIO to know what to put where!
The documentation for the board can be found here: http://emanual.robotis.com/docs/en/parts/controller/opencr10/
And the manifest for the Arduino IDE Board Manager can be found here: https://raw.githubusercontent.com/ROBOTIS-GIT/OpenCR/master/arduino/opencr_release/package_opencr_index.json
and the code for the existing OpenCR TurtleBot3 firmware can be found here: https://github.com/ROBOTIS-GIT/opencr
The text was updated successfully, but these errors were encountered: