Everytime I reopen a project, Flowcode forgot the COM port of the device it last used.
My Arduino is connected to COM 9 and on COM 7 there is another device.
Everytime Flowcode goes back to COM 7...
Everytime I need to point Flowcode 7 back to the last used COM port.
Can this information be saved with the flowchart??
Don't forget the COM-port.
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Don't forget the COM-port.
Hello,
Out of interest what Arduino are you using and is it from Arduino.cc or Arduino.org.
We scan for the Arduino.cc USB IDs but the Arduino.org USB IDs are different?! Maybe we can make new FCDs for the .org boards.
I've also had the problem recently and saving the COM port number in the project is a good idea. I've made a note in our to do software.
Out of interest what Arduino are you using and is it from Arduino.cc or Arduino.org.
We scan for the Arduino.cc USB IDs but the Arduino.org USB IDs are different?! Maybe we can make new FCDs for the .org boards.
I've also had the problem recently and saving the COM port number in the project is a good idea. I've made a note in our to do software.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 502
- Joined: Wed Nov 07, 2007 6:51 pm
- Location: Antwerp Belgium
- Has thanked: 121 times
- Been thanked: 108 times
- Contact:
Re: Don't forget the COM-port.
Should I be ashamed if I say that I have a Chinese version?
It's called DCCduino and uses a CH340 chip as serial/USB converter.
It's called DCCduino and uses a CH340 chip as serial/USB converter.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Don't forget the COM-port.
No I don't think so, they are a lot cheaper and it's what comes from creating an open source design and sparking a maker revolution.Should I be ashamed if I say that I have a Chinese version
Arduino hoping to hold onto their brand and build a business when they are literally 10x more expensive is not likely long term.
Ok I would imagine that these also have different USB IDs too.It's called DCCduino and uses a CH340 chip as serial/USB converter.
Well we are not going to make different FCD files for each manufacturer flavour of board so it looks like we need a way of saving the right COM port in the project file if the expected USB IDs are not found.
For now you can do the following to allow the COM port to be auto detected.
Go into your device manager and find the arduino device under the Ports section. Go into the device properties and find the VID and PID values in the Details -> Hardware IDs section.
Next browse to the Flowcode FCD directory "Flowcode 7/FCD/AVR" and copy the correct device file to your desktop.
Open the file in a text editor such as notepad and find the following section of code, it's near the top of the file.
Code: Select all
<comminfo pid="0043"
vid="2341"
devdesc="Arduino UNO R3" />
Save the file and copy back to the Flowcode FCD directory.
Now hopefully the right COM port will be automatically selected for you when loading the Flowcode project.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel