Bootloader_s32K how it works for S32K144

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Bootloader_s32K how it works for S32K144

ソリューションへジャンプ
69,764件の閲覧回数
mrajanna
Contributor V

Hi,

Can I get any guide to understand the working scenario of boot loader example.

pastedImage_1.png

Background:

I am designing and implementing the boot loader, primary responsibility of boot loader will be to update MCU firmware to flash memory.

Boot loader shall be receiving MCU firmware binary(segregated into 'X' parts ) sequentially over UART from teraterm/putty.

I don't have prior experience of writing boot loader. Any guide would be very much helpful to me.

I have gone through flash_partitioning_s32k144 example and comfortable in reusing it for flash programming.

Also please suggest which format of binary is good to consider, i.e srec,hex,bin,..... ?

Thanks

Mohan

ラベル(3)
1 解決策
38,230件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi Mohan, 

yes - that's way how for example RAppID bootloader works. Boot loader part is flashed from 0x0000 to 0x2000  and bootloader is flashing application from 0x2000 address. 

After reset is RAppID bootloader waiting for new firmware till timeout occurs. Then is executed application (if it is present). 

In your case may be better idea (to save boot time) after reset check some GPIO pin (set by master MCU as a update request flag) - if the update is not requested - execute your existing firmware without any delay (if is present in the Flash memory).

Jiri 

元の投稿で解決策を見る

42 返答(返信)
455件の閲覧回数
Vivek_123
Contributor I

can you share the source code for java applicaion(Bootloader interface) which is used to send the SREC File.

0 件の賞賛
返信