Thank you very much. The calculation's complicity made my application so big. I have optimized it but got not much improvement. Would you please tell me what else MCU I can use for such kind of big program?
It is solving a ten variables non-linear equations using Newton's Iterative method as the derivatives are easy to calculate, and classic Chord method as its code simpler, both generates the executable of almost the same size. I do not know any other way better.
I can't recommend anything until I know what you are doing..
How do you know the code size BEFORE compilation... Have you compiled this code in windows?
Embedded code is tighter... Look over at MikroElectronica... They support MANY micro cores... Look at the math libraries to see if you can use their stuff... Loads of 32bit examples to view..
Perhaps a Microstick II DM330013-2 , it will support a range of MC mcu's 16 and 32 bit up to 256k code , just add MPLABX and toolchain . will get you started for little outlay.
What is worrying is once he has a micro running with soo many calculations on a mere micro, I think speed will be an issue... A Pentium quad core 64bit ( probably running at 2.4Ghz).. vs a LPC or pic single core less than 200Mhz..
Wouldn't bother!!!... I think you should be looking at a tiny PC 3,5" form factor... Or running it on a PI