Skip to content

[Feature request} Add programmer serial port menu #5554

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
petersheeren opened this issue Nov 2, 2016 · 3 comments
Closed

[Feature request} Add programmer serial port menu #5554

petersheeren opened this issue Nov 2, 2016 · 3 comments
Assignees
Labels
Component: IDE Serial monitor Tools > Serial Monitor Component: Uploading Uploading programs to an Arduino board feature request A request to make an enhancement (not a bug fix) Type: Duplicate Another item already exists for this topic

Comments

@petersheeren
Copy link

We're adding an AVR in-system programmer to the Arduino IDE. This programmer comes with its own software i.e. it uses a dedicated program instead of avrdude. At this point the programmer is fully functional from within Arduino IDE.

The programmer exposes a USB-to-serial interface similar to many Arduino boards. This means the system dynamically assigns a COMx (Windows) or /dev/ttyUSBx (Linux) path to the programmer the same way it does for Arduino boards. The IDE shows the programmer's serial port in menu item Tools->Port.

We found that Arduino IDE doesn't offer a mechanism for selecting a serial port for the programmer. As a workaround we're using the selection from menu item Tools->Port which is known as {serial.port} in platform.txt. This works, but doing so has a negative impact on the user-experience as the user has to select the correct serial port each time he or she uploads a sketch and then opens the serial monitor.

I'd like to request the addition of a new menu item in menu Tools that allows the user to select the serial port of a programmer featuring a serial interface.

@matthijskooijman
Copy link
Collaborator

matthijskooijman commented Nov 3, 2016

As a workaround we're using the selection from menu item Tools->Port which is known as {serial.port} in platform.txt

I don't think this is a workaround, but intended behaviour right now. I.e. it's already used like this by builtin programmers: https://github.com/arduino/Arduino/blob/master/hardware/arduino/avr/programmers.txt#L6

This is somewhat related to #2073 and #2046 as well.

@petersheeren
Copy link
Author

petersheeren commented Nov 13, 2016

I see. Ofcourse there's really no other choice whether one calls it a workaround or intended behavior, that's why built-in programmers use Tools->Port.

Anyway, in the meanwhile we'll advise users to use an external serial monitor (e.g. PuTTY) with their boards when using our programmer so they don't have to switch ports in Tools->Port all the time.

@per1234 per1234 changed the title Selecting serial port of programmer [Feature request} Add programmer serial port menu Jul 6, 2017
@per1234 per1234 added Component: Uploading Uploading programs to an Arduino board feature request A request to make an enhancement (not a bug fix) labels Oct 5, 2020
@per1234 per1234 added the Component: IDE Serial monitor Tools > Serial Monitor label Nov 4, 2020
@per1234
Copy link
Collaborator

per1234 commented Dec 1, 2022

Now tracked at arduino/arduino-ide#583

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 1, 2022
@per1234 per1234 self-assigned this Dec 1, 2022
@per1234 per1234 added the Type: Duplicate Another item already exists for this topic label Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE Serial monitor Tools > Serial Monitor Component: Uploading Uploading programs to an Arduino board feature request A request to make an enhancement (not a bug fix) Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

3 participants