Hello everyone, I'm new here on the list and went in search of knowledge, learn from the questions and answers posted here.
Reading the AVR datasheets, User Manuals GCC and AVR-LibC sources of the, still could not find the need to understand 100% without a doubt, the operation of the AVR family PC that uses more than 128KiB memory, all speak of some problem, but has not picked up where the problem is, I understand the participation of the register RAMPZ in addressing process of program memory above 128K, but I can not see what the difficulty is in relation to the GCC compiler.
I'm keeping the FreeRTOS port for the Arduino environment, kept its original name and made a Fork since the original version is no longer being maintained.
I studied and unite some suggestions posted by NET to allow FreeRTOS runs well (through DuinOS) in ATmega2560, but this specter is haunting my work and do not feel safe with the generated code.
I inserted the necessary parameters in functions related to the TASK which are placed below 128K, but I've been told that I will have problems with other functions placed above this limit.
Well, still could not reproduce the problem in my environment, indications of articles, experiments and suggestions already help a lot.