Unable flash WPR1516 with binary file using Jlink.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Unable flash WPR1516 with binary file using Jlink.

跳至解决方案
1,281 次查看
jayesh_joshi
Contributor IV

Hi All,

We are using WPR1516  in our system. We need to flash the .bin file in the WPR1516 controller using Jlink. 

We can connect to the WPR1516 core but we can not flash the firmware.  Please find an attached image of the Jlink command with an error message.

jayeshj_0-1649851543027.png

 

FYI, I can load firmware using IAR tool v9.10. 

标记 (2)
0 项奖励
1 解答
1,176 次查看
jayesh_joshi
Contributor IV

@xiangjun_rong 

 

We need to change the controller selection from WPR1516 to WPR1516 (ALLOW SECURITY). After this selection, we are able to flash using Jlink Commander. 

 

Can you help me understand the reason behind this behavior? e.g. What difference does it make to change WPR1516 to WPR1516 (ALLOW SECURITY)? I have seen this in other NXP controllers. 

在原帖中查看解决方案

0 项奖励
3 回复数
1,256 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Pls try to use the J-Flash to erase/program the on-chip flash with J-link device.

https://wiki.segger.com/UM08003_JFlash

 

Hope it can help you

BR

XiangJun Rong

0 项奖励
1,251 次查看
jayesh_joshi
Contributor IV

@xiangjun_rong 

 

I was unable to flash using JFlash.exe as it requires some license and as we have Jlink Base we can not get that license. But I have tried with JFlash Lite.exe and still, there were issues in the flashing.  Please find attached a screenshot. FYI, Erase is successful.

Are we still missing any steps for flashing?

jayesh_joshi_0-1649935084399.png

 

0 项奖励
1,177 次查看
jayesh_joshi
Contributor IV

@xiangjun_rong 

 

We need to change the controller selection from WPR1516 to WPR1516 (ALLOW SECURITY). After this selection, we are able to flash using Jlink Commander. 

 

Can you help me understand the reason behind this behavior? e.g. What difference does it make to change WPR1516 to WPR1516 (ALLOW SECURITY)? I have seen this in other NXP controllers. 

0 项奖励