Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » DSDP - Real-Time Software Components (RTSC) » To Rebuild the Package ... or not
To Rebuild the Package ... or not [message #3282] Tue, 19 May 2009 19:44 Go to next message
sgspecker is currently offline sgspeckerFriend
Messages: 8
Registered: July 2009
Junior Member
This seems like a naive question, but I haven't been able to figure out
the answer on my own.

I want to create a RTSC package for an algorithm I've written. I've used
the RTSC Codec Packaging wizard to create the necessary files (.xdc, .xs,
bld) to describe my package. I then ran the TI XDC tools to create the
package. At a later point in time, I went back and fixed some errata in my
algorithm; then rebuilt the library.

Finally, here's the question: If I haven't changed any interfaces, do I
still need to rerun XDC to recreate the package, or can I simply replace
the library in the package.

Personally, I think recreating the package is a better choice, but I'm
working in CCSv3.3 and my process would be less error prone if I could
skip the XDC step. (BTW, any chance CCSv4 and XDC work better together?)
Re: To Rebuild the Package ... or not [message #3316 is a reply to message #3282] Wed, 20 May 2009 14:34 Go to previous message
Dave Russo is currently offline Dave RussoFriend
Messages: 172
Registered: July 2009
Senior Member
sgspecker wrote:
> This seems like a naive question, but I haven't been able to figure out
> the answer on my own.
>
> I want to create a RTSC package for an algorithm I've written. I've used
> the RTSC Codec Packaging wizard to create the necessary files (.xdc,
> .xs, bld) to describe my package. I then ran the TI XDC tools to create
> the package. At a later point in time, I went back and fixed some errata
> in my algorithm; then rebuilt the library.
>
> Finally, here's the question: If I haven't changed any interfaces, do I
> still need to rerun XDC to recreate the package, or can I simply replace
> the library in the package.
If the changes you made do not cause another file to be referenced
(e.g., you did not change any #include's or reference any new modules in
the implementation of the algorithm) and you did not change and
interfaces, your modified package will probably work.

BUT: timestamps of the files within the package will be wrong and the
RTSC tools will not be able to distinguish between the new fixed package
and the old broken package. This can cause problems for users of your
package who have no way to know if they have a good release or not.

Bottom line: you can modify packages "by hand" within your development
environment, but you should _always_ run "xdc release" prior to letting
the package out "into the wild".

>
> Personally, I think recreating the package is a better choice, but I'm
> working in CCSv3.3 and my process would be less error prone if I could
> skip the XDC step. (BTW, any chance CCSv4 and XDC work better together?)
>

What makes your process error prone when running "xdc release"? Perhaps
there is something that can be changed in the tool to avoid having to
avoid using it.
Previous Topic:Memory fill using configuration file
Next Topic:Change "Warning" to "Remark"
Goto Forum:
  


Current Time: Sat Apr 20 03:34:31 GMT 2024

Powered by FUDForum. Page generated in 0.03320 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top