I'm trying to create multichip flashing tool. The idea was that every chip has own thread, witch handle whole flashing procedure: attach TST jumper, power board on, wait 10 seconds, power board off, remove TST jumper, power board on, connect USB plug, scan devices, etc... All this operations are done by special plug.
Here is my problem: when I'm using AT91Boot_DLL object from main thread everything is fine, but if any method from AT91Boot_DLL is called from other thread, I get COMExeption: Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT)).
Does anyone faced this kind of problem? Is AT91Boot_DLL multithread ready, or is there non COM version of this library?
/I'm using VS2005 C#. I also tryed to write wrapping dll, but with no effect.
Microchip in-system programming solution: SAM-BA
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests