KL16 flash ROM problem

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

KL16 flash ROM problem

932 Views
takashikonno
Contributor I

The flash ROM data of MKL16Z128VFM4 has been rewritten and the program has not started. What are the possible causes?

0 Kudos
7 Replies

749 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Takashi Konno,

    KL16 don't have the ROM, it just has the flash.

    Do you mean you download the code to the KL16 flash, but it doesn't work?

   I suggest you to use the official code, and download it, debug it, to check the details.

  You can download the SDK from this link:

  https://mcuxpresso.nxp.com/en/select 

Any updated question, just let me know!

Have a great day,
Kerry

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

749 Views
takashikonno
Contributor I

Dear Kerry

I checked the operation by writing the program to the flash.

However, there was a problem that the program did not operate when the

power-on startup was repeated afterwards.

It seems that the flash program data has been overwritten and lost.

It will work again by writing to the flash again.

This problem is not reproducible.

T Konno

0 Kudos

749 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi T Konno,

   Before you write the flash, please erase that area at first, then program it.

   When you do the flash operation, please disable the global interrupt.

   If you still have problem, you can give me your test project, I will help you to check it.

Kerry

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

749 Views
takashikonno
Contributor I

Dear Kelly

    Thank you for your reply.

    We handle your advice.

    Unfortunately we can not send a test program.

    Is there a possibility of hardware rather than software?

    For example, ESD, reset timing, UART timing of the boot loader, etc.

T Konno

0 Kudos

749 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Takashi Konno,

   Do you mean you are using UART flash bootloader?

If yes, you can refer to the KBOOT2.0, KL25 bootloader: www.nxp.com/kboot

 You also can refer to this post for KL26 bootloader:

How to make MKL26Z128 be recognized by KBOOT Flash Tool Utility? 

Kerry

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

749 Views
takashikonno
Contributor I

Dear Kerry

    Thank you for the information.

    I will continue checking the operation with reference to the

information

T Konno

0 Kudos

749 Views
kerryzhou
NXP TechSupport
NXP TechSupport

OK, after you check it, if you have question, just let me know!

Kerry

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos