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

SIMDE VER 100RC2R1007. Serial COM

2 posters

Go down  Message [Page 1 of 1]

1SIMDE VER 100RC2R1007. Serial COM Empty SIMDE VER 100RC2R1007. Serial COM Tue Mar 22, 2022 12:39 am

Defran

Defran

HI,

I am not able to find the COM port change as in other versions of Simulide for Arduino UNO. Could you give me some indication? Thank you. I am not sure if this is a bug.

2SIMDE VER 100RC2R1007. Serial COM Empty Re: SIMDE VER 100RC2R1007. Serial COM Tue Mar 22, 2022 12:51 am

arcachofo

arcachofo

Not sure if I understand what is the problem.
Do you want to connect to a Serial Port in your PC?

If so, here is some information about Serial Port component:
https://simulide.forumotion.com/t480-serial-port-simulide-1-0-0

3SIMDE VER 100RC2R1007. Serial COM Empty Re: SIMDE VER 100RC2R1007. Serial COM Tue Mar 22, 2022 10:34 am

Defran

Defran

I already knew this tutorial, but the problem is that clicking on the body of the UNO appears: "Open Serial Monitor" and after that: "USat1", nothing more. There is no way to enter the option to change the COM pot number.

4SIMDE VER 100RC2R1007. Serial COM Empty Re: SIMDE VER 100RC2R1007. Serial COM Tue Mar 22, 2022 12:59 pm

arcachofo

arcachofo

Well... that video didn't show how to add the Serial Port component.
I updated the video to show the whole process.

Basically the new Serial Port is a component, you have to add it to the circuit like any other component and connect to Rx and Tx Pins.

One of the advantages of this one is that you can use it with Software Serial library.

5SIMDE VER 100RC2R1007. Serial COM Empty Re: SIMDE VER 100RC2R1007. Serial COM Tue Mar 22, 2022 3:45 pm

Defran

Defran

Ok, I understand, Thank you.

6SIMDE VER 100RC2R1007. Serial COM Empty Re: SIMDE VER 100RC2R1007. Serial COM Tue Mar 22, 2022 4:44 pm

Defran

Defran

Fine, it is clear, I can send a message form PC to UNO, but can I send the Hex file to UNO so it will run on UNO like Arduino IDE does?, if so, how?

7SIMDE VER 100RC2R1007. Serial COM Empty Re: SIMDE VER 100RC2R1007. Serial COM Tue Mar 22, 2022 5:44 pm

arcachofo

arcachofo

Fine, it is clear, I can send a message form PC to UNO, but can I send the Hex file to UNO so it will run on UNO like Arduino IDE does?, if so, how?
You could probably do it if Arduino IDE could see your virtual port.

But that is much more complicated than just use the editor in simulide or load the hex generated by Arduino IDE.

First you need to load the bootloader hex in the Arduino.
Then setup virtual ports and connect the serial port in simulide.
Then Arduino IDE should see your virtual port so you can choose it.
Then start the simulation just before sending the hex fron Arduino IDE so the bootloader doesn't timeout.
And then writting to Program Memory should work which I don't know.

8SIMDE VER 100RC2R1007. Serial COM Empty Re: SIMDE VER 100RC2R1007. Serial COM Tue Mar 22, 2022 7:42 pm

Defran

Defran

Well, I understand perfectly with such a complete explanation. This can also serve those who wonder about this possibility. Thanks for yuor attention and time spent.

Sponsored content



Back to top  Message [Page 1 of 1]

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