CodeVision project simulation under Virtul Machine.

Discussion on both general simulation and Proteus VSM microcontroller simulation.
Post Reply
dibor
Professional User
Posts: 138
Joined: Sat 2013-11-09 13:32

CodeVision project simulation under Virtul Machine.

Post by dibor »

Hello to group.
May be anybody did simulation of Codevision project under virtual machine?
Project file location on host machine.
I can to run simulation(run coff file), but I cannot to debug step by step, because that debugger do not see source file.
Simulation log shows error that can not to open source file.
Under Windows simulation works as should but under virtual machine not.

Best Wishes.
dibor
Professional User
Posts: 138
Joined: Sat 2013-11-09 13:32

Re: CodeVision project simulation under Virtul Machine.

Post by dibor »

Hi Labcenter support.
Have copy my project to virtual machine, rebuild it and run simulation - all runs and debug as should.
So that means I can not to debug projects located on the host.
This is not so good for me, because I do not have windows machine any more and run Windows on the virtual machine.
I do not want and can not to place all my projects on virtual machine.
This is problem of Proteus or Codevision ?
I'd like to run projects from share location.

Best Wishes.
David
Site Admin
Posts: 2267
Joined: Mon 2006-02-20 14:56
Location: Head Office
Contact:

Re: CodeVision project simulation under Virtul Machine.

Post by David »

Hi,

I would recommend that you use a USB stick, Network Drive or an external Hard drive which can be seen by the Windows OPerating System. The File is stored locally in a temp folder or set in a directory. If the host machine is not Windows, then it won't work as we don't support Mac or Linux.

Regards,
Dave.
dibor
Professional User
Posts: 138
Joined: Sat 2013-11-09 13:32

Re: CodeVision project simulation under Virtul Machine.

Post by dibor »

Hi David.
I know that you are do not support Mac or Linux but under windows on the vitrual machine project folder seems as folder on network drive.
Proteus can see and load project but while simulation can not to load only source file!

Regards.
Andrew
Labcenter Staff
Posts: 453
Joined: Fri 2006-03-24 15:34
Contact:

Re: CodeVision project simulation under Virtul Machine.

Post by Andrew »

Hi,

It looks like it cannot resolve Linux-style paths in Windows. We'll need a test project to see how it can be fixed.

Cheers,
Andrew
dibor
Professional User
Posts: 138
Joined: Sat 2013-11-09 13:32

Re: CodeVision project simulation under Virtul Machine.

Post by dibor »

Hi.
Atmel studio project(with elf file) debugged correctly.
CodeVision project with coff file - not :(
Path style looks good, see attachment.
Codevision_coff_source.jpg
Codevision_coff_source.jpg (22.98 KiB) Viewed 1116 times
dibor
Professional User
Posts: 138
Joined: Sat 2013-11-09 13:32

Re: CodeVision project simulation under Virtul Machine.

Post by dibor »

Hello Labcenter staff.
Very hard to simulate project on Virtual machine.
If project files on my mac computer, thеn simulation runs very slow, simulation animating updates ones per second.
Look here
If I copy project files to VM and recompile them - simulation runs as should.
I do not want to copy every my project to VM.
Please do something.

Thank you.
dibor
Professional User
Posts: 138
Joined: Sat 2013-11-09 13:32

Re: CodeVision project simulation under Virtul Machine.

Post by dibor »

Hello to Labcenter staff.
Any respond to my question?
David
Site Admin
Posts: 2267
Joined: Mon 2006-02-20 14:56
Location: Head Office
Contact:

Re: CodeVision project simulation under Virtul Machine.

Post by David »

Hi Dibor,

Unfortunately we can't sensibly answer the question about Mac as Proteus is not (yet) officially supported on Mac and therefore is untested.
We do support running on Virtual Machines but this will most likely incur a performance hit over native Windows during simulation.

We will speak with dev team to see if they have any suggestions.

Regards,
Dave.
dibor
Professional User
Posts: 138
Joined: Sat 2013-11-09 13:32

Re: CodeVision project simulation under Virtul Machine.

Post by dibor »

Hello Dave.
Thank U for the answer.
Simulation is running GOOD with .hex or .elf files :)
But do not runs good with .cof file :(
Obj file generated by Bascom compiler also simulated with good speed.

Problem only with .cof file generated by CodeVisionAVR compiler.

If dev. team have any questions - please ask.

Thank you.
Post Reply