## SDK 6 installation

Scope and XITE Development

Original topic on PlanetZ: https://forums.scopeusers.com/viewtopic.php?t=32171

#### SDK 6 installation

Posted: Fri Aug 09, 2013 5:20 pm
by nitri
Greetings, I am installing SDK 6 and it leaves a message to me
ROCAtom:: error
cannot load sim.dll
after ok it leaves another message
ROCAtom:: error
c: /program you case out/scope6 sdk xite (x64) /app/bin/sim2k
and finally
Cannot start SCOPE
Could not gain Access to the SCOPE hardware!
can somebody help me?
Thank you very much!!!

#### Re: SDK 6 installation

Posted: Fri Aug 09, 2013 8:54 pm
by garyb
you can only have 14/15dsp cards or an XITE. SDK doesn't work with smaller cards in the computer.

#### Re: SDK 6 installation

Posted: Sat Aug 10, 2013 12:54 am
by nitri
xite 1 it´s my gear...

#### Re: SDK 6 installation

Posted: Sat Aug 10, 2013 2:04 am
by garyb
is this when you try to import the key?

#### Re: SDK 6 installation

Posted: Sat Aug 10, 2013 2:22 am
by nitri
No this is when I attempt to open the SDK 6 application.

#### Re: SDK 6 installation

Posted: Tue Aug 13, 2013 8:45 am
by Warp69
I'm also experiencing the exact same issue. I'm using Win 7 64bit.
I haven't had time for trouble shooting yet.

#### Re: SDK 6 installation

Posted: Tue Aug 13, 2013 9:16 am
by nitri
I have sent a mail to the support of sonic Core and I hope of answer.

#### Re: SDK 6 installation

Posted: Tue Aug 13, 2013 10:10 am
by Warp69
I did mail them and got the following response :

> are you running the SDK "as administrator"? (right click on the SDK icon, choose "run as administrator", answer "yes" to the warning message asking if it's ok to allow SDK to make changes to the system)
> Scope is closed while running SDK, yes?

But i didn't had time for any further investigation, so if you find a solution it would be highly appreciated.
Quick note for those who have SDK 6 running - do any of you use Win 7 64bit?

#### Re: SDK 6 installation

Posted: Tue Aug 13, 2013 12:30 pm
by Roland Kuit
I don't run it on W7, 64 bits, my new laptop doesn't have a card slot. So I'm running it on 2 Vista laptops 32 bits.
I had some problems. SDK6 quitted by deleting modules. After Gay's advice to install and run it as an Administrator those problems were solved.

#### Re: SDK 6 installation

Posted: Tue Aug 13, 2013 2:48 pm
by garyb
the current 64bit download may have a problem.
i'm on it...

#### Re: SDK 6 installation

Posted: Tue Nov 12, 2013 1:17 pm
by w_ellis
I had the same problem on initial installation of SDK6. I assumed from this discussion that there was no solution, so chatted to Holger about it. Anyway, a couple of days later I accidentally launched the SDK6 and it worked fine. No idea what changed in the meantime, could have just needed a reboot, or maybe running it as Administrator fixed something that then needed a reboot. Either way, it loads up fine now.
For reference, I'm on Windows 7 64bit. Also, I chatted to Holger about the remove module bug, which he is aware of and hopes will be fixed soon.

#### Re: SDK 6 installation

Posted: Wed Nov 13, 2013 12:03 am
by tgstgs
Win7 x64 worx here
good vibes

#### Re: SDK 6 installation

Posted: Wed Nov 13, 2013 1:25 am
by djmicron

> tgstgs wrote:Win7 x64 worx here
> good vibes

can you explain a little better?
It is not possible to use it for all the other users.....

#### Re: SDK 6 installation

Posted: Wed Nov 13, 2013 1:32 am
by w_ellis
Not all, it works fine now for me, although I experienced the same issue when I first tried to use it.
Only things that happened between it not working and it working were the following (not necessarily in that order!):
- I ran it in Administrator mode (although it didn't work in that mode originally)
- I ran Scope 5.1
- I rebooted the machine (possibly a few times)
I have Xite-1 and Win7 64bit

#### Re: SDK 6 installation

Posted: Wed Nov 13, 2013 1:16 pm
by djmicron

> w_ellis wrote:Not all, it works fine now for me, although I experienced the same issue when I first tried to use it.
> Only things that happened between it not working and it working were the following (not necessarily in that order!):
> - I ran it in Administrator mode (although it didn't work in that mode originally)
> - I ran Scope 5.1
> - I rebooted the machine (possibly a few times)
> I have Xite-1 and Win7 64bit

what i get on win 64 bit when starting sdk 6 in administrator mode

> ROCAtom::error
> cannot load sim.dll
> then after accepting the error:
> ROCAtom::error
> c:/program files (x86)/scope6 sdk xite(x64)/app/bin/sim2k
> then
> Cannot start SCOPE
> Could not gain access to the SCOPE hardware

I'll try to run scope 5.1 even if i don't see the relationship between this and sdk 6 problem....

#### Re: SDK 6 installation

Posted: Thu Nov 14, 2013 1:29 am
by w_ellis
Actually I could be lying. I do remember fannying around with .dll files that looked a bit like sim.dll and renaming them to see if that was the issue. However, at the time it didn't fix it. Maybe it required fannying followed by a reboot.

#### Re: SDK 6 installation

Posted: Thu Nov 14, 2013 1:58 am
by tgstgs
no reboot or whatsever_
sim2k.dll is in app/bin folder as well as in app/converter5_1
what does a search in explorer vibes tell you?

#### Re: SDK 6 installation

Posted: Thu Nov 14, 2013 2:22 am
by w_ellis
Hi Thomas,
Are you using SDK6 with Xite-1?
Thanks,
Will

#### Re: SDK 6 installation

Posted: Thu Nov 14, 2013 2:53 am
by tgstgs
yes vibes

Attachments
    sim2k.png (29.95 KiB) Viewed 5426 times

#### Re: SDK 6 installation

Posted: Thu Nov 14, 2013 3:20 am
by w_ellis
But note that the error displayed is "cannot load sim.dll", not sim2k.dll

#### Re: SDK 6 installation

Posted: Thu Nov 14, 2013 5:52 am
by tgstgs
well whatever;
this is the 1 u need_

#### Re: SDK 6 installation

Posted: Thu Nov 14, 2013 6:18 am
by w_ellis
Yeah, I'll have to check when I'm at home, as it's probably the copying of that file as sim.dll that fixed the problem then (possibly the same with the missing directory).

#### Re: SDK 6 installation

Posted: Thu Nov 14, 2013 6:24 am
by tgstgs
no they are NOT the same even with the same name in scope xite 5_1 and sdk6
i think sim.dll is a catch (exception e) relict from win98
good vibes

#### Re: SDK 6 installation

Posted: Thu Nov 14, 2013 1:19 pm
by w_ellis
Hmm, I checked and I certainly don't have a sim.dll now anyway. Here's what I get when searching for sim2k, which looks similar, although not identical, to what you have.

  Sim2K.png (84.4 KiB) Viewed 4722 times

Either way, it's working ok for me now but wasn't at some point and isn't working for others. Mysterious!

#### Re: SDK 6 installation

Posted: Fri Nov 15, 2013 5:34 am
by tgstgs
could be i have relicts from beta testing_
good vibes

#### Re: SDK 6 installation

Posted: Sun Dec 08, 2013 12:23 pm
by Brazda lui Novac
Hi all,
I have the same problem with SDK6, I get this error message "cannot load sim.dll" followed by other error messages. I run win7 64bit with a Luna 2 card and a 15DSP expansion first gen, with Scope 5.1. Already emailed the problem to Sonic Core and the workaround suggested was indeed running as admin the installer and the program, after uninstalling everything else, but it didn't work for me.
Also, I am planning to learn the SDK, and I understand the SDK6 is really different from SDK5. Do you suggest starting to learn SDK5 to do devices and then move to SDK6, or wait until the problem is solved and start clean with SDK6? The learning curve is not that easy...
Thank you!
Victor

#### Re: SDK 6 installation

Posted: Sun Dec 08, 2013 5:15 pm
by sharc

> Brazda lui Novac wrote:Do you suggest starting to learn SDK5 to do devices and then move to SDK6, or wait until the problem is solved and start clean with SDK6?

If you have SDK5 and it's working on your system then yes, I would recommend learning to use it.
At the very least it will help you to learn about the DSP modules and the circuits you can build with them.
This knowledge can be carried across to SDK6 when you start to use it. You might even find yourself continuing to use SDK5 alongside SDK6.

#### Re: SDK 6 installation

Posted: Sun Dec 08, 2013 9:40 pm
by Brazda lui Novac

> If you have SDK5 and it's working on your system then yes, I would recommend learning to use it.
> At the very least it will help you to learn about the DSP modules and the circuits you can build with them.
> This knowledge can be carried across to SDK6 when you start to use it. You might even find yourself continuing to use SDK5 alongside SDK6.

Thank you Shark! So the SDK6 is not that far from SDK5 after all, right? Yes, I have the SDK5 and it's working fine. Good to hear I can use both at the same time. I can load projects from SDK5 in 6?

#### Re: SDK 6 installation

Posted: Mon Dec 09, 2013 8:16 am
by sharc

> Brazda lui Novac wrote:So the SDK6 is not that far from SDK5 after all, right? Yes, I have the SDK5 and it's working fine. Good to hear I can use both at the same time. I can load projects from SDK5 in 6?

There are huge differences between the two but certainly with the 32bit PCI versions the drivers are compatible and modules can be loaded / converted in both directions. GUI elements (GOs) aren't compatible though.

#### Re: SDK 6 installation

Posted: Mon Dec 09, 2013 8:33 am
by Brazda lui Novac

> sharc wrote:

> > Brazda lui Novac wrote:So the SDK6 is not that far from SDK5 after all, right? Yes, I have the SDK5 and it's working fine. Good to hear I can use both at the same time. I can load projects from SDK5 in 6?

> There are huge differences between the two but certainly with the 32bit PCI versions the drivers are compatible and modules can be loaded / converted in both directions. GUI elements (GOs) aren't compatible though.

Great, thanks! So I can load in SDK6 a project created in SDK5? Or I have to do it again from scratch, knowing that all the modules are there? Except the GUI elements, of course.

#### Re: SDK 6 installation

Posted: Mon Dec 09, 2013 9:05 am
by sharc

> Brazda lui Novac wrote:Great, thanks! So I can load in SDK6 a project created in SDK5? Or I have to do it again from scratch, knowing that all the modules are there? Except the GUI elements, of course.

If you fold your circuit and save it as a module [in SDK5] then copy the module to the SDK6 devices folder it can be loaded from the SDK6 right-click context menu.
A circuit created in SDK6 can be converted to an SDK5 compatible module using the Converter Tool.

#### Re: SDK 6 installation

Posted: Mon Dec 30, 2013 7:28 am
by w_ellis
I have a new lead in the sim.dll mystery. I accidently tried to launch the SDK6 while Scope 5.1 was running in the background and the sim.dll error popped up (I'm now running 32bit, so hadn't seen it on the new install before). Closed 5.1 down and reopening SDK6 back up again and all is well again.
Hope this helps other people get up and running.

#### Re: SDK 6 installation

Posted: Mon Dec 30, 2013 10:29 am
by garyb
yes, you can't run both afaik...

#### Re: SDK 6 installation

Posted: Mon Dec 30, 2013 2:27 pm
by sharc

> garyb wrote:yes, you can't run both afaik...

Correct. It's always been the case that you can't load both applications at the same time. Earlier versions of the SDK give a warning when you try to run them at the same time as their equivalent Scope version. Something like - 'Cannot Start ScopeSDK - Please close all Creamware applications before starting ScopeSDK'.
When you try to load SDK6 while Scope5 is running it will give you....
'Cannot start software because board(s) or driver not properly installed. Please check installation.'
followed by...
'ROCAtom::error Cannot load sim.dll'
then...
'ROCAtom::error ...Scope6 sdk pci/app/bin/sim2k'
then...
'Cannot Start SCOPE Could not gain access to the SCOPE hardware!'
before finally giving you a crash report prompt.
...One of the things needing tidied up

#### Re: SDK 6 installation

Posted: Tue Dec 31, 2013 12:50 am
by w_ellis
Sorry, should have written more in the previous post. When I was having problems on 64 bit, I wasn't running Scope in the background, so I'm pretty sure it wasn't the same issue. However, I do think that seeing the same error message could point to there being a related issue, e.g. the relevant module being locked by another process somehow, or the SDK having a strict rule about exclusive access to it.
I'm not having the problem on the 64 bit install anymore, so it's not something that would be easy for me to investigate more, but maybe if others are, they might want to try out some things like turning off DEP for the SDK application, or checking virus scanner settings.