初次使用iar时出现了the debugging session could not be started.这个问题很好解决,在project里面找到options选项,在general options里面选择与自己的CPU相同的型号,问题就解决了