STM32 Download Debug Drive problem

Source: Internet
Author: User
Tags jlink

No cortex-m SW Device found solution

16.07.14

today's work, encountered a problem: using the jlink SW download mode, always show No cortex-m SW device found. Drivers are installed, before using 20pin jtack download mode are good, changed several times to drive, because this machine is win10, thought may be win10 compatibility problem, swap with Win XP virtual machine, but still failed to solve this problem. Until the boss said that it was available on his computer, I brainwave his driver.

Jlink drivers generally download the appropriate installation package, just like the normal installation software, but the installed files can be freely copied, does not involve the registration form. This is true of most drivers.

Use the Jink downloader to download the SW download mode.

    1. Keil Settings: Right-click Project name,

    2. Driver settings, unzip the package, copy the following file

      Under Arm->segger in the Keil installation directory:

In my Baidu cloud software---drive folder: Http://pan.baidu.com/s/1nuX8yRR

About WIN10 Automatic installation drive

According to the online tutorial, there is no good solution to the problem of WIN10 auto-install driver.

After exploring the following methods:

The essence of most mobile device drivers is a. sys file, whether we install it automatically or browse the native file, and the final window will automatically download or copy a copy of the driver's. sys file to the C:\Windows\System32\drivers folder.

And a detailed driver file to the C:\Windows\System32\DriverStore\FileRepository folder

To refuse to install the driver automatically, first disconnect the network so that Windows cannot download the driver from the Internet and then delete the corresponding driver. sys file and the backup folder under the two files above.

Note: before deleting the. sys file, first uninstall the device and delete the device files;

If the drive backup folder under the Filerepository folder cannot be deleted, prompting for a certain permission, you can refer to my other tutorial:

WIN10 Delete or change a folder that requires system or administrators permissions

After that, connect the device, or "Scan for hardware changes", the device has an exclamation point, right-click to update the device driver, navigate to its own downloaded drive directory.

This method can also be used to handle when a device installs multiple drivers, removing useless driver files, and preventing unwanted driver files from interfering with useful driver files

JTAG and SW Downloads

SW Connection mode:

JTAG Connection mode:

Serial Wire Mode Interface

The MCBNUC1xx Board also supports the Serial wire Mode of CORTEX-M0 based devices. In Serial wire mode, only the pins tclk and TMS is used. TDO is an optional trace data output pin.

Serial Interface Line mode
the mcbnuc1xx Board also supports the basic CORTEX-M0 device for serial line mode . In Serial line mode , only the pin tclk and TMS are used. the TDO Data output pin is an optional.

This pattern can now be made:

Reference article: ARM rookie: The difference between Jlink and JTAG

The difference between SWD and JTAG

Report:

Debugging Tools

Link Simulator

  [1] j-linkj-linkis aSEGGERthe company supports simulationARMthe kernel chip introducesJTAGSimulator. MatesIAR Ewar,ADS,KEIL,Winarm,RealViewand other integrated development environments support allARM7/ARM9simulation of the core chip, throughRDIThe interface and the integrated development environment are seamlessly connected, easy to operate, easy to connect, easy to learn, is to learn to developARMThe best and most useful development tool. Product Specification: Power supplyUSBpower supply, whole machine current<50masupported target-board voltages1.2~3.3V,5VcompatibleTarget Board Supply voltage4.5~5V (byUSBprovide5V)Target Board Supply currentMaximum300mAwith over-current protection functionWorking ambient temperature+5℃~+60℃Storage Temperature-20℃~+65℃Humidity<90%dimensions (excluding cables)100mm x 53mm x 27mmweight (excluding cable)70gElectromagnetic Compatibilityen 55022, en 5502.

Jtag

JTAG is Englishthe Joint Test Action Group(joint test Behavior organization)"abbreviation of the prefix letter, the organization was founded in1985developed by several major electronics manufacturers.PCBand theICtesting standards. JTAGsuggested in1990years wereIEEEapproved asieee1149.1-1990test access port and boundary scan fabric standards. This standard specifies the hardware and software required for boundary scan. Since1990year after approval,IEEErespectively in1993years and1995The standard was added to the currentieee1149.1a-1993and theieee1149.1b-1994. JTAGmainly used in: the circuit of the boundary scan test and programmable chip on-line system programming.

STM32 Download Debug Drive problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.