ADP intilalization error failed wiht error code 2 ------------- URGENT

ADP intilalization error failed wiht error code 2 ------------- URGENT

Imagen de Praveen
Hi, I am using Visual Studio 2008 and OS XP SP3... I am running my app with DBug ID, Please find the error which we are getting. ADP intilalization error failed wiht error code 2 Can anyone help me? Regards, Praveen
publicaciones de 7 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.
Imagen de dmitry-rizshkov

Did you forget to start ATDS ?

Imagen de Thilak

Hi Praveen

If you want to try your application with Debug ID, then you need to start the runATDS.bat file in the Intel Atom SDK directory ( if you have installed the application in default location, then you can find the file in the following location : C:\Program Files\Intel\Intel Atom Developer Program SDK\0.91\bin )

Start the runATDS.bat , it will open up a DOS window, dont close this window, if you close this window then the results are unpredictable. You can debug only one application at a time (at this moment). You need to stop the ATDS using stopATDS.bat, before you try to debug another application.

Hope this helps.

Thanks

Thilak

Imagen de SriniAtomDeveloper

Hi

All the Events and processing of programs takes place between the start of ATDS and end of ATDS so you should mandatorily start ATDS.

Regards,
Srinivasan

Imagen de BrianDevArch

Praveen,

Ensure ATDS is running prior to starting / debugging your application. The command line (if installed in default path) is: "C:\Program Files\Intel\Intel Atom Developer Program SDK\0.9\bin\RunATDS.bat"

Best of luck.

Imagen de SriniAtomDeveloper

Starting the ATDS ( runATDS ) and Stopping the ATDS( stopATDS ) is the recommended approach but manually starting them and stopping them is involved with issues and prone to errors.

Rather it would be good if the Application internally starts ATDS before the call to ADP_Initialize() then it would be good

So before the App calls ADP_Initialize() function the App should instead call CreateProcess() or CreateProcessEx() or ShellExecuteEx() functions

likewise after checking the return value of ADP_Close() then the stopATDS must be called

if(ret_code == ADP_SUCCESS)
{
// call stopATDS() HERE
}

Please do give me your views regarding this

Regards,
Srinivasan

Imagen de SriniAtomDeveloper

Hi

In the folder \Program Files\Intel\Intel Atom Developer Program SDK\0.91\bin I have noticed the below text files
AppAuthToken
AppExpiredToken
CompAuthToken
CompExpiredToken

Where in the code are these text files called because when I run the programs these values are output to the console

Should these files be compulsorily present in the bin folder all the time or they can be moved to any location

If moved to any other location of my choice would the application behave in a bad way

Inicie sesión para dejar un comentario.