OK6410 learning JlinkV8 firmware repair
Really lucky, get up early in the morning to use the uboot compiled last night to try a lamp, Jlink is connected in a row, the light is not on, I'll let it go !! I thought it may be a coincidence. Try again. practice proves that it is just my wishful thinking. Well, think about it carefully. If there is no network, you cannot use tftp to burn the data. The speed of serial port burning is not flattering, does it make Jlink useless like this, 80 oceans ah, decisively pick up the host, Baidu, said that it is necessary to fix the firmware, suddenly remembered that when preparing to make Jlink some information, take it out.
Let's get started:
I. In the process of use, we may be due to improper operations caused by the Jlink firmware damage, so we need to re-burn the firmware, first install the firmware burning software AT91-ISP, after installing the software, see:
Ii. Erase the chip and switch to the programming mode.
1. Open the Jlink outer box and see the board shown in figure
2. Use a USB connection to connect Jlink and PC (Power Supply for Jlink)
3. In the transient connection, the two passing holes of A are about 10 s, disconnect, and unplug the USB connector.
4. Use USB to power Jlink again after connecting two backholes of B, and stop power supply after 10 s.
5. Disconnect B through the hole.
Iii. Install firmware
1. Open the desktop SAM-PROGv2.4, the following settings:
2. Use USB to connect the PC and Jlink, and then click "Write Flash" to wait for the data to be written,
3. Unplug the USB connection and try again.
:
When using Jlink, If you accidentally close the JTAG by using the program, do not worry. The following method can help you solve the problem:
Symptom: No Cortex-M Device found in JTAG chain. Or cocould not find any flash .....................
Cause: the JTAg function is disabled for the burned program and the JTAG interface is reused. As a result, JTAG cannot be used normally. In this case, you need to use the serial port to download a program. This program does not close the JTAG, and then you can normally re-use the JTAG. Method 2: The JTANG port function can be restored after the chip code is erased. Start with -- SEGGER -- JLink ARM -- open J-flash ARm (find the installed J-Link driver, I am using SEGGER's Jlink connector, installed with the V4.12 driver) -- menu Options -- project
Settings -- CPU -- select your chip model -- Target interface -- select SWD--OK -- then select Target option -- connect -- and then select Eraser chip to solve the problem, test success !!!!
:
I found another situation. One of my colleagues successfully solved the problem!
Http://bbs.ednchina.com/BLOG_ARTICLE_2115963.HTM