i get this error message:
/Users/denis/Desktop/focus pocus/PROJECTS/FIZ/code/JD.FIZ.01.006.Motor/JD.FIZ.01.006.Motor.ino: In function 'void loop()':
/Users/denis/Desktop/focus pocus/PROJECTS/FIZ/code/JD.FIZ.01.006.Motor/JD.FIZ.01.006.Motor.ino:172:44: warning: left shift count >= width of type [-Wshift-count-overflow]
readpos = (long)(posBuffer[3] << 24) | (posBuffer[2] << 16) | (posBuffer[1] << 8) | posBuffer[0];
^~
/Users/denis/Desktop/focus pocus/PROJECTS/FIZ/code/JD.FIZ.01.006.Motor/JD.FIZ.01.006.Motor.ino:172:67: warning: left shift count >= width of type [-Wshift-count-overflow]
readpos = (long)(posBuffer[3] << 24) | (posBuffer[2] << 16) | (posBuffer[1] << 8) | posBuffer[0];
^~
Compiling libraries...
while compiling this line of code:
readpos = (long)(posBuffer[3] << 24) | (posBuffer[2] << 16) | (posBuffer[1] << 8) | posBuffer[0];
on Every
the code compiles and works, but i'd like to fix it nevertheless
for the reference, this is the entire sketch:
#include <SimpleFOC.h>
#include <SPI.h>
#include <util/crc16.h>
#include <FastCRC.h>
#define keyByteCount 4
#define posByteCount 4
#define crcByteCount 2
#define loopLength 16384
#define stopThreshold 100
#define sgn(x) ((x) < 0 ? -1 : ((x) > 0 ? 1 : 0))
const int angleValue_command = 0x8021;
long pos = 0;
int posmod = 0;
int newposmod = 0;
int step = 0;
long readpos = 0;
int velocityMultiplier = 10;
const byte key[keyByteCount] = { 255, 01, 254, 107 };
BLDCMotor motor = BLDCMotor(6);
BLDCDriver3PWM driver = BLDCDriver3PWM(3, 5, 6, 7);
FastCRC16 CRC16;
uint32_t crc;
int readSensor() {
int data1 = 0;
int data2 = 0;
int safety = 0;
digitalWrite(SS, LOW); // Chipselect auf low
/*------------ Send request to the slave ------------------------
Send 16-bit command */
pinMode(MOSI, OUTPUT);
SPI.transfer((byte)(angleValue_command >> 8)); // 8 High-Bits to the Slave sent
delay(0.2);
SPI.transfer((byte)(angleValue_command & 0x00FF)); // 8 Low-Bits to the Slave sent
pinMode(MOSI, INPUT); // MOSI Pin Switch to high impedance
delay(0.2);
/* end 16 Bit Commands */
/* 16Bit Data 1 received */
/*-----------------Response from slave----------------------*/
data1 = SPI.transfer(0);
//Serial.print(data1, BIN);
// Für den Fall wenn der Sensor einen 16 Bit Wert zurücksendet ...
data1 <<= 8;
data1 |= SPI.transfer(0);
/* 16Bit Data 2 received */
data2 = SPI.transfer(0); // Response from slave
// In case the sensor sends back a 16 bit value...
data2 <<= 8;
data2 |= SPI.transfer(0);
/* 16Bit safety received */
safety = SPI.transfer(0); // Response from slave
// In case the sensor sends back a 16 bit value...
safety <<= 8;
safety |= SPI.transfer(0);
int miso = data1;
digitalWrite(SS, HIGH); // Chipselect on high
SPI.endTransaction();
return -miso;
}
void initSensor() {
pinMode(SS, OUTPUT); //Chip select as output
pinMode(SCK, OUTPUT); //Clock pin as output
pinMode(MISO, INPUT); //Set MISO to input
pinMode(MOSI, OUTPUT); //Set MOSI to output
const SPISettings mySetting(8000000, MSBFIRST, SPI_MODE0);
SPI.begin();
SPI.beginTransaction(mySetting);
}
void motorSetup() {
driver.voltage_power_supply = 7.2;
driver.init();
motor.linkDriver(&driver);
//motor.voltage_sensor_align = 3;
motor.controller = MotionControlType::velocity_openloop;
motor.voltage_limit = 7.2;
driver.pwm_frequency = 20000000;
motor.init();
motor.initFOC();
}
void setup() {
Serial.begin(115200);
Serial1.begin(115200);
Serial1.setTimeout(10);
motorSetup(); //jd disable motor
initSensor(); //jd disable sensor
_delay(1000);
}
void loop() {
//motor.loopFOC(); // jd not needed?
//motor.move();
newposmod = readSensor();
step = newposmod - posmod;
pos = pos + step;
if (abs(step) >> 12) {
if (step < 0) {
pos += loopLength;
} else {
pos -= loopLength;
}
}
posmod = newposmod;
if (Serial1.available() > 0) {
byte keyBuffer[keyByteCount - 1];
byte posBuffer[posByteCount];
byte messageBuffer[posByteCount + crcByteCount];
bool check = true;
bool crcCheck = true;
Serial1.readBytes(keyBuffer, 1);
if (keyBuffer[0] == key[0]) {
Serial1.readBytes(keyBuffer, keyByteCount - 1);
for (uint8_t i = 1; i < keyByteCount; i++) {
check = check && (keyBuffer[i - 1] == key[i]);
}
if (check) {
Serial1.readBytes(messageBuffer, sizeof(messageBuffer));
for (uint8_t i = 0; i < posByteCount; i++) {
posBuffer[i] = messageBuffer[i];
}
crc = CRC16.xmodem(posBuffer, sizeof(posBuffer));
for (uint8_t i = 0; i < crcByteCount; i++) {
crcCheck = crcCheck && (messageBuffer[i + posByteCount] == (byte)(crc >> (8 * i)));
}
if (crcCheck) {
readpos = (long)(posBuffer[3] << 24) | (posBuffer[2] << 16) | (posBuffer[1] << 8) | posBuffer[0];
}
}
}
}
if ( abs(pos - readpos) < stopThreshold ) {
motor.target = 0;
} else {
motor.target = velocityMultiplier * sgn(readpos - pos);
}
Serial.print(readpos);
Serial.print(" ");
Serial.println(pos);
}
and this is the full Output:
FQBN: arduino:megaavr:nona4809
Using board 'nona4809' from platform in folder: /Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8
Using core 'arduino' from platform in folder: /Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8
Detecting libraries used...
/Users/denis/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DAVR_NANO_4809_328MODE -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/cores/arduino/api/deprecated -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/cores/arduino -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/variants/nona4809 /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/sketch/JD.FIZ.01.006.Motor.ino.cpp -o /dev/null
Alternatives for SimpleFOC.h: [Simple FOC@2.3.4]
ResolveLibrary(SimpleFOC.h)
-> candidates: [Simple FOC@2.3.4]
/Users/denis/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DAVR_NANO_4809_328MODE -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/cores/arduino/api/deprecated -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/cores/arduino -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/variants/nona4809 -I/Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/sketch/JD.FIZ.01.006.Motor.ino.cpp -o /dev/null
Alternatives for SPI.h: [SPI@1.0]
ResolveLibrary(SPI.h)
-> candidates: [SPI@1.0]
/Users/denis/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DAVR_NANO_4809_328MODE -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/cores/arduino/api/deprecated -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/cores/arduino -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/variants/nona4809 -I/Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/libraries/SPI/src /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/sketch/JD.FIZ.01.006.Motor.ino.cpp -o /dev/null
Alternatives for Wire.h: [Wire@1.0]
ResolveLibrary(Wire.h)
-> candidates: [Wire@1.0]
/Users/denis/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DAVR_NANO_4809_328MODE -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/cores/arduino/api/deprecated -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/cores/arduino -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/variants/nona4809 -I/Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/libraries/SPI/src -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/libraries/Wire/src /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/sketch/JD.FIZ.01.006.Motor.ino.cpp -o /dev/null
Alternatives for FastCRC.h: [FastCRC@1.44]
ResolveLibrary(FastCRC.h)
-> candidates: [FastCRC@1.44]
/Users/denis/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DAVR_NANO_4809_328MODE -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/cores/arduino/api/deprecated -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/cores/arduino -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/variants/nona4809 -I/Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/libraries/SPI/src -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/libraries/Wire/src -I/Users/denis/Desktop/focus pocus/code/playground/libraries/FastCRC/src /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/sketch/JD.FIZ.01.006.Motor.ino.cpp -o /dev/null
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/BLDCMotor.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/StepperMotor.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/common/base_classes/CurrentSense.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/common/base_classes/FOCMotor.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/common/base_classes/Sensor.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/common/foc_utils.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/common/lowpass_filter.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/common/pid.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/common/time_utils.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/communication/Commander.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/communication/SimpleFOCDebug.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/communication/StepDirListener.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/GenericCurrentSense.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/InlineCurrentSense.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/LowsideCurrentSense.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/atmega_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/due_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/esp32/esp32_adc_driver.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/esp32/esp32_mcpwm_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/esp32/esp32_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/generic_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/rp2040/rp2040_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/samd/samd21_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/samd/samd_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/stm32/b_g431/b_g431_hal.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/stm32/b_g431/b_g431_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/stm32/stm32_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/stm32/stm32f1/stm32f1_hal.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/stm32/stm32f1/stm32f1_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/stm32/stm32f4/stm32f4_hal.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/stm32/stm32f4/stm32f4_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/stm32/stm32f4/stm32f4_utils.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/stm32/stm32f7/stm32f7_hal.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/stm32/stm32f7/stm32f7_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/stm32/stm32f7/stm32f7_utils.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/stm32/stm32g4/stm32g4_hal.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/stm32/stm32g4/stm32g4_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/stm32/stm32g4/stm32g4_utils.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/stm32/stm32l4/stm32l4_hal.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/stm32/stm32l4/stm32l4_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/stm32/stm32l4/stm32l4_utils.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/teensy/teensy4_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/current_sense/hardware_specific/teensy/teensy_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/BLDCDriver3PWM.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/BLDCDriver6PWM.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/StepperDriver2PWM.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/StepperDriver4PWM.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/hardware_specific/atmega/atmega2560_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/hardware_specific/atmega/atmega328_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/hardware_specific/atmega/atmega32u4_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/hardware_specific/due_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/hardware_specific/esp32/esp32_driver_mcpwm.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/hardware_specific/esp32/esp32_ledc_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/hardware_specific/esp32/esp32_mcpwm_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/hardware_specific/esp8266_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/hardware_specific/generic_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/hardware_specific/nrf52_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/hardware_specific/portenta_h7_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/hardware_specific/renesas/renesas.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/hardware_specific/rp2040/rp2040_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/hardware_specific/samd/samd21_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/hardware_specific/samd/samd51_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/hardware_specific/samd/samd_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/hardware_specific/stm32/stm32_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/hardware_specific/teensy/teensy3_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/hardware_specific/teensy/teensy4_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/drivers/hardware_specific/teensy/teensy_mcu.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/sensors/Encoder.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/sensors/GenericSensor.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/sensors/HallSensor.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/sensors/MagneticSensorAnalog.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/sensors/MagneticSensorI2C.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/sensors/MagneticSensorPWM.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src/sensors/MagneticSensorSPI.cpp
Using cached library dependencies for file: /Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/libraries/SPI/src/SPI.cpp
Using cached library dependencies for file: /Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/libraries/Wire/src/Wire.cpp
Using cached library dependencies for file: /Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/libraries/Wire/src/utility/twi.c
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/FastCRC/src/FastCRChw.cpp
Using cached library dependencies for file: /Users/denis/Desktop/focus pocus/code/playground/libraries/FastCRC/src/FastCRCsw.cpp
Generating function prototypes...
/Users/denis/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DAVR_NANO_4809_328MODE -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/cores/arduino/api/deprecated -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/cores/arduino -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/variants/nona4809 -I/Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/libraries/SPI/src -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/libraries/Wire/src -I/Users/denis/Desktop/focus pocus/code/playground/libraries/FastCRC/src /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/sketch/JD.FIZ.01.006.Motor.ino.cpp -o /private/var/folders/jv/4xyx5mcs327c7dxd82kp8b100000gq/T/1812462416/sketch_merged.cpp
/Users/denis/Library/Arduino15/packages/builtin/tools/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /private/var/folders/jv/4xyx5mcs327c7dxd82kp8b100000gq/T/1812462416/sketch_merged.cpp
Compiling sketch...
/Users/denis/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DAVR_NANO_4809_328MODE -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/cores/arduino/api/deprecated -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/cores/arduino -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/variants/nona4809 "-I/Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC/src" -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/libraries/SPI/src -I/Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/libraries/Wire/src "-I/Users/denis/Desktop/focus pocus/code/playground/libraries/FastCRC/src" /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/sketch/JD.FIZ.01.006.Motor.ino.cpp -o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/sketch/JD.FIZ.01.006.Motor.ino.cpp.o
/Users/denis/Desktop/focus pocus/PROJECTS/FIZ/code/JD.FIZ.01.006.Motor/JD.FIZ.01.006.Motor.ino: In function 'void loop()':
/Users/denis/Desktop/focus pocus/PROJECTS/FIZ/code/JD.FIZ.01.006.Motor/JD.FIZ.01.006.Motor.ino:172:44: warning: left shift count >= width of type [-Wshift-count-overflow]
readpos = (long)(posBuffer[3] << 24) | (posBuffer[2] << 16) | (posBuffer[1] << 8) | posBuffer[0];
^~
/Users/denis/Desktop/focus pocus/PROJECTS/FIZ/code/JD.FIZ.01.006.Motor/JD.FIZ.01.006.Motor.ino:172:67: warning: left shift count >= width of type [-Wshift-count-overflow]
readpos = (long)(posBuffer[3] << 24) | (posBuffer[2] << 16) | (posBuffer[1] << 8) | posBuffer[0];
^~
Compiling libraries...
Compiling library "Simple FOC"
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/common/pid.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/BLDCMotor.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/common/base_classes/CurrentSense.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/common/base_classes/FOCMotor.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/common/time_utils.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/common/lowpass_filter.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/common/foc_utils.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/communication/Commander.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/communication/StepDirListener.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/common/base_classes/Sensor.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/GenericCurrentSense.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/StepperMotor.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/esp32/esp32_adc_driver.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/LowsideCurrentSense.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/InlineCurrentSense.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/due_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/communication/SimpleFOCDebug.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/rp2040/rp2040_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/generic_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/atmega_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/esp32/esp32_mcpwm_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/b_g431/b_g431_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/samd/samd21_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/samd/samd_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/b_g431/b_g431_hal.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32f4/stm32f4_utils.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/esp32/esp32_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32f1/stm32f1_hal.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32f1/stm32f1_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32f7/stm32f7_utils.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32f4/stm32f4_hal.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32f4/stm32f4_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32g4/stm32g4_hal.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32f7/stm32f7_hal.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32g4/stm32g4_utils.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32l4/stm32l4_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32g4/stm32g4_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/teensy/teensy4_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32f7/stm32f7_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32l4/stm32l4_utils.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32l4/stm32l4_hal.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/StepperDriver2PWM.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/StepperDriver4PWM.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/teensy/teensy_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/BLDCDriver6PWM.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/esp32/esp32_ledc_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/esp32/esp32_mcpwm_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/atmega/atmega328_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/BLDCDriver3PWM.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/esp32/esp32_driver_mcpwm.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/atmega/atmega32u4_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/portenta_h7_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/due_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/atmega/atmega2560_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/samd/samd21_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/generic_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/esp8266_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/renesas/renesas.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/samd/samd51_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/rp2040/rp2040_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/nrf52_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/stm32/stm32_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/sensors/GenericSensor.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/samd/samd_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/teensy/teensy_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/sensors/HallSensor.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/teensy/teensy4_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/sensors/Encoder.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/teensy/teensy3_mcu.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/sensors/MagneticSensorPWM.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/sensors/MagneticSensorSPI.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/sensors/MagneticSensorAnalog.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/sensors/MagneticSensorI2C.cpp.o
Compiling library "SPI"
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/SPI/SPI.cpp.o
Compiling library "Wire"
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Wire/Wire.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Wire/utility/twi.c.o
Compiling library "FastCRC"
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/FastCRC/FastCRChw.cpp.o
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/FastCRC/FastCRCsw.cpp.o
Compiling core...
Using previously compiled file: /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/core/variant.c.o
Using precompiled core: /Users/denis/Library/Caches/arduino/cores/arduino_megaavr_nona4809_mode_on_1a03b884ec8edf1e09e488755e9c11d6/core.a
Linking everything together...
/Users/denis/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-gcc -Wall -Wextra -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -Wl,--section-start=.text=0x0 -mmcu=atmega4809 -o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/JD.FIZ.01.006.Motor.ino.elf /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/sketch/JD.FIZ.01.006.Motor.ino.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/BLDCMotor.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/StepperMotor.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/common/base_classes/CurrentSense.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/common/base_classes/FOCMotor.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/common/base_classes/Sensor.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/common/foc_utils.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/common/lowpass_filter.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/common/pid.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/common/time_utils.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/communication/Commander.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/communication/SimpleFOCDebug.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/communication/StepDirListener.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/GenericCurrentSense.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/InlineCurrentSense.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/LowsideCurrentSense.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/atmega_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/due_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/esp32/esp32_adc_driver.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/esp32/esp32_mcpwm_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/esp32/esp32_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/generic_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/rp2040/rp2040_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/samd/samd21_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/samd/samd_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/b_g431/b_g431_hal.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/b_g431/b_g431_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32f1/stm32f1_hal.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32f1/stm32f1_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32f4/stm32f4_hal.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32f4/stm32f4_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32f4/stm32f4_utils.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32f7/stm32f7_hal.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32f7/stm32f7_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32f7/stm32f7_utils.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32g4/stm32g4_hal.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32g4/stm32g4_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32g4/stm32g4_utils.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32l4/stm32l4_hal.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32l4/stm32l4_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/stm32/stm32l4/stm32l4_utils.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/teensy/teensy4_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/current_sense/hardware_specific/teensy/teensy_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/BLDCDriver3PWM.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/BLDCDriver6PWM.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/StepperDriver2PWM.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/StepperDriver4PWM.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/atmega/atmega2560_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/atmega/atmega328_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/atmega/atmega32u4_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/due_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/esp32/esp32_driver_mcpwm.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/esp32/esp32_ledc_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/esp32/esp32_mcpwm_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/esp8266_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/generic_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/nrf52_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/portenta_h7_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/renesas/renesas.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/rp2040/rp2040_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/samd/samd21_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/samd/samd51_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/samd/samd_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/stm32/stm32_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/teensy/teensy3_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/teensy/teensy4_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/drivers/hardware_specific/teensy/teensy_mcu.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/sensors/Encoder.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/sensors/GenericSensor.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/sensors/HallSensor.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/sensors/MagneticSensorAnalog.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/sensors/MagneticSensorI2C.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/sensors/MagneticSensorPWM.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Simple_FOC/sensors/MagneticSensorSPI.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/SPI/SPI.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Wire/Wire.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/Wire/utility/twi.c.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/FastCRC/FastCRChw.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/libraries/FastCRC/FastCRCsw.cpp.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/core/variant.c.o /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/../../cores/arduino_megaavr_nona4809_mode_on_1a03b884ec8edf1e09e488755e9c11d6/core.a -L/Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF -lm -Wl,-Map,/Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/JD.FIZ.01.006.Motor.ino.map
/Users/denis/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-objcopy -O binary -R .eeprom /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/JD.FIZ.01.006.Motor.ino.elf /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/JD.FIZ.01.006.Motor.ino.bin
/Users/denis/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/JD.FIZ.01.006.Motor.ino.elf /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/JD.FIZ.01.006.Motor.ino.eep
/Users/denis/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-objcopy -O ihex -R .eeprom /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/JD.FIZ.01.006.Motor.ino.elf /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/JD.FIZ.01.006.Motor.ino.hex
Using library Simple FOC at version 2.3.4 in folder: /Users/denis/Desktop/focus pocus/code/playground/libraries/Simple_FOC
Using library SPI at version 1.0 in folder: /Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/libraries/SPI
Using library Wire at version 1.0 in folder: /Users/denis/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.8/libraries/Wire
Using library FastCRC at version 1.44 in folder: /Users/denis/Desktop/focus pocus/code/playground/libraries/FastCRC
/Users/denis/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-size -A /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/JD.FIZ.01.006.Motor.ino.elf
Sketch uses 27453 bytes (55%) of program storage space. Maximum is 49152 bytes.
Global variables use 1203 bytes (19%) of dynamic memory, leaving 4941 bytes for local variables. Maximum is 6144 bytes.
Performing 1200-bps touch reset on serial port /dev/cu.usbmodem11401
"/Users/denis/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude" "-C/Users/denis/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf" -v -patmega4809 -cjtag2updi -P/dev/cu.usbmodem11401 -b115200 -e -D "-Uflash:w:/Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/JD.FIZ.01.006.Motor.ino.hex:i" "-Ufuse2:w:0x01:m" "-Ufuse5:w:0xC9:m" "-Ufuse8:w:0x00:m" {upload.extra_files}
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/Users/denis/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf"
User configuration file is "/Users/denis/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/cu.usbmodem11401
Using Programmer : jtag2updi
Overriding Baud Rate : 115200
JTAG ICE mkII sign-on message:
Communications protocol version: 1
M_MCU:
boot-loader FW version: 1
firmware version: 1.07
hardware version: 1
S_MCU:
boot-loader FW version: 1
firmware version: 6.07
hardware version: 1
Serial number: 00:00:00:00:00:00
Device ID: JTAGICE mkII
AVR Part : ATmega4809
Chip Erase delay : 0 us
PAGEL : P00
BS2 : P00
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 0
StabDelay : 0
CmdexeDelay : 0
SyncLoops : 0
ByteDelay : 0
PollIndex : 0
PollValue : 0x00
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
prodsig 0 0 0 0 no 61 61 0 0 0 0x00 0x00
fuses 0 0 0 0 no 9 0 0 0 0 0x00 0x00
fuse0 0 0 0 0 no 1 0 0 0 0 0x00 0x00
fuse1 0 0 0 0 no 1 0 0 0 0 0x00 0x00
fuse2 0 0 0 0 no 1 0 0 0 0 0x00 0x00
fuse4 0 0 0 0 no 1 0 0 0 0 0x00 0x00
fuse5 0 0 0 0 no 1 0 0 0 0 0x00 0x00
fuse6 0 0 0 0 no 1 0 0 0 0 0x00 0x00
fuse7 0 0 0 0 no 1 0 0 0 0 0x00 0x00
fuse8 0 0 0 0 no 1 0 0 0 0 0x00 0x00
lock 0 0 0 0 no 1 0 0 0 0 0x00 0x00
data 0 0 0 0 no 0 0 0 0 0 0x00 0x00
usersig 0 0 0 0 no 64 64 0 0 0 0x00 0x00
flash 0 0 0 0 no 49152 128 0 0 0 0x00 0x00
eeprom 0 0 0 0 no 256 64 0 0 0 0x00 0x00
Programmer Type : JTAGMKII_PDI
Description : JTAGv2 to UPDI bridge
M_MCU hardware version: 1
M_MCU firmware version: 1.07
S_MCU hardware version: 1
S_MCU firmware version: 6.07
Serial number: 00:00:00:00:00:00
Vtarget : 5.0 V
avrdude: jtagmkII_initialize(): Cannot locate "flash" and "boot" memories in description
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.27s
avrdude: Device signature = 0x1e9651 (probably m4809)
avrdude: erasing chip
avrdude: reading input file "/Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/JD.FIZ.01.006.Motor.ino.hex"
avrdude: writing flash (27454 bytes):
Writing | ################################################## | 100% 20.04s
avrdude: 27454 bytes of flash written
avrdude: verifying flash memory against /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/JD.FIZ.01.006.Motor.ino.hex:
avrdude: load data flash data from input file /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/JD.FIZ.01.006.Motor.ino.hex:
avrdude: input file /Users/denis/Library/Caches/arduino/sketches/2EB405475B87EBBAD8E9B3242C2446CF/JD.FIZ.01.006.Motor.ino.hex contains 27454 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 2.86s
avrdude: verifying ...
avrdude: 27454 bytes of flash verified
avrdude: reading input file "0x01"
avrdude: writing fuse2 (1 bytes):
Writing | ################################################## | 100% 0.01s
avrdude: 1 bytes of fuse2 written
avrdude: verifying fuse2 memory against 0x01:
avrdude: load data fuse2 data from input file 0x01:
avrdude: input file 0x01 contains 1 bytes
avrdude: reading on-chip fuse2 data:
Reading | ################################################## | 100% 0.00s
avrdude: verifying ...
avrdude: 1 bytes of fuse2 verified
avrdude: reading input file "0xC9"
avrdude: writing fuse5 (1 bytes):
Writing | ################################################## | 100% 0.01s
avrdude: 1 bytes of fuse5 written
avrdude: verifying fuse5 memory against 0xC9:
avrdude: load data fuse5 data from input file 0xC9:
avrdude: input file 0xC9 contains 1 bytes
avrdude: reading on-chip fuse5 data:
Reading | ################################################## | 100% 0.00s
avrdude: verifying ...
avrdude: 1 bytes of fuse5 verified
avrdude: reading input file "0x00"
avrdude: writing fuse8 (1 bytes):
Writing | ################################################## | 100% 0.01s
avrdude: 1 bytes of fuse8 written
avrdude: verifying fuse8 memory against 0x00:
avrdude: load data fuse8 data from input file 0x00:
avrdude: input file 0x00 contains 1 bytes
avrdude: reading on-chip fuse8 data:
Reading | ################################################## | 100% 0.00s
avrdude: verifying ...
avrdude: 1 bytes of fuse8 verified
avrdude done. Thank you.
thank you