Add in Project Settings-Device checkbox - Use full size flash memory!!!
Has bothered each time to adjust MCU description files.
Add in Project Settings-Device - Use full size flash memory!
- tihomir.losic
- mikroElektronika team
- Posts: 2138
- Joined: 02 Dec 2009 14:16
- Location: Serbia
- Contact:
Example: ATMega88 Flash Memory Size=$1FFF (8192 bytes).
MikroPascal-Statistics->ROM Memory Usage->Total = $0BFF (6142 bytes).
Too most for all MCU with bootloader section. But if I do not use bootloader!!! All size is necessary to me (8192 bytes). :D
Read datasheet and I see that bootloader section it is not disabled, but it is possible to select the section size (the most minimum makes 128 words that is better than 1024 words). Accordingly other part Flash Memory is taken away under a code.
Add possibility to select the bootloader size.
MikroPascal-Statistics->ROM Memory Usage->Total = $0BFF (6142 bytes).
Too most for all MCU with bootloader section. But if I do not use bootloader!!! All size is necessary to me (8192 bytes). :D
Read datasheet and I see that bootloader section it is not disabled, but it is possible to select the section size (the most minimum makes 128 words that is better than 1024 words). Accordingly other part Flash Memory is taken away under a code.
Add possibility to select the bootloader size.
Hi,
which is 6142 exactly (actual number multiplied by 2). The reason for this is that, at this moment in our definition files, boot loader section is excluded from whole ROM size. We are aware of this, and solution for this is planned to be implemented in future releases.
However this can be fixed if you manually change the value of MAX_ADDR, according to data sheet of course.
Best Regards
If you press Ctrl+Alt+M (while ATMEGA88 selected in our compiler), you will be presented with mlk file for ATMEGA88. There we can seeExample: ATMega88 Flash Memory Size=$1FFF (8192 bytes).
MikroPascal-Statistics->ROM Memory Usage->Total = $0BFF (6142 bytes).
Code: Select all
<ROM>
<MIN_ADDR>0x0000</MIN_ADDR>
<MAX_ADDR>0x0BFF</MAX_ADDR>
</ROM>
However this can be fixed if you manually change the value of MAX_ADDR, according to data sheet of course.
Best Regards
LibStock
http://www.libstock.com/
mikroSDK
https://www.mikroe.com/mikrosdk
mikroBUS
https://www.mikroe.com/mikrobus
http://www.libstock.com/
mikroSDK
https://www.mikroe.com/mikrosdk
mikroBUS
https://www.mikroe.com/mikrobus