On Nov 27, 2008, at 7:37 AM, Spen wrote:
Subject: Re: [Openocd-development] Patch to remove deprecated commandsCommitted. Thanks!The docs still talk about the old commands - chapter 4.7
I mentioned that I hadn't updated all the docs yet. That is part of a larger docs update.
personally i did find writing working_area 0 0x20000000 0x2000 nobackup easier than[new_target_name] configure -work-area-virt 0 -work-area-phys 0x20000000-work-area-size 0x2000 -work-area-backup 0 for the average user is this really an improvement?
The big advantage is that the working area is now explicitly tied to the target. If you are dealing with multiple targets, it needs to be clear which target the working area is associated with. For new users, it removes the need to know implicitly that the working area is tied to a target. Overall, it is more typing, but should be easier for new users to understand.
i thought the original idea was to hide this but give the user the abilityto use tcl if they so wished.
The base commands (those implemented in the C portions of the codebase) should be clear and explicit. This is likely to make them somewhat verbose. Shortcuts and obsolete syntaxes can be handled by providing TCL scripts that implement them based on the base commands. That way the base commands can support large configurations including multiple targets and, hopefully, multiple interfaces and jtag chains while the old single-target syntax can be provided for users that wish to do so.
I expect that all of the included configs will use the base commands and avoid including TCL scripts.
Cheers Spen
-- Rick Altherr [EMAIL PROTECTED]"He said he hadn't had a byte in three days. I had a short, so I split it with him."
-- Unsigned
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development