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.
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.
Best regards,
Pavel
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
Dear pavel:
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.
Best regards,
Pavel
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
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
Do a mass erase.
blhost -p COMxx write-memory 0 C:\root_example\Debug\led_blinky.bin
The flashing was done.
Remove the ISP jumper and reset your device.
Best regards,
Pavel