-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Description
I want to make programmer arudiono uno but I have this error:
Arduino: 1.8.19 (Linux), Board: "ATtiny1614/1604/814/804/414/404 w/Optiboot, ATtiny414, 20 MHz internal, Enabled (default timer), 1.8V (5 MHz or less), Disabled/Disabled, TX:5 (PB2), RX:4 (PB3), UPDI, Optiboot for 8 sec. after power-on & reset, 8ms, Master or Slave (saves flash and RAM), Default (doesn't print floats, 1.4k flash use), On all pins, like usual"
In file included from /home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/updi_io_soft.cpp:10:0:
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.h:326:4: warning: #warning "Part not supported - if you didn't provide all the needed pin definitions, that's why it's not compiling" [-Wcpp]
#warning "Part not supported - if you didn't provide all the needed pin definitions, that's why it's not compiling"
^~~~~~~
In file included from /home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.cpp:10:0:
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.h:326:4: warning: #warning "Part not supported - if you didn't provide all the needed pin definitions, that's why it's not compiling" [-Wcpp]
#warning "Part not supported - if you didn't provide all the needed pin definitions, that's why it's not compiling"
^~~~~~~
In file included from /home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JTAG2.h:12:0,
from /home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.h:13,
from /home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.cpp:10:
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.h:326:4: warning: #warning "Part not supported - if you didn't provide all the needed pin definitions, that's why it's not compiling" [-Wcpp]
#warning "Part not supported - if you didn't provide all the needed pin definitions, that's why it's not compiling"
^~~~~~~
In file included from /home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.cpp:11:0:
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/dbg.h:232:4: warning: #warning "Part not supported - if you didn't provide all the needed pin definitions, that's why it's not compiling" [-Wcpp]
#warning "Part not supported - if you didn't provide all the needed pin definitions, that's why it's not compiling"
^~~~~~~
In file included from /home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.cpp:12:0:
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/dbg.h:232:4: warning: #warning "Part not supported - if you didn't provide all the needed pin definitions, that's why it's not compiling" [-Wcpp]
#warning "Part not supported - if you didn't provide all the needed pin definitions, that's why it's not compiling"
^~~~~~~
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/updi_io_soft.cpp: In function 'uint8_t UPDI_io::get()':
sys.h:48:26: error: 'VPORTUPDI_PORT' was not declared in this scope
# define DDR(x) CONCAT(VPORT,x).DIR
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.h:39:21: note: in definition of macro 'CONCAT'
#define CONCAT(A,B) A##B // concatenate
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/updi_io_soft.cpp:54:9: note: in expansion of macro 'DDR'
DDR(UPDI_PORT) &= ~(1 << UPDI_PIN);
^~~
In file included from /home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.cpp:10:0:
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.cpp: In function 'void SYS::init()':
sys.h:48:26: error: 'VPORTLED_PORT' was not declared in this scope
# define DDR(x) CONCAT(VPORT,x).DIR
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.h:39:21: note: in definition of macro 'CONCAT'
#define CONCAT(A,B) A##B // concatenate
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.cpp:42:3: note: in expansion of macro 'DDR'
DDR(LED_PORT) |= (1 << LED_PIN);
^~~
In file included from /home/muhammetubuntu/.arduino15/packages/DxCore/tools/avr-gcc/7.3.0-atmel3.6.1-azduino4b/avr/include/avr/io.h:99:0,
from /home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.cpp:9:
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.cpp: In function 'uint8_t JICE_io::put(char)':
JICE_io.cpp:55:25: error: 'HOST_USART' was not declared in this scope
loop_until_bit_is_set(HOST_USART.STATUS, USART_DREIF_bp);
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.h:48:26: note: suggested alternative: 'VPORTA_OUT'
# define DDR(x) CONCAT(VPORT,x).DIR
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.h:39:21: note: in definition of macro 'CONCAT'
#define CONCAT(A,B) A##B // concatenate
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.cpp:42:3: note: in expansion of macro 'DDR'
DDR(LED_PORT) |= (1 << LED_PIN);
^~~
sys.cpp:42:26: error: 'LED_PIN' was not declared in this scope
DDR(LED_PORT) |= (1 << LED_PIN);
^~~~~~~
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.h:48:26: note: suggested alternative: 'VPORTA_OUT'
# define DDR(x) CONCAT(VPORT,x).DIR
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.h:39:21: note: in definition of macro 'CONCAT'
#define CONCAT(A,B) A##B // concatenate
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/updi_io_soft.cpp:54:9: note: in expansion of macro 'DDR'
DDR(UPDI_PORT) &= ~(1 << UPDI_PIN);
^~~
updi_io_soft.cpp:54:35: error: 'UPDI_PIN' was not declared in this scope
DDR(UPDI_PORT) &= ~(1 << UPDI_PIN);
^~~~~~~~
In file included from /home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.cpp:10:0:
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.cpp: In function 'void SYS::setLED()':
sys.h:47:27: error: 'VPORTLED_PORT' was not declared in this scope
# define PORT(x) CONCAT(VPORT,x).OUT
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.h:39:21: note: in definition of macro 'CONCAT'
#define CONCAT(A,B) A##B // concatenate
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.cpp:58:3: note: in expansion of macro 'PORT'
PORT(LED_PORT) |= 1 << LED_PIN;
^~~~
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/updi_io_soft.cpp:54:35: note: suggested alternative: 'UPDI_BAUD'
DDR(UPDI_PORT) &= ~(1 << UPDI_PIN);
^~~~~~~~
UPDI_BAUD
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.cpp:55:25: note: suggested alternative: 'IO_START'
In file included from /home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.cpp:10:0:
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.cpp: In function 'uint8_t JICE_io::get()':
JICE_io.cpp:67:38: error: 'HOST_USART' was not declared in this scope
loop_until_bit_set_or_host_timeout(HOST_USART.STATUS, USART_RXCIF_bp); /* Wait until data exists. */
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.h:18:12: note: in definition of macro 'loop_until_bit_set_or_host_timeout'
while(!((register&(1<<bitpos))||(SYS::checkTimeouts() & WAIT_FOR_HOST))); \
^~~~~~~~
In file included from /home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/updi_io_soft.cpp:10:0:
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/updi_io_soft.cpp: In function 'uint8_t UPDI_io::put(char)':
sys.h:48:26: error: 'VPORTUPDI_PORT' was not declared in this scope
# define DDR(x) CONCAT(VPORT,x).DIR
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.h:39:21: note: in definition of macro 'CONCAT'
#define CONCAT(A,B) A##B // concatenate
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/updi_io_soft.cpp:175:9: note: in expansion of macro 'DDR'
DDR(UPDI_PORT) |= (1 << UPDI_PIN);
^~~
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.cpp:67:38: note: suggested alternative: 'IO_START'
loop_until_bit_set_or_host_timeout(HOST_USART.STATUS, USART_RXCIF_bp); /* Wait until data exists. */
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.h:18:12: note: in definition of macro 'loop_until_bit_set_or_host_timeout'
while(!((register&(1<<bitpos))||(SYS::checkTimeouts() & WAIT_FOR_HOST))); \
^~~~~~~~
JICE_io.cpp:69:10: error: 'HOST_USART' was not declared in this scope
return HOST_USART.RXDATAL;
^~~~~~~~~~
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.h:47:27: note: suggested alternative: 'VPORTA_OUT'
# define PORT(x) CONCAT(VPORT,x).OUT
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.h:39:21: note: in definition of macro 'CONCAT'
#define CONCAT(A,B) A##B // concatenate
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.cpp:58:3: note: in expansion of macro 'PORT'
PORT(LED_PORT) |= 1 << LED_PIN;
^~~~
sys.cpp:58:26: error: 'LED_PIN' was not declared in this scope
PORT(LED_PORT) |= 1 << LED_PIN;
^~~~~~~
In file included from /home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.cpp:10:0:
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.cpp: In function 'void SYS::clearLED()':
sys.h:47:27: error: 'VPORTLED_PORT' was not declared in this scope
# define PORT(x) CONCAT(VPORT,x).OUT
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.h:39:21: note: in definition of macro 'CONCAT'
#define CONCAT(A,B) A##B // concatenate
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.cpp:62:3: note: in expansion of macro 'PORT'
PORT(LED_PORT) &= ~(1 << LED_PIN);
^~~~
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.cpp:69:10: note: suggested alternative: 'IO_START'
return HOST_USART.RXDATAL;
^~~~~~~~~~
IO_START
In file included from /home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JTAG2.h:12:0,
from /home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.h:13,
from /home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.cpp:10:
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.cpp: In function 'void JICE_io::init()':
sys.h:47:27: error: 'VPORTHOST_TX_PORT' was not declared in this scope
# define PORT(x) CONCAT(VPORT,x).OUT
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.h:39:21: note: in definition of macro 'CONCAT'
#define CONCAT(A,B) A##B // concatenate
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.cpp:80:3: note: in expansion of macro 'PORT'
PORT(HOST_TX_PORT) |= 1 << HOST_TX_PIN;
^~~~
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.h:48:26: note: suggested alternative: 'VPORTA_OUT'
# define DDR(x) CONCAT(VPORT,x).DIR
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.h:39:21: note: in definition of macro 'CONCAT'
#define CONCAT(A,B) A##B // concatenate
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/updi_io_soft.cpp:175:9: note: in expansion of macro 'DDR'
DDR(UPDI_PORT) |= (1 << UPDI_PIN);
^~~
updi_io_soft.cpp:175:33: error: 'UPDI_PIN' was not declared in this scope
DDR(UPDI_PORT) |= (1 << UPDI_PIN);
^~~~~~~~
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.h:47:27: note: suggested alternative: 'VPORTA_OUT'
# define PORT(x) CONCAT(VPORT,x).OUT
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.h:39:21: note: in definition of macro 'CONCAT'
#define CONCAT(A,B) A##B // concatenate
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.cpp:62:3: note: in expansion of macro 'PORT'
PORT(LED_PORT) &= ~(1 << LED_PIN);
^~~~
sys.cpp:62:28: error: 'LED_PIN' was not declared in this scope
PORT(LED_PORT) &= ~(1 << LED_PIN);
^~~~~~~
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/updi_io_soft.cpp:175:33: note: suggested alternative: 'UPDI_BAUD'
DDR(UPDI_PORT) |= (1 << UPDI_PIN);
^~~~~~~~
UPDI_BAUD
In file included from /home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/updi_io_soft.cpp:10:0:
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/updi_io_soft.cpp: In function 'void send_break()':
sys.h:48:26: error: 'VPORTUPDI_PORT' was not declared in this scope
# define DDR(x) CONCAT(VPORT,x).DIR
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.h:39:21: note: in definition of macro 'CONCAT'
#define CONCAT(A,B) A##B // concatenate
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/updi_io_soft.cpp:236:9: note: in expansion of macro 'DDR'
DDR(UPDI_PORT) |= (1 << UPDI_PIN);
^~~
JICE_io.cpp:80:30: error: 'HOST_TX_PIN' was not declared in this scope
PORT(HOST_TX_PORT) |= 1 << HOST_TX_PIN;
^~~~~~~~~~~
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.h:48:26: note: suggested alternative: 'VPORTA_OUT'
# define DDR(x) CONCAT(VPORT,x).DIR
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/sys.h:39:21: note: in definition of macro 'CONCAT'
#define CONCAT(A,B) A##B // concatenate
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/updi_io_soft.cpp:236:9: note: in expansion of macro 'DDR'
DDR(UPDI_PORT) |= (1 << UPDI_PIN);
^~~
updi_io_soft.cpp:236:33: error: 'UPDI_PIN' was not declared in this scope
DDR(UPDI_PORT) |= (1 << UPDI_PIN);
^~~~~~~~
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/updi_io_soft.cpp:236:33: note: suggested alternative: 'UPDI_BAUD'
DDR(UPDI_PORT) |= (1 << UPDI_PIN);
^~~~~~~~
UPDI_BAUD
JICE_io.cpp:83:3: error: 'HOST_USART' was not declared in this scope
HOST_USART.BAUD = baud_reg_val(19200);
^~~~~~~~~~
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.cpp:83:3: note: suggested alternative: 'IO_START'
HOST_USART.BAUD = baud_reg_val(19200);
^~~~~~~~~~
IO_START
In file included from /home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.cpp:10:0:
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.cpp: In function 'void JICE_io::flush()':
JICE_io.cpp:106:38: error: 'HOST_USART' was not declared in this scope
loop_until_bit_set_or_host_timeout(HOST_USART.STATUS, USART_TXCIF_bp);
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.h:18:12: note: in definition of macro 'loop_until_bit_set_or_host_timeout'
while(!((register&(1<<bitpos))||(SYS::checkTimeouts() & WAIT_FOR_HOST))); \
^~~~~~~~
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.cpp:106:38: note: suggested alternative: 'IO_START'
loop_until_bit_set_or_host_timeout(HOST_USART.STATUS, USART_TXCIF_bp);
^
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.h:18:12: note: in definition of macro 'loop_until_bit_set_or_host_timeout'
while(!((register&(1<<bitpos))||(SYS::checkTimeouts() & WAIT_FOR_HOST))); \
^~~~~~~~
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.cpp: In function 'void JICE_io::set_baud(JTAG2::baud_rate)':
JICE_io.cpp:114:3: error: 'HOST_USART' was not declared in this scope
HOST_USART.BAUD = baud_tbl[rate - 1];
^~~~~~~~~~
/home/muhammetubuntu/Codes/jtag2updi/source/jtag2updi/JICE_io.cpp:114:3: note: suggested alternative: 'IO_START'
HOST_USART.BAUD = baud_tbl[rate - 1];
^~~~~~~~~~
IO_START
exit status 1
'VPORTUPDI_PORT' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Help please!
Metadata
Metadata
Assignees
Labels
No labels