You are viewing a static version of the site. Enable JavaScript to benefit from the
full functionality of this site and enable such things as forum posting.
ATmega644P
LG:
Hi, first of all, I'd like to thank you for UECIDE, it helped me a lot with my DIY projects. So far I've been using boards with 328P and 2560. But now I need to write a code for some older device with atmega644P and I can't get UECIDE to compile my code. I tried to install some boards that use 644P (Calunium), then I tried to edit the board.txt of Arduino 1280/2560 - I added the definition for atmega644p, but every time I got errors. I just want to ask; is there any simple way how to get it working with the same Arduino core as 168P/328P or 1280/2560 since these are very similar? Which files would need to be edited?
Or another aproach would be to use Mighty Core - as this is suggestedoon many forums in regards to 644P/1284P, but I don't see it in the plugin manager. Thank you for any suggestions.
LG
LG:
OK, I worked it out. I made a new folder in boards/Arduino and I used copies of board.txt and pins_arduino.h from Calunium board, made some edits to menu options and yay it works and compiles without errors for both 644PA and 1284P! I didn't have a chance to test the output in the target device yet, but I'm sure it will be OK.
matt:
If you find it works on the target and you'd like to share your board definitions you could attach them here and I'll add them into the plugin manager so others can use them. As for porting the mighty core, it's something that I really should do some time - but core porting is a lot of work. Getting the multi-backend system working would probably be of more benefit so that UECIDE can use arduino-cli
to install / manage / use Arduino cores and boards directly, which would open up the ability to use everything you can imagine.
LG:
During the weekend I tested the settings and it worked, the compiled program ran as expected on real 644PA. So I'm glad to share the board/pin definitions I used - find them in the attached archive. I didn't change the line with bootloader HEX file - I don't use that.
matt:
Neither does UECIDE yet. There was a time near the beginning that I had a plugin for the bootloader, but it never got updated.
matt:
The board should now be in the repo. It's not named the same as your copy, so if you install it you'll end up with the board twice. I named it arduino-644pa
and "ATMega644P(A)/1284P"