Skip to content

Upload does not recognise that a programmer has been selected #1640

Closed as not planned
@pwesty54

Description

@pwesty54

Describe the problem

I am programming a bare "AVR128DB28" chip. The board my sketch uses is "AVR-DB series (no bootloader)" from Dx-Core by Spence Konde. I select the programmer "SerialUPDI - 230400 baud" from the Tools dropdown menu ( or any of the available SerialUPDI options). It is installed on port COM5, which is also selected.
The (small test) sketch verifies OK, but when I try to upload it I get the following error:-

Sketch uses 770 bytes (0%) of program storage space. Maximum is 131072 bytes.
Global variables use 4 bytes (0%) of dynamic memory, leaving 16380 bytes for local variables. Maximum is 16384 bytes.
A programmer is required to upload

The same sketch with the same programmer from the same version of Dx-Core uploaded without errors in the previous IDE version 2.0.0. I upgraded to version 2.0.1 by selecting the prompt in the IDE.

To reproduce

  1. Install DxCore version 1.4.10 by Spence Konde in the IDE v2.0.1
  2. Attach physical programmer. ( I use a serial adapter with diode/resistor, as detailed by Spence Konde in his DxCore notes on Github. It installs itself on COM5 on my PC).
  3. Load test sketch attached.
  4. Select board "AVR DB-series (no bootloader)" from the Tools drop-down menu.
  5. Select programmer "SerialUPDI - 230400 baud" from the Tools drop-down menu (or any other available SerialUPDI option - my programmer gives reliable comms up to 460800 baud ).
  6. Select the Port your programmer is installed on.
  7. Press the "upload" button in the IDE.

DB_test.zip

Expected behavior

On selecting "Upload" the sketch builds without errors and uploads without errors.

Arduino IDE version

2.0.1

Operating system

Windows

Operating system version

11 Version 22H2 Build 22621.674

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

Labels

conclusion: duplicateHas already been submittedtopic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions