First, I think OpenOCD is great! I’m so happy that it exists, thanks to everyone for their contributions. I think for those of use who are trying to get started with OpenOCD, it is confusing coming up with the right “script” for our respective ARM processor.
Since others have gone through this trouble for almost all (if not all) variants supported by OpenOCD, can we collect an example script per processor (or processor family if it works across the variants) and put them up at the OpenFacts page?
It would be nice if we documented any caveats or interesting issues per config file / family. There are some examples around, but, for example, it took me some Googling to find one for the LPC2103 that I’m using. I’m still not sure if the LPC 2xxx families are all the same, and what options differ for the flash programming, etc.
Instead of relying on users’ pages for information on how to get this going, we should try to fold this information back into OpenOCD itself.
I would be happy to contribute my part – I can help write English documentation and/or correct grammar and spelling issues. Can we get something going here?
Heh, guess Laurent’s point is that while it makes sense for the LPC2294 with its external bus to have an external flash configured, there’s little or no use for an external flash on the LPC2129 which doesn’t have an external bus.
OK, the Cumarjo one is not wrong, but adding CFI configuration for LPC2129 is not possible since the LPC2129 does not provide any external bus ! This will just generate troubles to the other users!
It is important to provide correct .cfg examples !
I have only take the generic lpc from the yagarto and modify it to use it on flash based. But i’m not an expert at thoses thing. If this should not be there, i will remove it.