Hello Linklai,
Could you please confirm that you followed the JN-AN-1244, Chapter 6: Over-The-Air (OTA) Upgrade? Also, please take a look at the JN-UG-3132 Cluster Library (inside JN5189 SDK folder > docs > wireless > Zigbee), Chapter 49: OTA Upgrade Cluster.
Just to confirm the behavior that your application presents, could you please try the building using OTA=0?
Regards,
Eduardo.