public void MainProcess() { BpXsvfParameterData bpParamData = new BpXsvfParameterData(); bpParamData.ChainScan = false; bpParamData.ComBaudRate = 115200; bpParamData.ComName = "COM4"; bpParamData.ResetJtag = true; //bpParamData.XsvfFilePath = @"C:\Temp\bpxsvf\a.xsvf"; bpParamData.XsvfFilePath = @"C:\Temp\iselight\lightled\default.xsvf"; //bpParamData.XsvfFilePath = @"C:\Temp\asd\asdd\a.xsvf"; //SerialPort ser = new SerialPort(); AbstractBpXsvf iXsvf = new BpXsvfFork(); //iXsvf.SetBpXsvfParameterData(bpParamData); //iXsvf.SetSerialPort(ser); iXsvf.SetOutDisplay(this); iXsvf.Greet(); iXsvf.DoProcess(bpParamData); Console.ReadKey(); }
public void MainProcess() { BpXsvfParameterData bpParamData = new BpXsvfParameterData(); bpParamData.ChainScan = true; bpParamData.ComBaudRate = 115200; bpParamData.ComName = "COM1"; bpParamData.ResetJtag = true; bpParamData.XsvfFilePath = "c:\\out.txt"; //SerialPort ser = new SerialPort(); AbstractBpXsvf iXsvf = new BpXsvfFork(); //iXsvf.SetBpXsvfParameterData(bpParamData); //iXsvf.SetSerialPort(ser); iXsvf.SetOutDisplay(this); iXsvf.Greet(); iXsvf.DoProcess(bpParamData); Console.ReadKey(); }