EEVblog® Electronics Community Forum

Electronics => Microcontrollers => Topic started by: yalect on July 03, 2024, 11:52:16 pm

Title: Microcontroller simulation ERROR
Post by: yalect on July 03, 2024, 11:52:16 pm
Hi;
I would like to ask you that I got simulator ERROR for PIC 16F84 Microcontroller when I want to simulate a circuit with Multisim10 it show me that it's unable to find object file c:\...................... or maybe my project directory and the simulator or compiler unable to compile my C code and it doesn't make any different or change even when I do make mistake to see a process?.

 Thank you.
Title: Re: Microcontroller simulation ERROR
Post by: yalect on July 05, 2024, 12:34:18 am
Sorry,
I made repair for C compiler which is combined with Multisim and it seems work but I found this result after
  Note: Due to path length limitations in the Hi-Tech Linker utilities, the path C:\Users\.................................................etc,
has been mapped to the drive Z: temporarily for this operation


Error: Failed to generate Z:\project1.hex
 I have not Z:\ Drive?!
 
 hoping to reply.

 Thank you.
Title: Re: Microcontroller simulation ERROR
Post by: xvr on July 05, 2024, 06:03:31 pm
Quote
I have not Z:\ Drive?!
Multisim made it for you:

Quote
Note: Due to path length limitations in the Hi-Tech Linker utilities, the path C:\Users\.................................................etc,
has been mapped to the drive Z: temporarily for this operation

but unsuccessfully  :-//

Try to move your project to directory closer to the root of disk
Title: Re: Microcontroller simulation ERROR
Post by: yalect on July 05, 2024, 06:17:57 pm
Sorry, where can I find Z:\ Drive and in PC and How can I change it, or maybe moving it closer to the root of disk.

Thank you.
Title: Re: Microcontroller simulation ERROR
Post by: xvr on July 05, 2024, 06:26:47 pm
Quote
Sorry, where can I find Z:\ Drive
Not Z drive. Use any real one on your PC. I think it will be C: Just move your project in root of your Documents directory
Or right in root of C:\
Title: Re: Microcontroller simulation ERROR
Post by: ozcar on July 05, 2024, 07:09:54 pm
Running as a non-admin user? Perhaps some permission problem.

But then, does that message really mean that it was unable to map the folder to Z:, or could it perhaps be caused by some other error that prevents it from creating project1.hex? After all, it says "... has been mapped to the drive Z:"

Disclaimer: I've never used Multisim or anything from Hi Tech.