Hello everybody ...
I compiled a prog for Mega8515, the compiler answered :
Used ROM (bytes) : 2256 (37%) Free ROM (bytes) : 3888 (63%)
This is a total of 6144 bytes ; where are the remaining 2048 ? And if I use Mega162, there are still the same 2048 bytes missing. I tested several settings for the size of the bootloader in AVRFLASH, but this modified nothing, and I was all the way unable to set it to 0. The error does not occur if You compile for the 90S8515.
MikroBasic AVR has the same issues ...
ROM Size
Re: ROM Size
Hi,
Can you please attach your project here ?
Which version of the compiler are you using ?
Regards,
Filip.
Can you please attach your project here ?
Which version of the compiler are you using ?
Regards,
Filip.
-
- Posts: 39
- Joined: 12 Nov 2020 19:51
Re: ROM Size
Hello ... Simply modify Your "LedBlinking" project for Mega8515 and compile with 701 version ...
From France, SESSENHEIM
Re: ROM Size
Hi,
I get this :
Filip.
I get this :
Regards.0 1144 Used ROM (bytes): 130 (2%) Free ROM (bytes): 6014 (98%) Used ROM (bytes): 130 (2%) Free ROM (bytes): 6014 (98%)
Filip.
-
- Posts: 39
- Joined: 12 Nov 2020 19:51
Re: ROM Size
As far as I know, the MEGA8515 has 8192 bytes of ROM ... So, where are the missing 2048 ?
From France, SESSENHEIM
Re: ROM Size
Hi,
It depends on the Boot memory section size that is set in the Edit Project, please consult the datasheet :
https://ww1.microchip.com/downloads/en/ ... oc2512.pdf
Regards,
Filip.
It depends on the Boot memory section size that is set in the Edit Project, please consult the datasheet :
https://ww1.microchip.com/downloads/en/ ... oc2512.pdf
Regards,
Filip.
-
- Posts: 39
- Joined: 12 Nov 2020 19:51
Re: ROM Size
Thanks, I didn't know this feature ... You must admit that it is "well hidden" ...
From France, SESSENHEIM