how can I change the Boot Mode from Flash to UART.
Witch Pins are used for select the Boot Mode?
Thanks and Regard
there’s no in-built serial bootloader on S32K144. To support this requirement, it is necessary to use flash resident SW bootloader.
Currently there’s only Rappid bootloader which supports S32K144:
Direct link to the bootloader:
The Rappid bootloader does not use a pin to tell the bootloader if bootloader or application should start.
After reset, the Rappid bootloader is always started. The bootloader starts to search for valid boot header (part of application image). See please user manual and release notes for details. There’s RCHW, start address, delay and app key in this section. If valid boot header is found, the bootloader waits for defined delay (value defined in boot header) – if Rappid Bootloader (application running on PC) sends a request for update during this delay then bootloader is started and we can update user application (or read the flash memory or erase the flash memory). If the request is not received then user application is started.
If this bootloader is not sufficient for you, it is necessary to develop own bootloader. Here is an example of such bootloader:
I wrote this for PowerPC devices but the principle is the same. I’m sharing this just to have clue how it works. If you write own bootloader, you can use any condition to start the bootloader (state of GPIO pin after reset, command received via serial interface, key in the flash memory…).
thank you for answering my question.
But I need some more Information:
I found this document (see attachment) to the RAppID Bootloader. Is it true for S32K144 too.
Has the S32K144 a Boot assist Module (BAM) ?
When yes, where can I find the protocol to communicate with the BAM ?
When I buy a brand new S32K144 is then the Rappid bootloader located in the Flash, or need I for the first programming the JTAG?
Gesendet: Mittwoch, 17. Mai 2017 12:29
An: Köhler, Lutz <email@example.com>
Betreff: Re: - Re: S32K144 Boot Mode
NXP Community <https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>
Re: S32K144 Boot Mode
reply from Lukas Zadrapa<https://community.nxp.com/people/lukaszadrapa?et=watches.email.thread> in S32K - View the full discussion<https://community.nxp.com/message/906236?commentID=906236&et=watches.email.thread#comment-906236>
Yes, latest version of Rappid bootloader supports also S32K144.
No, there's no BAM on S32K144. This device supports only boot from internal flash.
Flash on brand new S32K144 device is in erased state. Nothing is pre-programmed. Rappid bootloader must be programmed to the flash by JTAG.
it is planned, that the S32K144 gets a BAM in the future?
Gesendet: Mittwoch, 17. Mai 2017 13:11
reply from Lukas Zadrapa<https://community.nxp.com/people/lukaszadrapa?et=watches.email.thread> in S32K - View the full discussion<https://community.nxp.com/message/906239?commentID=906239&et=watches.email.thread#comment-906239>
Hello Lukas Zadrapa,
How to add RCHW, start address, delay and app key into my ap code?
I follow the release note to do, but s32k144 application doesn't work.
Retrieving data ...