Teensy 4.0 first upload problem

Hello, I got new 2pcs teensy 4.0 and tried to upload my program on it but got following msg :
internal error in mingw32_gt_pch_use_address, at config/i386/host-mingw32.c:192: MapViewOfFileEx: Attempt to access invalid address.

exit status 1

Compilation error: exit status 1

Please help, I dont know how to help myself, i 2 teensys 4.0 before and made software, now i got 2 more tryied to upload my program and this error shows up on both.
 
This is a random error that happens with Arduino, restarting the PC is the easiest way to fix it or manually cleaning out the temporary files.
 
You could try cleaning out your temp folder.
I periodically have to do this.
I use the following batch file which I place on my desktop, then I can just click it.
I put the pause at the end so that I have the opportunity to examine what was deleted if I wish.
Code:
del /F /S /Q C:\Users\%username%\AppData\Local\Temp\*.*
pause
 
Did clean out temp folder just now, again tried and same error. There must be something else wrong, few days ago worked all and i took few days off and today took out new Teensy 4.0 and came of with error
 
Screenshot (10).png


Now on Arduino IDE 2.3.6 came up warning or help notification and i click on it and it took me to this screenshot.
 
So Arduino button took you to Visual studio Code? To me that looks like a virus on your Linux? system.
 
Arduino button didnt took me... Message was displayed at the bottom right corner of Arduino IDE same as in Arduino IDE no internet connection or update available and similar, so I clicked on it and it took me to Visual studio code website,...

So to update all forum member, yes I solved the problem, problem is in deleting temporary files, but not everywhere, I think only arduino sketches data matters , this is folder C:\Users\<username>\AppData\Local\arduino\sketches. If you cant see it on top of explorer you have show hidden files, and you will see everything, i just deleted it and teensy upload works again.

thread posted on this forum helped me here is link : https://forum.pjrc.com/index.php?threads/compilation-fails.75089/


Big Thanks to all supporters today JMARSH and BRICOMP
 
Back
Top