From 5825b11d0b14a6ba74913401f7d4da4141ae1e23 Mon Sep 17 00:00:00 2001 From: Nav Date: Mon, 8 May 2023 13:24:45 +0100 Subject: [PATCH] Added suggestion to check OCDEN fuse bit, in error message for DEVICE_NOT_UNDER_CONTROL error. --- .../VendorSpecific/EDBG/AVR/Exceptions/Avr8CommandFailure.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/Exceptions/Avr8CommandFailure.hpp b/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/Exceptions/Avr8CommandFailure.hpp index 6a227886..976433a8 100644 --- a/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/Exceptions/Avr8CommandFailure.hpp +++ b/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/Exceptions/Avr8CommandFailure.hpp @@ -132,7 +132,7 @@ namespace Bloom::DebugToolDrivers::Protocols::CmsisDap::Edbg::Avr {Avr8CommandFailureCode::ILLEGAL_CONTROL_OR_STATUS_BITS, "Illegal control/status bits"}, {Avr8CommandFailureCode::CRC_MISMATCH, "CRC mismatch"}, {Avr8CommandFailureCode::FAILED_TO_ENABLE_OCD, "Failed to enable OCD"}, - {Avr8CommandFailureCode::DEVICE_NOT_UNDER_CONTROL, "Device not under control"}, + {Avr8CommandFailureCode::DEVICE_NOT_UNDER_CONTROL, "Device not under control - check OCDEN fuse bit (if applicable)"}, {Avr8CommandFailureCode::ERROR_WHEN_READING_PC, "Error when reading PC"}, {Avr8CommandFailureCode::ERROR_WHEN_READING_REGISTER, "Error when reading register"}, {Avr8CommandFailureCode::ERROR_WHILE_READING, "Error while reading"},