MPLAB cannot find file error

Go To Last Post
9 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am running MPLAB X IDE and have been trying to use the XC8 compiler with a ATmega 324PB xplained pro board. it seemed to work just fine. I also tried it with the AVR compiler which worked fine too. 

Then suddenly it stopped working and now i get an error message. Please see the attached.

Since I am not expert I have no idea what I did to make this happen but it is driving me crazy.

It happens every time I run Clean and build main project.

 

Please advise.

 

Thanks

 

Attachment(s): 

DViking

Last Edited: Thu. May 14, 2020 - 12:29 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There may be a freak here that can help, but you also might want to simlly go to the microchip forums and ask there as well since they are answering questions like the one you have presented

Jim

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Soren1974 wrote:
Then suddenly it stopped working and now i get an error message

Two things to try:

  1. Create a whole new test "Hello World" project. Does that work?
  2. Delete your existing project (everything under LED.X and start over again.

 

Obviously do the non-destructive No.1 first.

 

Mod: This thread is a candidate for splitting at #17 into a new one.

 

Last Edited: Thu. May 14, 2020 - 10:00 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

N.Winterbottom wrote:

 

Mod: This thread is a candidate for splitting at #17 into a new one

done!

 

since the project is on a mapped drive possible problem could be network related?

 

jim

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


note that the MPLAB forums are here:

 

https://www.microchip.com/forums/f499.aspx

 

so that's likely a better place to post MPLAB-specific questions.

 

It makes life a lot easier if you put the image in your post, where we can see it - like this:

 

 

For instructions on how to do that, see Tip #1 in my signature, below.

 

Obvious first question: does that file actually exist in that location ?

 

Do you expect that file to be the result of your build? If so, did your build succeed? Obviously, you won't get the hex file if the build fails.

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I wrote a basic blink led. Same problem.

DViking

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi Jim,

The mapped drive is a just another internal SSD and it is working fine.

I also checked the file path and file existence and they are all correct.

DViking

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Soren1974 wrote:
It happens every time I run Clean and build main project.

So does it happen in the 'Clean' part, or the 'Build' part ?

 

Or both ?

 

earlier, I wrote:
note that the MPLAB forums are here:

 

https://www.microchip.com/forums/f499.aspx

 

so that's likely a better place to post MPLAB-specific questions.

 

and, I wrote:
Do you expect that file to be the result of your build? If so, did your build succeed? 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
Last Edited: Thu. May 14, 2020 - 03:14 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

So you did my No.1 and it didn't work?

 

I would try verifying MPLAB X registration of the AVR toolchain. Sorry - but I can't for the life of me remember where that is within the sea of menu options.