1
NXPTM M522XX, KINETIS and i.MX RT / Re: MK22FN1M0VLH12 port using Blaze_K22
« on: August 16, 2017, 05:25:11 PM »
I found it. It was actually the EZPORT that needed to be disabled as you already had the NMI disabled. It is effected by the same pin (PTA4).
I changed:
#define KINETIS_FLASH_CONFIGURATION_NONVOL_OPTION (FTFL_FOPT_EZPORT_ENABLED | FTFL_FOPT_LPBOOT_NORMAL | FTFL_FOPT_NMI_DISABLED)
to
#define KINETIS_FLASH_CONFIGURATION_NONVOL_OPTION (FTFL_FOPT_EZPORT_DISABLED | FTFL_FOPT_LPBOOT_NORMAL | FTFL_FOPT_NMI_DISABLED)
Now all is well for booting every time on power up!
Now I'll just cleanup the FORCE_BOOT() decision and I think I'm done. Thanks for the help, Mark!
I changed:
#define KINETIS_FLASH_CONFIGURATION_NONVOL_OPTION (FTFL_FOPT_EZPORT_ENABLED | FTFL_FOPT_LPBOOT_NORMAL | FTFL_FOPT_NMI_DISABLED)
to
#define KINETIS_FLASH_CONFIGURATION_NONVOL_OPTION (FTFL_FOPT_EZPORT_DISABLED | FTFL_FOPT_LPBOOT_NORMAL | FTFL_FOPT_NMI_DISABLED)
Now all is well for booting every time on power up!
Now I'll just cleanup the FORCE_BOOT() decision and I think I'm done. Thanks for the help, Mark!