mighty-1284p
mighty-1284p copied to clipboard
Error while burning bootloader
Hi, I have been struggling to program an ATMEGA1284P for quite some time now. I'm using an external 16MHZ crystal with relevant 22pf capacitors. I am trying to use an arduino nano as ISP using the arduinoISP sketch however when I select Mighty 1284p 16mhz using optiboot then try and burn bootloader I get this:
java.lang.NullPointerException at cc.arduino.packages.uploaders.SerialUploader.burnBootloader(SerialUploader.java:329) at processing.app.Editor.lambda$handleBurnBootloader$61(Editor.java:2379) at java.lang.Thread.run(Thread.java:748) Error while burning bootloader.
Prior to this, I would just get programmer not in sync / responding errors while trying to upload sketches. ATMEGA1284P is factory fresh.
I've never had much luck with the bootloader upload in Arduino. Usually resort to doing it manually with avrdude and a custom-built parallel-port interface circuit.
You may be better off posting your issue in the Arduino forums?
Maintenance of this project ceased almost a decade ago. It has archaeological value for those who wish to study the pioneering work in 3rd party Arduino boards platforms, but not so much for actual use. I recommend using the actively maintained MightyCore: https://github.com/MCUdude/MightyCore And I second Agent24 that you should ask for assistance on the forum if you have any problems with burning the bootloader using MightyCore.
Maintenance of this project ceased almost a decade ago. It has archaeological value for those who wish to study the pioneering work in 3rd party Arduino boards platforms, but not so much for actual use. I recommend using the actively maintained MightyCore: https://github.com/MCUdude/MightyCore And I second Agent24 that you should ask for assistance on the forum if you have any problems with burning the bootloader using MightyCore.
Thanks for your reply, I got a USBasp programmer, used mightycore and it worked!