AnsweredAssumed Answered

MQX missing BWT in MCF5225.h

Question asked by Carl Norman on Aug 25, 2015
Latest reply on Sep 1, 2015 by Daniel Chen

When the next release happens can someone please update the mcf5225.h file to include the BWT (location Freescale_MQX_4_2\mqx\source\psp\coldfire)

 

Like this:

 

typedef struct mcf5225_struct

{

...

// unsigned char                     filler10[0x10000];

   MCF5225_WATCHDOG_STRUCT BWT; //ADD THIS PLEASE

...  

} MCF5225_STRUCT, * MCF5225_STRUCT_PTR;

typedef volatile struct mcf5225_struct * VMCF5225_STRUCT_PTR;

 

Would also be nice if you could change fatal errors etc to call a reboot like this

 

#define REBOOT_ON_FATAL_ERROR

 

and have

void _mqx_fatal_error

(

    _mqx_uint error

)

{ /* Body */

#ifdef REBOOT_ON_FATAL_ERROR

  VMCF5225_STRUCT_PTR reg_ptr = (VMCF5225_STRUCT_PTR)(0x40000000); //Multicom

  reg_ptr->CCM.RCR |= (1 << 7); //Multicom

#else

...

 

Same thing in

 

_int_unexpected_isr

Outcomes