KEA128 boot

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

KEA128 boot

729 Views
fupeng
Contributor II

I'm using keil5 to develop KEA128 chip,  I want to know how to do the boot software and app software.Can you help me?

Labels (1)
0 Kudos
3 Replies

530 Views
miduo
NXP Employee
NXP Employee

Hi,

Please let me know what KEA128 board you used? The NXP board or your customer board?

0 Kudos

530 Views
fupeng
Contributor II

Hi,

      It's our customer board.

      I find some other IDE's bootloader project.I know how to jump from bootloader to application.But how to set the interrupt vector in the application?

0 Kudos

530 Views
mjbcswitzerland
Specialist V

Hi

There are also KEA128 boot loaders here:
http://www.utasker.com/kinetis/TRK-KEA128.html
http://www.utasker.com/kinetis/FRDM-KEAZ128Q80.html

A guide to application/ bootloader compatibility can be found in the appendix of its user's guide:
http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.PDF

To enter interrupt sat the application there are two methods:
- leave in Flash and set the VBA to the flash location (must be on a 256 byte boundary for KEA128)
- enter in SRAM and set the VBA to the SRAM address (same alignment requirement).

In the uTasker project RAM based vectors are entered with (for example):
fnEnterInterrupt(irq_I2C0_ID, PRIORITY_I2C0, _I2C_Interrupt_0);

Free Open Source solution at http://www.utasker.com/kinetis.html with KEA128 simulation for turn-key KEA128 solution, including Keil uVision5 project.

Regards

Mark

0 Kudos