> 
> Today we have found the problem why previous attempts to 
> debug FA5226 failed! The reason is that arm9tdmi has
> 5 stage pipeline while FA526 6 stage one.
> 
> Currently I have modified arm9tdmi_read_xpsr to do one extra 
> NOP per command and CPU halted successfully!
> Since I am very new to OpenOCD I want to ask how should I 
> implement FA526 support? Should I modify arm9tdi by adding 
> conditional extra NOP execution or should I create new fa526.c?
> 

I would suggest creating a separte fa526.[ch] with just the 526 specific
stuff in.
A similar process happened with the feroceon support if you want an example
to look at.

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

Reply via email to