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
Arduino 1.5.5 Compatability issues #4
Comments
Kurt, good to know. Are you currently working off the arduino-1.5.2 branch? |
Yes I am working with your 1.5.2 branch, and on Arduino running with build 1.5.5 and daily builds. I am also enlisted in one of the Arduino contributors branches: matthijskooijman/Arduino. Found issues with using straight HardwareSerial code at 1mbs for AX12. I debugged and reworked the ::write method to avoid the lock up in flush method. I submitted an Issue on the main Arduino github account and found that it was a duplicate of one of Mattijs issues which he has a pull request in for. Have started doing some testing with my Phoenix code base using the HardwareSerial code and appears to work, Will put up a version of my Phantom_Phoenix code up on my github account that uses this or conditionally simply implements my own write function and sync function. Note: I think the more recent changes to programmers.txt and boards.txt are a result of changes due to the support for Arduino Yun. |
Quick update: I will also post on Trossen forum thread as well. Decided to try doing an upload using the serial port on the Arbotix instead of ISP, ran into a few more problems that I think I have working on my system. Note: I have only mode the changes to the section of boards.txt for my logical board type that uses the default Arduino 1.5.x code base. First I had to burn a bootloader on to the board. Ran into issues. Needed to define bootloader tool in boards.txt, like:
Then ran into issue that system was hard coding trying to load the bootloader from the Arduino install point not our hardware folder. Found issue up on Arduino Issues: arduino/Arduino#1176 So I updated platform.txt to the version out of Arduino 1.5.5 avr section. I then changed this line from:
To:
After restarting IDE I was able to burn the bootloader. I then connected up the comm port to the Arbotix and was able to download the program over it. But again you must define the upload tool in boards.txt like:
|
Warning: WIP - I am using 1.5.5 and/or Daily Build. Also working on fixes to Hardware Serial on Arduino. This is a work in progress. Requires changes to Arbotix files. Information in issues: vanadiumlabs/arbotix#4 Also more information up on TrossenRobotics Forum: http://forums.trossenrobotics.com/showthread.php?5786-Arbotix-on-Arduino-1.5(will-be-1.0.2)-IDE/page2 More Information about Hardware Serial issues on 1.5.5 are up on their github: arduino/Arduino#1742 Also in this first pass, added the ability to define for Quad instead of Hex. Note: Has code to bypass HardwareSerial write method which I am testing currently. Later if Arduino fixes issue can turn off and use ::write and ::flush methods.
First simple things:
There are some new lines that I believe need to be added to the boards.txt and programmers.txt. You need to define what tool you are using.
First for the Avrisp Serial programmer, mine now looks like:
Likewise I believe you need to define at least one more new line in boards.txt for upload tool, something like:
Need to do for each section. Note: did not test this part as I was using programmer. Also in the section I was doing, I also defined:
arbotixAd.upload.maximum_data_size=4096
Later may want to talk about using the main core code base and only define a new variant. I believe we can either use the main Hardware Serial code or can get away with hacking up our own write function and use their receiver... Have a version hacked up and testing now... My section in the boards.txt looks like:
Kurt
The text was updated successfully, but these errors were encountered: