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
Hi Norman:
Thank you for your feedback. I will submit a feature improve request to the developer team.
Regards
Daniel