Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

Problem loading firmware on arduino

2 posters

Go down  Message [Page 1 of 1]

1Problem loading firmware on arduino Empty Problem loading firmware on arduino Mon Jun 14, 2021 1:54 am

propaulo1



Hi, was testing version 0.5.16.RC5 with arduino and has a problem loading firmware. The message is:
Attachments
Problem loading firmware on arduino AttachmentScreenshot_2.png
You don't have permission to download attachments.
(7 Kb) Downloaded 0 times

2Problem loading firmware on arduino Empty Re: Problem loading firmware on arduino Mon Jun 14, 2021 6:11 am

arcachofo

arcachofo

Hi.
How did you load the firmware?

3Problem loading firmware on arduino Empty Re: Problem loading firmware on arduino Mon Jun 14, 2021 6:37 pm

propaulo1



same as I used in version 0.4.14F, loading the program and clicking the upload button
Problem loading firmware on arduino Screen10

There is another way by right-clicking on the arduino and uploading firmware, with .hex file. I did it that way and it worked.

I would like to know if it will work again in the first way I described, or if the way to load will only be in the second way described?

4Problem loading firmware on arduino Empty Re: Problem loading firmware on arduino Mon Jun 14, 2021 7:53 pm

arcachofo

arcachofo

It is working for me both ways.

Can you show the output of the bottom panel?
Something like this (or you can just copy/paste the output):

Problem loading firmware on arduino Loadhe11

5Problem loading firmware on arduino Empty Re: Problem loading firmware on arduino Tue Jun 15, 2021 2:08 am

propaulo1



Problem loading firmware on arduino Screen11

6Problem loading firmware on arduino Empty Re: Problem loading firmware on arduino Tue Jun 15, 2021 2:19 am

propaulo1



after clicking ok it seems correct. But in the flash nothing.

Problem loading firmware on arduino Screen12

7Problem loading firmware on arduino Empty Re: Problem loading firmware on arduino Tue Jun 15, 2021 5:04 am

propaulo1



-------------------------------------------------------
Arquivo: C:/Program Files (x86)/Arduino/examples/01.Basics/Blink/Blink.ino

-------------------------------------------------------
Exec:
Found User sketchBook at:
C:\Users\paulo\OneDrive\Documentos\Arduino


"C:/Program Files (x86)/Arduino/arduino-builder" -compile -hardware C:/Program Files (x86)/Arduino/hardware -tools C:/Program Files (x86)/Arduino/tools-builder -tools C:/Program Files (x86)/Arduino/hardware/tools/avr -built-in-libraries C:/Program Files (x86)/Arduino/libraries -libraries C:\Users\paulo\OneDrive\Documentos\Arduino/libraries -fqbn=arduino:avr:uno -build-path C:/Users/paulo/AppData/Local/simulide/codeeditor/buildIno/build -build-cache C:/Users/paulo/AppData/Local/simulide/codeeditor/buildIno/cache "C:/Program Files (x86)/Arduino/examples/01.Basics/Blink/Blink.ino"

SUCESSO!!! Compilação concluída


Firmware carregado em atmega328
C:/Users/paulo/AppData/Local/simulide/codeeditor/buildIno/build/Blink.ino.hex

8Problem loading firmware on arduino Empty Re: Problem loading firmware on arduino Tue Jun 15, 2021 5:09 am

propaulo1



Dont have build folder. even creating the folder the problem persists
These files were generated by version 0.4.14f
I've already removed the entire simulide folder and let the new version build again. Even so the problem persists

Problem loading firmware on arduino Screen13

9Problem loading firmware on arduino Empty Re: Problem loading firmware on arduino Tue Jun 15, 2021 9:34 am

arcachofo

arcachofo

Let's see if we can find the problem...

Just in case: Which version of Arduino are you using?

Then there is something i'm not sure:
Path to appData is reported as C:/Users/paulo/AppData/
But in the last picture I see: C:/Usuários/paulo/AppData/

Does C:/Users/paulo/AppData/ exist?

10Problem loading firmware on arduino Empty Re: Problem loading firmware on arduino Wed Jun 16, 2021 3:57 am

propaulo1



Just in case: Which version of Arduino are you using?
R. 1.8.9 and now i upgrade to 1.8.15 and the problem persisted

Does C:/Users/paulo/AppData/ exist?
R. Yes

11Problem loading firmware on arduino Empty Re: Problem loading firmware on arduino Wed Jun 16, 2021 8:35 am

arcachofo

arcachofo

propaulo1 wrote:Dont have build folder. even creating the folder the problem persists
These files were generated by version 0.4.14f
I've already removed the entire simulide folder and let the new version build again. Even so the problem persists

Problem loading firmware on arduino Screen13

Looks like that picture is of another folder: "C:/Usuários" which is not the same than "C:/Users" .

Does C:/Users/paulo/AppData/ exist?
R. Yes
Is there the simulide folder with the build folder?
C:/Users/paulo/AppData/Local/simulide/codeeditor/buildIno/build/

12Problem loading firmware on arduino Empty Re: Problem loading firmware on arduino Wed Jun 16, 2021 3:32 pm

propaulo1



build it does not have.
I created it manually and the problem persisted

13Problem loading firmware on arduino Empty Re: Problem loading firmware on arduino Wed Jun 16, 2021 8:52 pm

arcachofo

arcachofo

Looks like there is something messing with the default path for simulide files or something like that...

Can you do this?
- Delete the folder "codeeditor" in C:/Users/paulo/AppData/Local/simulide
- Delete the folder "codeeditor" in C:/Usuários/paulo/AppData/Local/simulide
- Open SimulIDE_0.5.15-RC5
- Open Blink.ino
- Click on "Compile"

What is the content of C:/Users/paulo/AppData/Local/simulide ?
What is the content of C:/Usuários/paulo/AppData/Local/simulide ?

- Now go to "Explorador de arquivos" in Left Panel and click in "Settings" bookmark.
- Expand folders.

Can you take an screeeshot like this?

Problem loading firmware on arduino Ardbui10

14Problem loading firmware on arduino Empty Re: Problem loading firmware on arduino Thu Jun 17, 2021 1:35 am

propaulo1



I tried several possibilities and I'll summarize.
Initially the AppData folder did not appear because it was hidden
I changed the attributes then it appeared in the simulide
Removed buildino folder as directed but still with problem
Then I removed the entire simulide folder, reconfigured the compiler path, and followed as directed.
NOTE: The version used was the 0.5.16-RC5, I didn't find neither on this site nor on the patreon the version 0.5.15-RC5


The result was:

Problem loading firmware on arduino Screen14

15Problem loading firmware on arduino Empty Re: Problem loading firmware on arduino Thu Jun 17, 2021 9:49 am

arcachofo

arcachofo

NOTE: The version used was the 0.5.16-RC5, I didn't find neither on this site nor on the patreon the version 0.5.15-RC5
Yes, that was a typo.

Looks like communication is not working very well...

arcachofo wrote:
Can you do this?
- Delete the folder "codeeditor" in C:/Users/paulo/AppData/Local/simulide
- Delete the folder "codeeditor" in C:/Usuários/paulo/AppData/Local/simulide
- Open SimulIDE_0.5.16-RC5
- Open Blink.ino
- Click on "Compile"

What is the content of C:/Users/paulo/AppData/Local/simulide ?
What is the content of C:/Usuários/paulo/AppData/Local/simulide ?

Can you do exactly this and reply the 2 questions?

Just in case i will ad another question:
Do you have these 2 folders in your system?:
C:/Users/paulo/AppData/Local/simulide ?
C:/Usuários/paulo/AppData/Local/simulide ?



- Now go to "Explorador de arquivos" in Left Panel and click in "Settings" bookmark.
- Expand folders.

Can you take an screeeshot like this?
One of the purposes of this was to see the path to your simulide folder.
In your picture the complete path is not visible.
Can you take an screenshot with the left panel wide enought so the path to simulide folder in your system is visible?:

That screenshot must be taken right after doing the previous steps.

Problem loading firmware on arduino Ardbui11



It is importtant that everything is done exactly as in the list: (questions in blue)

Do you have these 2 folders in your system?:
C:/Users/paulo/AppData/Local/simulide ?
C:/Usuários/paulo/AppData/Local/simulide ?


- Delete the folder "codeeditor" in C:/Users/paulo/AppData/Local/simulide
- Delete the folder "codeeditor" in C:/Usuários/paulo/AppData/Local/simulide
- Open SimulIDE_0.5.15-RC5
- Open Blink.ino
- Click on "Compile".

What is the content of C:/Users/paulo/AppData/Local/simulide ?
What is the content of C:/Usuários/paulo/AppData/Local/simulide ?


- Now go to "Explorador de arquivos" in Left Panel and click in "Settings" bookmark.
- Expand folders.
- Take screenshot with path visible and build & cache folders expanded.

16Problem loading firmware on arduino Empty Re: Problem loading firmware on arduino Fri Jun 18, 2021 4:51 am

propaulo1



I did as instructed, and informed the extra steps I had to perform. I'll show you step-by-step to make it clearer

1) Before I delete the folder

Problem loading firmware on arduino Screen15

Code:
Do you have these 2 folders in your system?:
C:/Users/paulo/AppData/Local/simulide ?
C:/Usuários/paulo/AppData/Local/simulide ?
it only has the C:/Usuários/paulo/AppData/Local/simulide

2) Folder deleted

Problem loading firmware on arduino Screen16

3) Blink.ino + compile

Problem loading firmware on arduino Screen17

17Problem loading firmware on arduino Empty Re: Problem loading firmware on arduino Fri Jun 18, 2021 4:56 am

propaulo1



additional information, in this version it works
Problem loading firmware on arduino Screen18

from version 0.4.15-RC2 it didn't work anymore

18Problem loading firmware on arduino Empty Re: Problem loading firmware on arduino Fri Jun 18, 2021 4:08 pm

arcachofo

arcachofo

Thanks and sorry for all this back and forth.

I'm still a bit confused with what is happening here.

I found that some errors are not detected during compilatiton, so I added better error detection.
I also changed any potential source of errors I could imagine, so it's possible that your problem is solved, but if not, the error should be reported now.

19Problem loading firmware on arduino Empty Re: Problem loading firmware on arduino Tue Jun 22, 2021 1:43 am

propaulo1



Thank you for your attention, I will test it on another computer and wait for the next release. I'm also sorry if somehow I didn't express it correctly

20Problem loading firmware on arduino Empty Re: Problem loading firmware on arduino Tue Jun 22, 2021 2:18 am

arcachofo

arcachofo

Have a look at your private messages...

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum