-
Notifications
You must be signed in to change notification settings - Fork 90
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 IDE 1.6.x #14
Comments
current nightly build was 1.6.1 I am stuck. |
maniacbug's mighty 1284P has not been in development for years, there have been changes in the Arduino IDE since then that make it obsolete. The active fork is https://github.com/JChristensen/mighty-1284p but this still doesn't support Arduino IDE 1.6.x. I have updated it to work with 1.6.3 in my fork here: https://github.com/per1234/mighty-1284p If you use it, please let me know if you find any issues. Thanks, Per |
Thank you! I had an issue with using AVRISP mkii because "avrdude was compiled without usb". But it was possible after going to Boards > Boardmanager ... and pressing the update button. While all works great now, I have lost understanding, of what is going on. For example I would like to use avrdude -V in order to avoid waiting for an entire read after flashing, but changing programmers.txt or platforms.txt do not seem to have any effect. The Bootloader installs fine now, but normal serial flashing does not work since it seems to try using avrdude nevertheless, complaining "not in sync" ... Thank you nevertheless! |
Ok, i found that in But I still dont understand the purpose of .arduino15 and why I should mess around there... |
I think you can get the same effect as avrdude -V by File>Preferences>Verify code after upload(uncheck). As for modifying platforms.txt I have not created a separate one for mighty1284P so it will use the one in your arduino15 folder unless you create a separate platforms.txt and place it in sketchbook\hardware\mighty-1284p\avr folder. Note that in IDE 15+ the folder structure is different than 1.0.x so there are 2 copies of all the files, one copy for each IDE version. Serial flashing works for me in 1.6.3 with my fork but I had intermittent problems uploading larger files to my homemade 1284P 16Mhz dev board using the FTDI FT232RL. The solution was to create a new entry in boards.txt that sets the low fuse to 0xF7 for full swing oscillator:
|
The purpose of arduino15 is to allow different users to have different configurations instead of the old system where the files were located in the Arduino install folder. These are the standard configuration files. If you modify the files in the 3rd party hardware folder in your sketchbook folder then you are modifying the configuration for that specific hardware set. It is explained further here: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification |
So there is the arduino-1.6.3 installation folder, the Arduino sketch folder and .arduino15 ... thats quite a lot! .arduino15 seems to replace large parts of the installation folder... Upload via FTDI is after many attempts still not possible.
which is weired, because it should just talk via /dev/USB and not trying to use the mkii. Uncheck of verify code does not stop avrdude frome verifying. But I am happy with my .arduino15/packages/arduino/hardware/avr/1.6.6/programmers.txtprogrammers.txt. Thanks. After all of the code I have seen today, after so many people not having been able to port migthy1284p to 1.6.x, you truly are a hero! |
When you Upload Using Programmer the bootloader is erased so you have to Burn Bootloader again after Upload Using Programmer if you want to flash via serial. If you try to flash using serial you will get the "not in sync" error so give that a try. I'm very glad to hear my work has been useful to you, that makes the extra effort of making it publicly available worth it. It's nice to be able to make a small contribution to the great work of maniacbug and JChristensen. I hope it will be merged soon, I was hoping to find someone to test my update of the patched GSM library before making the pull request but haven't had any luck. |
Mighty 1284P is now Arduino IDE 1.6.x compatible: https://github.com/JChristensen/mighty-1284p/tree/v1.6.3 |
GREAT! The avrispmkII programmer did not work (avrdude not compiled for device ... ). But pressing Update once in Boardmanager loads 30 Mb and then it works 👍 |
Dear Sir, I have Atmega1284P rectangular or Squared Microcontroller and I have marlin firmware software. How do I bootloader marlin code into 1284P. Please tell me the steps. It would take only few minutes for an experts but for me it may be months and months. I am beginner for this field. I am learning. I have seen some tutorials and also went for some web sites, blogspots and all. I did not get which PROGRAMMER from arduino we should select. Even I see How arduino UNO can be act as Arduino by ARDUNO-ISP for Atmega328. I did not get steps or videos related to ATmega1284P. So, kindly do a favor in telling me that HOW TO BOOTLOAD Atmega1284P with what PROGRAMMER? and what all hardwares needed for it like PROGRAMMER device and all. I needed step by step procedure. Please take your valuable time. Regards, ShriHari |
Structure changed somehow in the current nigthly builds.
In order to work I had to add some files and parameters.
My fork is only for my Atmega1284p 16Mhz using avrispmkii
https://github.com/zevero/mighty-1284p/commit/341b383ee962237d3a56720255acfa2f0afdac44
Its quite strange that I had to state the uploader in the board file ...
The text was updated successfully, but these errors were encountered: