Can anyone help please. I am trying to replicate resetting to the bootloader using serial on a Rev3 board. Dfu works fine if I manually reset, maple uploads fine but I can't get a C# program to replicate the serial reset.
I have an open serial port at 115200 baud, but when I attempt to reset the serial port "locks up" after writing 1EAF and does not work until the board has been reset.
Interestingly the port still shows as being available after the reset fails but is unusable. I have tried various combinations, the default delay in the maple code is 50ms but have tried various shorted or longer delays.
` serialPort.BaudRate = 115200;
// try to toggle DTR/RTS (old scheme)
serialPort.RtsEnable = false;
serialPort.DtrEnable = false;
serialPort.DtrEnable = true;
Thread.Sleep(idelay);
serialPort.DtrEnable = false;
// try magic number
serialPort.RtsEnable = true;
serialPort.DtrEnable = true;
Thread.Sleep(idelay);
serialPort.DtrEnable = false;
Thread.Sleep(idelay);
serialPort.Write("1EAF");
//Thread.Sleep(idelay);
Thanks
Tim
`