Hello All:

  Thank you very much for your work and effort on OpenOCD project which we find 
way useful and interesting.

  We've managed to make it work for our custom board developed based on an 
ARM9 chip. My question is related to events. I'd like to take control over cpu 
once the chip has been detected and the target created. This way target is 
reset and halted as soon as possible.

The line I'm using is this:

target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position 
$_TARGETNAME -variant arm926ejs

  Initially, I started with a reset-init hook function, declared like this:

$_TARGETNAME configure -event reset-init { init-function }

  but it seems that 'reset-init' is not implemented yet, and I'm also not sure 
that this is the right event to handle. I've also tried hooking 'reset-
deassert-post' but it is not called either.

  I'm using Debian svn r1409 or self build r1411.

  Is there an implemented event handling this situation? If so, which one 
would it be?

  If this requires not much complicated coding I could see the possibility to 
code it myself, with some indications, of course :)

  Regards,

-- 
Raúl Sánchez Siles

Departamento de Montaje

INFOGLOBAL, S. A.

* C/ Virgilio, 2. Ciudad de la Imagen.
28223 Pozuelo de Alarcón (Madrid), España
* T: +34 91 506 40 00
* F: +34 91 506 40 01



_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to