Hi all,
Can I check that I understand the rules on memory usage for an 18M2? The compiler reports that the programme uses 2025 bytes, and this contains instructions to write to EEPROM addresses 0x00 to 0x0B inclusive (as well as READ and WRITE instructions for the same addresses). According to the user manual for the EEPROM command, I should still have 2048 - 2025 = 23 bytes of data memory available, of which I'm using the bottom 12 bytes. This shouldn't be a conflict: am I correct?
The reason I'm asking is that the programme isn't behaving as expected and debugging is proving difficult due to its size (I cannot add too many SERTXD commands) and I want to eliminate this as a potential problem.
Can I check that I understand the rules on memory usage for an 18M2? The compiler reports that the programme uses 2025 bytes, and this contains instructions to write to EEPROM addresses 0x00 to 0x0B inclusive (as well as READ and WRITE instructions for the same addresses). According to the user manual for the EEPROM command, I should still have 2048 - 2025 = 23 bytes of data memory available, of which I'm using the bottom 12 bytes. This shouldn't be a conflict: am I correct?
The reason I'm asking is that the programme isn't behaving as expected and debugging is proving difficult due to its size (I cannot add too many SERTXD commands) and I want to eliminate this as a potential problem.