This commit is contained in:
Nav
2022-03-21 13:05:08 +00:00
parent d2dd9441fc
commit 2b7864e908
2 changed files with 7 additions and 1 deletions

View File

@@ -250,7 +250,7 @@ namespace Bloom::DebugToolDrivers::Protocols::CmsisDap::Edbg::Avr
this->disableDebugWire(); this->disableDebugWire();
Logger::warning( Logger::warning(
"Successfully disabled debugWire on the AVR8 target - this is only temporary - " "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." "interface with the target until the next power cycle."
); );

View File

@@ -59,6 +59,12 @@ namespace Bloom::Targets::Microchip::Avr::Avr8Bit
*/ */
bool cycleTargetPowerPostDwenUpdate = true; 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); std::chrono::milliseconds targetPowerCycleDelay = std::chrono::milliseconds(250);
explicit Avr8TargetConfig(const TargetConfig& targetConfig); explicit Avr8TargetConfig(const TargetConfig& targetConfig);