commonreginitialization.prg problems

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

commonreginitialization.prg problems

595 Views
zhaowum
Contributor II

Dear anyone who read this:

I found a bug in PE:

When you add a Init_UART in you project, here my chip is KL02z32, It seems that you can't setting the interrupt of the uart to 1-3, or you will get an error when you generate PE code.

the error is as following:

Description Resource Path Location Type
Generator: FAILURE: Unexpected status of script: Drivers\Common\CommonRegInitialization.prg, please contact Freescale support. R485Repeator Cpu Processor Expert Problem

But the setting 0 works well.

anyway, I have not checked on the datasheet, maybe the interrupt of uart is limited on int0...maybe I will study the datasheet a few hours later and I will update in the following posts if there are any needed.

Thanks for reading and anything for all~ and hope there are fixes for this issue( or this bug.)

BR.

/Zona

0 Kudos
1 Reply

393 Views
zhaowum
Contributor II

Hi all:

I have read the datasheet MKE02P064M40SFORM.PDF, and it is in the page52. It said that the NVIC IPR rigister number of the UARTx is 3, is it means fixed in 3?

But why in KDS3.2, the pe only can work when the interrupt level set in 0?

Anyone can help to make me clear?

Thanks for reading.

BR.

/Zona

0 Kudos