Thank you, with the right assembly its working fine.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu try
{
//Set up Connection Parameters
COMOptions comOptions = new COMOptions();
comOptions.selecteddevice = Devices.LPC2294; //Processor Type
comOptions.port = "COM32"; //COM Port
comOptions.baudrate = 115200; //Baudrate
comOptions.highspeed = 0; //Use MaxBaudrate
comOptions.maxbaudrate = 115200; //Max Baudrate
comOptions.interfacetype = Interfaces.NONE; //None required
comOptions.osc = 14.7456; //Processor Oscillator
comOptions.bootloaderpath = @"H:\idden\due\to\company\rules.hex"; //Hard coded, get from Settings later
comOptions.halfduplex = 0; //We do not use half duplex
comOptions.hwt1 = 50; //DTR RTS Assert time
comOptions.hwt2 = 100; //DTR RTS Deassert time
comOptions.protocoloptions = ProtocolOptions.AUTOLF; //Let Flash Magic Handle LF
comOptions.hwconfig = HardwareConfigurations.BOOTEXEC; //HW Boot and DTR/RTS handle RST/ISP
comOptions.clocks = 0; //Ignored when highspeed = 0 (manual recommends setting to 0 when using ARM)
comOptions.postopendelay = 0; //0 because we have no problem with missing data
comOptions.interfaceserialnumber = String.Empty; //Not used, set to empty
comOptions.flashbank = 0; //Not used, default is 0
comOptions.usinginterface = 0; //0 no HW Interface used
FlashMagicARMCortex cortex = new FlashMagicARMCortex();
cortex.Connect(comOptions); //Throws Exception
}
catch (FMException ex)
{
Console.WriteLine(ex.Message);
}
Exception thrown: 'ESA.FlashMagic.Common.FMException' in FlashMagicARMCortexNET.dll
Invalid value or command sent. Please try the operation again. (device not found)