HI, I added a wrong link to be able to programme lgt8f and since then the IDE does not start up anymore. I re-installed several times, deleted remaining folders , used a 3d party deinstaller but still no result. Any suggestions?
Since many important details were omitted from your topic, I suppose it's time for 20 questions. I'll go first.
Added a link to what?
What's an lgt8f?
What's your operating system?
Exactly what "remaining folders" did you delete?
What does the IDE do instead of starting up, exactly?
What else have you left out that might be of help in diagnosing what might be going wrong?
I think I could answer to some questions because I have experienced the similar issue.
It seems that OP installed a board support package for lgt8 mcu boards
After installing it he selected a one of LGT8F boards and now the IDE no longer starts.
@achajus , Is my guess correct?
I experienced this when I installed support for custom boards in IDE.
The problem is that the IDE remembered the selection of the board, which for some reason cannot be used. When IDE restarts, it tries to load the selected board and crashes. The process repeats the next time it starts.
You need to go to the .arduino15 directory, find a preferences.txt file and edit the line, starting from the board= keyword.
Set it board=nano, then try to start IDE again.
yes that's it !!! thanks i'll try
where do i find that .arduino15 folder? Is that the registry?
What is your OS?
Windows 11
Try
C:\Users\ <USERNAME> \AppData\Local\Arduino15
Hi, I found the folders but nowhere a preferences.txt file. I deleted all folders under appdata and now it works!
How did you get the lgt8f working in the ide?
AS in; I deleted all arduino related folders and reinstalled ide
Allright! I am set, found the right link and now I can upload to my lgt8f board in IDE
Thanks for the help!
Great! ![]()
looks like i was right
Hi @achajus. I'm glad you were able to solve the problem, but thought I'd add some comments for the benefits of others who might have a similar problem and find this topic while searching for a solution:
Maybe you are using Arduino IDE 2.x (e.g., version 2.3.4) instead of Arduino IDE 1.x (as is implied by your choice of the Development Tools > IDE 1.x category for your forum topic)?
The preferences.txt file is specific to Arduino IDE 1.x. Arduino IDE 2.x stores the preferences data in a different location.
Arduino IDE 2.x's preferences data is stored under the Windows C:\Users\<username>\AppData folder, so if the problem was caused by something in the preferences data, then this would indeed clear it.
I'm glad this solved the problem for you and I congratulate you on finding a solution! However, this is a very heavy handed approach that is surely far in excess of what is required, and might cause problems for other applications that have files under AppData. So if anyone else has a similar problem, please request assistance on the forum for a more surgical approach instead of clearing the entire folder.
I deleted all folders related to arduino, not ALL folders. I am aware that my communication was terrible in this case
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.