KE06 Bootloader using processor expert

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

KE06 Bootloader using processor expert

806 Views
thaophan
Contributor II

Hi everyone,

I want to build a bootloader program for MKE06Z128 using processor expert (Codewarrior 10.7). It uses UART for communication and  a terminal program(I don't wanna use Kboot or AN2295SW).I follow this post (Serial Bootloader for the Freedom Board with Processor Expert | MCU on Eclipse ) from Mr Erich Styger. But I have faced a  problem at the step to determine running bootloader or not. In this step BL_CheckForUserApp() has to be added in the cpu processor expert component to run before main()

User Code before PE initialization

But MKE06 cpu processor expert does not have user initialization properties so I don't know how I have to do this step.

pastedImage_381.png

My question is:

Where can I put BL_CheckForUserApp() to figure out bootloader or application program should be run?

or How can I create a bootloader program with processor expert for mke06?

Thank in advance.

0 Kudos
4 Replies

582 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Thao Phan  ,

You can add the function BL_CheckForUserApp() into your project source code manually.

BR

Alice

0 Kudos

582 Views
thaophan
Contributor II

Hello Alice_Yang

Thank you for you reply.

But i can't understand how it will work. 

Did you do bootloader for MKE06 using PE before? Could you share your example?

Regards

Thao

0 Kudos

582 Views
mjbcswitzerland
Specialist V

Hi Thao

Although you can't generate it with PE there are SREC/iHEX (and others) serial loaders for the KE06 at http://www.utasker.com/kinetis/FRDM-KE06Z.html which can be built with most IDEs. It can also be built for any other Kinetis part so don't need porting or suffer from missing libraries or generation components.

Regards

Mark

Kinetis: http://www.utasker.com/kinetis.html
Kinetis KE:
- http://www.utasker.com/kinetis/FRDM-KE02Z.html
- http://www.utasker.com/kinetis/FRDM-KE02Z40M.html
- http://www.utasker.com/kinetis/FRDM-KE04Z.html
- http://www.utasker.com/kinetis/FRDM-KE06Z.html
- http://www.utasker.com/kinetis/FRDM-KE15Z.html
Serial Loader: http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.pdf

Free Open Source solution: https://github.com/uTasker/uTasker-Kinetis
Working project in 15 minutes video: https://youtu.be/K8ScSgpgQ6M

For better, faster, cheaper product developments consider the uTasker developer's version, professional Kinetis support, one-on-one training and complete fast-track project solutions to set you apart from the herd : http://www.utasker.com/support.html

0 Kudos

582 Views
thaophan
Contributor II

Hi Mark Butcher

Thank you for your reply. 

I'll try it. But my application is built in CW10.7 and using Processor Expert. Does it matter if bootloader is built in another IDE?

Regards

Thao

0 Kudos