While the Mega may be the issue, it's rare, and is more likely some corruption
if it is a Mega issue. If you feel it is in the Mega, I would:
- Run the EEPROM_Clear.ino sketch (in the IDE examples or below) on the Mega.
- Load your firmware with SpeedyLoader, IDE, or PIO.
- Start a new project in TS.
- Load a Base Tune. (Always start with a Base Tune to avoid corruption)
- Alter the Base Tune to your engine's requirements. (Review all settings, OFF, or ON with appropriate settings for your project)
- If you have previous tables tuned, export them from the old tune and import them into the new tune in TS.
- Test for function.
If no joy, then try a fresh Mega, repeating the above, including the clearing. Also check for bent pins or pin offset to the Mega. Good luck!
EEPROM_Clear should be in your Arduino IDE example folder, SpeedyLoader menu, or below if you use something else. EEPROM_Clear.ino is simple and quick. If you see the on-board LED lighted, it's done. Remove ".txt" from the filename to run:
EEPROM_Clear.ino.txt