ARM11_HANDLER(register_commands),
ARM11_HANDLER(target_command),
ARM11_HANDLER(init_target),
+ ARM11_HANDLER(examine),
ARM11_HANDLER(quit),
};
if (target->state == TARGET_HALTED)
{
- LOG_WARNING("target was already halted");
- return ERROR_OK;
+ LOG_DEBUG("target was already halted");
+ return ERROR_OK;
}
if (arm11->trst_active)
}
int arm11_init_target(struct command_context_s *cmd_ctx, struct target_s *target)
+{
+ /* Initialize anything we can set up without talking to the target */
+ return ERROR_OK;
+}
+
+/* talk to the target and set things up */
+int arm11_examine(struct command_context_s *cmd_ctx, struct target_s *target)
{
FNC_INFO;