Jlink configuration for LPC2478

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

Jlink configuration for LPC2478

1,491 次查看
Usefi5961
Contributor I

hello everyone:

Does anyone help me for setting segger jlink for reading and programming LPC2478  .because I can't  read and program this arm7.speed setting clock and address setting and all true parameters for jlink (all project setting parameters)

Thanks.

0 项奖励
回复
7 回复数

1,470 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, my name is Pavel, and I will be supporting your case, if you are using the J-Link I recommend download the J-Link commander on this you could be able to flash the MCU.

Pavel_Hernandez_0-1733777392401.png

 

Best regards,
Pavel

0 项奖励
回复

1,465 次查看
Usefi5961
Contributor I

Thank you very much for reply ,I try to download commander but how use it and set up configuration can you please more detail.

Thanks.

0 项奖励
回复

1,414 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, maybe this thread could help you on it.

Unlocking and Erasing FLASH with Segger J-Link | MCU on Eclipse

there is a section about the Jlink commander and other options.

Best regards,
Pavel

0 项奖励
回复

1,404 次查看
Usefi5961
Contributor I

Dear pavel:

  • Thank you very much  for  reply,how can I know the  chip is encrypted?I only have one of these sample boards that is ok  and working  and I don't want it to be damaged. First, I need to read and creat  backup file,I want know is it locked or not, and then program the defective board.
  • Thanks.
0 项奖励
回复

1,390 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, oh ok, to know if the MCU is locked, I recommend use the blhost and put the command.

blhost -t 2000 -p COM -j -- get-property 11

• 0x11 Flash Security Enabled Flag - Boolean indicating whether flash security is enabled. 0 means disabled; 1 means enabled.

And I'm not sure if the backup that you want to do is from read-back from the MCU, if yes with the blhost could read part of the flash.

chapter 4.2.7 read-memory.

MCUBLHOSTUG.pdf

Best regards,
Pavel

0 项奖励
回复

1,365 次查看
Usefi5961
Contributor I

Thank you very much for reply,sorry I don't  underestand  what do you say,can more detail?step by step.

Thanks.

0 项奖励
回复

1,338 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, you could install SPSDK if you wanted [Installation Guide — SPSDK documentation].

Push the bottom of ISP then put the cable USB to the PC.
blhost -p COMxx  get-property 1

Pavel_Hernandez_0-1734388454405.png
The first command is to check the communication.

blhost -p COMxx  get-property 11

Response status = 0 (0x0) Success.
Response word 1 = 512 (0x200)
Max Packet Size = 512 B
Security State = UNSECURE

blhost -p COMxx flash-erase-all

Pavel_Hernandez_1-1734388476171.png
Do a mass erase.

blhost -p COMxx write-memory 0 C:\root_example\Debug\led_blinky.bin

Pavel_Hernandez_2-1734388498188.png

The flashing was done.
Remove the ISP jumper and reset your device.

Best regards,
Pavel

 

0 项奖励
回复