More bug fixes and modularity for the ARM debug port
Centralize retry count settings
Milestone: successfully blinking an LED on debug target