From 2b7864e9085324162e3764df2e8de0cccc4b99c5 Mon Sep 17 00:00:00 2001 From: Nav Date: Mon, 21 Mar 2022 13:05:08 +0000 Subject: [PATCH] Tidying --- .../CMSIS-DAP/VendorSpecific/EDBG/AVR/EdbgAvr8Interface.cpp | 2 +- src/Targets/Microchip/AVR/AVR8/Avr8TargetConfig.hpp | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/EdbgAvr8Interface.cpp b/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/EdbgAvr8Interface.cpp index e4362d5f..88fd9d1d 100644 --- a/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/EdbgAvr8Interface.cpp +++ b/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/EdbgAvr8Interface.cpp @@ -250,7 +250,7 @@ namespace Bloom::DebugToolDrivers::Protocols::CmsisDap::Edbg::Avr this->disableDebugWire(); Logger::warning( "Successfully disabled debugWire on the AVR8 target - this is only temporary - " - "the debugWire module has lost control of the RESET pin. Bloom will no longer be able to " + "the debugWire module has lost control of the RESET pin. Bloom may no longer be able to " "interface with the target until the next power cycle." ); diff --git a/src/Targets/Microchip/AVR/AVR8/Avr8TargetConfig.hpp b/src/Targets/Microchip/AVR/AVR8/Avr8TargetConfig.hpp index 2e1d91f7..e1f2527f 100644 --- a/src/Targets/Microchip/AVR/AVR8/Avr8TargetConfig.hpp +++ b/src/Targets/Microchip/AVR/AVR8/Avr8TargetConfig.hpp @@ -59,6 +59,12 @@ namespace Bloom::Targets::Microchip::Avr::Avr8Bit */ bool cycleTargetPowerPostDwenUpdate = true; + /** + * When cycling target power after updating the DWEN fuse bit, we wait for a number of milliseconds, for the + * target to power-down and back up. + * + * This parameter determines how long we wait. + */ std::chrono::milliseconds targetPowerCycleDelay = std::chrono::milliseconds(250); explicit Avr8TargetConfig(const TargetConfig& targetConfig);