Can't update program by I2C using KBOOT2.0 +buspal

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

Can't update program by I2C using KBOOT2.0 +buspal

622 Views
ConstYu
NXP Employee
NXP Employee

My custome need to use I2C to update KL43's program, i tried on FRDM-KL43 board(target) +FRDM-KL25 board(work as buspal), i am sure the hardware connection is OK, the KL43 has entered into bootloader, and add external pull up resister, the KBOOT version is V2.0. but it always can't program the KL43 on FRDM-KL43 board, the problem is as below, looks i have connected with KL43 by I2C, but can't execute other command, even get property and erase flash.

Is there any missing or special setting? any comment is welcome.

Capture.JPG

0 Kudos
1 Reply

484 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Ningning Yu:

For any command you must add the -b or --buspal command line option together with the I2C parameters to make blhost aware that you are using buspal. See below an example for the "get property" command:

pastedImage_0.png

I got this successful response with the same setup (FRDM-KL25Z to FRDM-KL43Z).

Let me know if you still have issues.


Best Regards!,
Jorge Gonzalez

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

0 Kudos