Re: Modbus TCP Slave
Posted: Mon Apr 22, 2024 11:51 am
Hello,
In your project options please can you turn off the Auto clear watchdog setting. The watchdog isn't running so these are a load of instructions that aren't required.
Also I would highly recommend disabling the Low Voltage Programming setting unless you are specifically using it. This can cause a stack of issues. e.g. freezing, self erase etc.
If these don't help then you could also try running the chip at a lower frequency and see if that resolves the problem. As a test maybe try 16MHz - OSCFRQ = 0x05; Remember to also update the frequency in the project options.
In your project options please can you turn off the Auto clear watchdog setting. The watchdog isn't running so these are a load of instructions that aren't required.
Also I would highly recommend disabling the Low Voltage Programming setting unless you are specifically using it. This can cause a stack of issues. e.g. freezing, self erase etc.
If these don't help then you could also try running the chip at a lower frequency and see if that resolves the problem. As a test maybe try 16MHz - OSCFRQ = 0x05; Remember to also update the frequency in the project options.