Atmega2560 flash memory program 29K

An area to discuss AVR and Arduino specific problems and examples

Moderator: Benj

Post Reply
tello
Posts: 94
Joined: Wed Jan 16, 2013 11:37 am
Has thanked: 56 times
Been thanked: 16 times
Contact:

Atmega2560 flash memory program 29K

Post by tello »

Hi guys.
I use Flowcode 7 and in the current project I have switched from an Arduino nano to an Arduino Mega because of memory capacity.
When I compile the program the HEX file always has 29K which is very strange because it doesn't seem to support any more function blocks and the program crashes.
If I add more function blocks the HEX program does not increase more than 29K

I have disabled half the program in flowcode and when compiling the HEX file it takes up 29K again

has anyone ever had the same problem? I think it's a Flowcode compiler problem but I don't know how to solve it.

Many thanks

User avatar
Steve
Matrix Staff
Posts: 3422
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: Atmega2560 flash memory program 29K

Post by Steve »

What happens if you create a new project using that chip and compile that. Do you still get 29K in size? If not, then there is some code within your original project that is causing this issue and you might have to selectively delete more of your code (and components) until you discover what is causing the issue.

tello
Posts: 94
Joined: Wed Jan 16, 2013 11:37 am
Has thanked: 56 times
Been thanked: 16 times
Contact:

Re: Atmega2560 flash memory program 29K

Post by tello »

Hello again guys.
I have already found the solution.
I have done several tests removing some parts of the program but I could not solve it.
Finally I have done the whole program again, I think that some part had been corrupted.

Thank you so much.

User avatar
Steve
Matrix Staff
Posts: 3422
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: Atmega2560 flash memory program 29K

Post by Steve »

Great news. Thanks for letting us know.

Post Reply