Why we need merge bootloader and application images?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why we need merge bootloader and application images?

707 Views
huyrua291996
Contributor I

Hi,

I'm a newbie. I am working on chip mke02z16vlc (40MHz). I have a question, once we update firmware via UART, we have to flash bootloader again, dont we?

And one time we want to upgrade firmware via UART, we need merge bootloader and application images?

Any body explain for me, thanks

Labels (1)
0 Kudos
5 Replies

547 Views
mjbcswitzerland
Specialist V

Hi Huy

There should be no reason to need to upload the boot-loader again each time a new application is loaded - if this hapens there is probably something wrong with the loader being used.
See the following for UART loader for the FRDM-KE02Z40M which you can try that doesn't have this problem.
http://www.utasker.com/kinetis/FRDM-KE02Z40M.html

Regards

Mark

0 Kudos

547 Views
huyrua291996
Contributor I

If i only use the code that describe in AN2295 and AN4767, must it be?

0 Kudos

547 Views
mjbcswitzerland
Specialist V

Huy

AN2295 is the developer's serial loader. There is an implementation of this in the uTasker project and it doesn't need the loader to be reloaded after each use, which suggest that there is a problem with your implementation or use.

I have attached binary files for the FRDM-KE04Z40M:
- uTaskerSerialBoot_FRDM-KE02Z40M_DevelopersSerialV8.bin is an image built for the Developer's loader V8 and communicates at 38400 Baud.
- uTaskerV1.4.12_FRDM-KE02Z40M_Blinky.bin is a small application for the same board that can be loaded with this loader's utility. It is linked to the address 0x2800.

Note that the developer's loader is very old and has been superseded by the KBOOT loader. For added flexibility, the uTasker version also includes SREC and Hex loading via UART (as well as Developer's serial loader and KBOOT compatible), which tend to be more popular since they doesn't require a loader program to be installed by the user.

Regards

Mark

0 Kudos

547 Views
huyrua291996
Contributor I

Hi Mark,

Now I have a FRDM-KE02 board. Can you help me step by step to bootloader with uTasker

I use CodeWarrior

Thanks

0 Kudos

547 Views
mjbcswitzerland
Specialist V
0 Kudos