Hi. I am in trouble, that I am out of SRAM space on UNO(don't say about saving space) and I need to bigger MCU. I am about Atmega128 or Atmega64. Will it work if I write hex file, the one created arduino, to other chip? MCU is with more pinouts, but I would use like UNO's PD4 pin - new atmega PD4, etc.
Thanks
No, the hex files are processor dependent.
In bootloaders-atmega folder is source file AtmegaBOOT_168.C and I can see, there are mentioned Atmega128, just like 1280, 64 and many others. So as I understand, there are way to write bootloader on atmega128 and use it like any other arduino?
Why not just buy a Mega and run your code with (probably) no changes. Or are you using direct port manipulation? Even that there shouldn't be much to change.
Rob
I am out of time waiting to receive Mega, locally I can't find to buy it. I am not using direct port manipulation.
OK, I think you will also have to come up with the control files that define the pins as well then.
If nobody has done this already for the chip you use you will have to do it or all the functions like digitalWrite() will not work as expected.
How long until you get your Mega, that might still be faster.
Rob