AT91Boot_DLL.dll multithread problem

Microchip in-system programming solution: SAM-BA

Moderators: nferre, fab

kajni
Posts: 1
Joined: Tue Feb 13, 2007 1:04 pm

AT91Boot_DLL.dll multithread problem

Tue Feb 13, 2007 1:52 pm

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.
nigschs
Posts: 3
Joined: Mon Nov 05, 2007 12:22 pm

Fri Dec 14, 2007 9:10 pm

hello!
I read in the AT91 forum that you will use the AT91bootdll with visual studio! I tried to do the same, but i can´t use this dll as com object!
Perhaps you can help me! Can you show me a sample source code?

Best regards

Simon

Return to “SAM-BA”

Who is online

Users browsing this forum: No registered users and 2 guests