DCC++ Not writing to EEPROM

Alberto Apr 14, 2017

  1. Alberto

    Alberto New Member

    5
    6
    1
    Hi everybody.
    This is what I'm experiencing.
    I have a list of 32 turnouts and once I set them for the correct tracks, I want to save this configuration in the board EEPROM. So I issue the <E> commands and everything looks good. I receive as a feedback <e 32 0 0>. I can either list and read all the turnouts using the <T> command.
    So I cycle the power from the layout and then I issue a <T> command again. I receive back <X>!
    Well after a few more try I uploaded to my MEGA the EEPROM READ example and when I scan the EEPROM location I can see that where the number of turnouts should be present there is a 0...
    After that header I can read all my turnouts defined as I did when I issued the <E> commands.
    So the problem is that the number of turnouts written in memory is always ZERO (0)!
    I then uploaded to the MEGA the EEPROM WRITE example and I wrote at the correct location the number of my turnouts.
    When I reload the DCC++ BaseStation code everything is working as expected even if I cycle the power.
    But if I issue another <E> commands the problem is stiil there, again!
    Any suggestion?
    Thanks
    Alberto
     
    Scott Eric Catalano likes this.

Share This Page