Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Custom programmers are not listed (nrf5 based boards) #898

Open
dmikhalsky opened this issue Sep 23, 2019 · 9 comments
Open

Custom programmers are not listed (nrf5 based boards) #898

dmikhalsky opened this issue Sep 23, 2019 · 9 comments

Comments

@dmikhalsky
Copy link

Arduino Core for Nordic Semiconductor nRF5 based boards adds a number of additional programmers that are listed in Arduino IDE below the standard ones

arduino
image hosting

However, VS Code Arduino extension DOES NOT list them in "Select programmer" dialog

vs-code

@dmikhalsky
Copy link
Author

It's not a "feature request". It's a blocking issue since its impossible to program nrf5-based boards from within VS Code

@sstaub
Copy link

sstaub commented Oct 4, 2019

The same problem exist on other Arduino boards, missing are EDBG programmers and others.
In the moment the extension is complete useless.
programmers

@a7hybnj2
Copy link

I use minicore and tinycore which have some chips that need their own programmer selection like "USBasp (ATTinyCore)" and those don't show up. This extension should pull the same list of programmers that the arduino IDE pulls.

@barbudor
Copy link

I have the same issue with Digistump
vscode-arduino can read the board.txt to build correctly but cannot used Digistump specific programmer micronucleus

Current work around is to have a flash-it.cmd/flash-it.sh that can be called from the terminal.

@a7hybnj2
Copy link

Current work around is to have a flash-it.cmd/flash-it.sh that can be called from the terminal.

Can you describe what flash-it.* does? Is it project specific? Can it be linked to the 'upload' button so you don't have to run it manually?

@barbudor
Copy link

It calls avrdude with the right patameters including the hex file.
So it is programmer and project dependent
But all things that Arduino IDE can do transparently from boards.txt and programmers.txt

@antunjm
Copy link

antunjm commented May 14, 2020

Hi, I have the same problem.
I did not found other solutions than making a shell script to upload the .hex by micronucleus.
I hope the guys can implement this in the future.
Anyway, it still a great extension.

Best regards.

@hairlesshobo
Copy link

I had this same problem using a home built programmer that I prefer to use instead of USB upload with the Arduino bootloader. I submitted PR #767 for this exact issue over a year ago and it has been sitting open and pending review this entire time. I just added another comment to hopefully get a maintainer to review the PR. Maybe if you guys add comments to it as well they will consider reviewing the thing.

image

image

@TheLinthus
Copy link

Just had the similar problem with jtag2updi programmer.

#767 is needing some approve. The solution seems to work pretty well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants