DSPRelated.com
Forums

Disabling code generation for one bean with processor expert

Started by Hardeep October 5, 2005
Hi,

I was wondering if it's possible to freeze code generation for one
bean. When I right clicked on the bean, there is an option for Code
Generation >> Don't Write Generated Bean Modules. I selected this and
it seemed to work, however, when opening the project today and
compiling the project, all my previous changes were overwritten. Can
someone please tell me what i'm doing wrong and if there is a better
way to just freeze one bean's code generation?

Thanks.
Hardeep Gida


Freescale has posted 14 training videos on different Processor
Expert features. They range from 1 to 3 minutes long and cover
variety of topics, including how to preserve user code (disabling
code generation). You can find them on all 56800/E product summary
pages, including CodeWarrior one:

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CWS-
568-CX&srch=1#Training_Reference_Material

For your particular question, see file titled 11PESWPRESERVE3MM
Processor Expert: Preserving User Code: Modular Method

There are 3 other ways you can disable code generation, which could
be interest to you. See files titled:

9PESWPRESERVE2MM Processor Expert: Preserving User Code:
Suspend
Method
10PESWPRESERVE2MM Processor Expert: Preserving User Code:
Freeze
Method
12PESWPRESERVE4MM Processor Expert: Preserving User Code: Track
Changes Method --- In motoroladsp@moto..., "Hardeep" <hgida@v...> wrote:
> Hi,
>
> I was wondering if it's possible to freeze code generation for one
> bean. When I right clicked on the bean, there is an option for
Code
> Generation >> Don't Write Generated Bean Modules. I selected this
and
> it seemed to work, however, when opening the project today and
> compiling the project, all my previous changes were overwritten.
Can
> someone please tell me what i'm doing wrong and if there is a
better
> way to just freeze one bean's code generation?
>
> Thanks.
> Hardeep Gida