Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

Tiny84 with insufficient memory

2 posters

Go down  Message [Page 1 of 1]

1Tiny84 with insufficient memory Empty Tiny84 with insufficient memory Mon Nov 09, 2020 7:45 pm

LooseTheGoose



Hello,

while programming an ATTiny84 I came across a memory problem.
The ATTiny84 is rated with 512 kByte SRAM.
But as soon as the program uses more than 256 kByte SRAM memory I get the error message "Wrong Firmware" from SimulIDE.
The code cannot be uploaded to the microcontroller.
I measured the actual memory consumption with the GCBasic compiler.
Probably the ATTiny84 has only a wrong memory size in the specifications. There should be enough free space left in my case.

Philip

2Tiny84 with insufficient memory Empty Re: Tiny84 with insufficient memory Tue Nov 10, 2020 1:24 am

arcachofo

arcachofo

Hi.

Error message "Wrong Firmware" shows when firmware can not fit in flash memory.
Can you check that your program uses less than 4096 words?

3Tiny84 with insufficient memory Empty Re: Tiny84 with insufficient memory Tue Nov 10, 2020 7:00 am

LooseTheGoose



Hello.
You are right - shame on me  Shocked
I overlooked the code size. In my case, it actually exceeds the size of 4096 words. The RAM usage was only by random at half of the available space.
Thanks for your patience and quick feedback.

Philip

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum