A: recently in the chip of NXP, want to go to the chip to download the program. Initially want to directly use Jlink download, tried, no (practical, may not be configured correctly). Then directly under the ADS1.2 debug, the Jlink driver loaded into the load when the driver config, direct debug can be downloaded Flash program. Toss a day, the program finally downloaded successfully (at the beginning is the Jlink driver config when there is no flash option, re-set the 4.08 version of the Flash option).
B: Another problem is that after downloading the program, you suddenly can't download the program. The debug prompt appears: Could not find supported CPU core on JTAG chain. This only needs to be flash with Flash magic Erase, you can download the program again.
The following is a solution to the above two problems of the specific method, are reproduced from the Internet, in order to review their own, but also share with you.
one: Jlink with ADS1.2 download program to flash 1, add Jlink under Axd
Select Config Target under Options, as shown in the following image:
Click the Add button to add JlinkRDI.dll (make sure you have installed the driver provided by Segger Company, this note installs 3.80a), as shown in the following figure:
After the addition is complete, the following illustration shows:
2, Configuration Jlink
Then, after adding the finished, click Configure, the Jlink Settings dialog box appears, we mainly choose the processor we want to debug, as shown in the following figure:
When you are finished, click OK to complete the setup.
If the Jlink has been connected to the Development Board, and after power-on, the log information will appear in the Jlink connection processor information, as shown in the following image:
3. Commissioning
Once the Jlink is added and the configuration is complete, you can start debugging.
Once we start debugging, once we step or set breakpoints debugging, we will encounter such a problem, as shown in the following figure:
Results can not be debugged, to solve this problem, we need to modify the settings under Ads,
Select the configureprocessor below options, as shown in the following illustration:
The dialog box appears as follows:
Remove the semihosting front tick to resolve the problem , as shown in the following figure:
Click OK, exit Axd, re-debug, this time can be any single step or set breakpoints
II: Jlink tip: Could not find supported CPU core on JTAG chain
This method is very simple to download a flash magic on the Internet in accordance with the use of the Internet directly erase it.
Finish the fight. Today is very tired, tomorrow weekend, rest.