Spencer Oliver wrote:
>> With jlink on cortex M3 boards (ST Mic), "halt reset" works 
>> OK. But with
>> STR712 board (ARM7TDMI) it doesn't work and I have to do 
>> "soft_reset_halt". I don't remember the exact failure with 
>> "halt reset" 
>> with ARM7 since I don't have anything setup right now.
>>
> 
> just tested with a jlink (v6) and str712 - reset halt is working this end.
> make sure the reset line is correct - the srst internally pulls the trst on
> this target.
> for info i used:
> reset_config trst_and_srst srst_pulls_trst
> 
> Cheers
> Spen

We have an STR712 board by Olimex but (actually, an IAR kickstart 
board). We can do the "halt reset" with no  errors but it does not do a 
clean reset (the PC does not go to zero). With soft_reset_halt it does 
go back to zero. There are no errors logged in either case. 
soft_reset_halt just gives a cleaner reset.

However, halt reset gives a clean reset with STM32 boards and I use it 
for them.

Also, when we put in the reset_config ...  shown above the debug session 
becomes non-functional but no openocd errors are logged.

-gene






_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to