LPCXpresso804 I2C based Secondary Bootloader command clarification

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

LPCXpresso804 I2C based Secondary Bootloader command clarification

549 Views
roshanmohammed
Contributor I

Hi All,

Firmware update is successful when tested with I2C-utils.exe from PC to LPCXpresso804 EVK via LPCXpresso54102(I2C to USB Convertor).

Referred the document AN12373 and followed the steps below

1. Press the Reset button to boot the application image.
2. Issue the f command to pull nHostIRQ low.
3. Press the Reset button to reset the LPCXpresso804 Board.
4. Issue the g command to program nHostIRQ as input.
5. Issue the 8 command to send the GetVerision.
6. Issue the 1 command to update the firmware, and then input the name of Firmware.
7. Issue the b command to BOOT the latest firmware.

But in actual case we are updating firmware from host processor to LPCXpresso804 via i2c. We are not using a USB converter.

So we followed the same steps provided by document AN12373 which is showing above. Able to take the MCU to SBL mode by following steps 1 to 4.

Then we followed one more document AN11610 for understanding the i2c communication for the steps 5-7 in AN12373 showing above.

From document AN11610 , We understood that slave addresses are 0x18, 0x30 and 0x1C.

The explanation for the 6th step Get version is shown below

roshanmohammed_1-1653037785599.png

 


As per my understand I tried to write the 0x00 address offset to a value 0XA1. I choose the slave address as 0x18. 

Later i passed the command i2cdump -y 0 0x18 for reading the registers, I got the output showing below

roshanmohammed_0-1653037706676.png

 


So, Please clarify that what i are the exact process happening while passing commands from 6-8 steps.

Labels (2)
0 Kudos
1 Reply

525 Views
CarlosGarabito
NXP TechSupport
NXP TechSupport
0 Kudos