Could not open ELF file ...

Discussion on both general simulation and Proteus VSM microcontroller simulation.
Post Reply
Breixo
Unlicenced User
Posts: 1
Joined: Mon 2021-04-12 19:06

Could not open ELF file ...

Post by Breixo »

Hi to all,
I just downloaded Proteus Demo and tried to simulate 'Arduino using Weather Station Shield' and got two weird failures.

1. When trying to "Build Project", I received the VSM Studio Output "Detecting compiler Arduino AVR
Compiler not detected.
Firmware is already compiled."
I check if the compiler exists and, indeed:
Detecting compiler Arduino AVR (Proteus)
Compiler detection summary found:
Arduino AVR (Proteus): C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Demonstration\Tools\Arduino"
I try again, and the previous messages keep appearing.
I decide to Delete Project and Create Project and after several tries, finally, the project is compiled.
Compiled successfully.
2. So, I try to simulate the project and:
Fatal simulation error(s) encountered

Could not open ELF file 'C:\Users\XLDOCE\AppData\Local\Temp\VSM Studio\2b02075ffc764516ad8ac6ecefc4e97e\ATmega328P(U1)\Debug\Debug.elf'. [u1]
Failed to load ELF file 'C:\Users\XLDOCE\AppData\Local\Temp\VSM Studio\2b02075ffc764516ad8ac6ecefc4e97e\ATmega328P(U1)\Debug\Debug.elf' [U1]
but on U1 Properties, everything seems right:
{PROGRAM=C:\Users\XLDOCE\AppData\Local\Temp\VSM Studio\2b02075ffc764516ad8ac6ecefc4e97e\ATmega328P(U1)\Debug\Debug.elf}
I've tried other simpler samples and the same thing always happens.

Please, what am I doing wrong?
Post Reply