AnsweredAssumed Answered

Changing parameters on the fly, when the code was generated with PE

Question asked by O M on Jul 10, 2013
Latest reply on Jul 10, 2013 by Erich Styger

Hi

 

I started to use PE and suddenly I realize that it might not be the right tool to use, cause when I configure parameter in the PE, it is hard coded in the code that is generated.

 

For example:

Suppose I created driver for UART, with baud rate of 115200.

Suppose that the user of my program wants to send me a message to change baud rate to 9600, on the fly, while the program is running.

 

Can it be done?

 

(Cause I set the baud one tine in PE, compile it (with IAR) and then it is fixed)

 

Can I tell PE that I want to add a Auto created function that does some activity – like change the baud rate on the fly ?

(Or do something else)

 

Thanks a lot

  OM

 

Outcomes