草庐IT

found_iterID

全部标签

keil无法读取到jlink下载器,程序无法下载,报错No Cortex-M SW Device Found

1、如题,我用的芯片是STM32F103ZET6,日常的接上下载器进行程序下载,结果发现程序下载不进去,错误提示如下,一看就是Jlink没有连接上。进去设置里面查看,确实没有看到Jlink读取到芯片的信息。首先去设备管理器里面查看,驱动是有的然后我用这个Jlink连上其他开发板,发现也可以读取到Jlink,程序也是可以下载进去的,控制变量法分析,唯一不同的就是我的板子有问题咯。在网上搜了下相关问题,有一个答案说边下载的时候边按下Reset按键,如下图。我试了下,结果出现了新的提示和报错真是一波未平一波又起,怎么办呢,继续查资料,发现又有说将boot0拉高,我的原理图里面是将boot0,boo1

gitlab 安装,libc.so.6: version `GLIBC_2.25‘ not found

背景ubuntu16.04以及ubuntu18.05安装gitlab都报错误:/opt/gitlab/embedded/bin/ruby:/lib/x86_64-linux-gnu/libc.so.6:version`GLIBC_2.25'notfound(requiredby/opt/gitlab/embedded/lib/libruby.so.2.4)解决方法(一定要看完本文)一、安装glibc可以看出来应该是我们的GLIBC版本过低的原因造成的,下面我们用命令查看glibc的版本strings/usr/lib64/libc.so.6|grepGLIBC_或者strings/lib/x86

gitlab 安装,libc.so.6: version `GLIBC_2.25‘ not found

背景ubuntu16.04以及ubuntu18.05安装gitlab都报错误:/opt/gitlab/embedded/bin/ruby:/lib/x86_64-linux-gnu/libc.so.6:version`GLIBC_2.25'notfound(requiredby/opt/gitlab/embedded/lib/libruby.so.2.4)解决方法(一定要看完本文)一、安装glibc可以看出来应该是我们的GLIBC版本过低的原因造成的,下面我们用命令查看glibc的版本strings/usr/lib64/libc.so.6|grepGLIBC_或者strings/lib/x86

docker-compose: command not found

报错:原因:没有安装 docker-composeCentos解决如下:1.下载安装文件sudocurl-L"https://github.com/docker/compose/releases/download/1.29.0/docker-compose-$(uname-s)-$(uname-m)"-o/usr/local/bin/docker-compose2.赋予执行权限sudochmod+x/usr/local/bin/docker-compose3.创建软连接sudoln-s/usr/local/bin/docker-compose/usr/bin/docker-compose4.测

python - Python 2.6 中的动态类加载 : RuntimeWarning: Parent module 'plugins' not found while handling absolute import

我正在开发一个插件系统,插件模块的加载方式如下:defload_plugins():plugins=glob.glob("plugins/*.py")instances=[]forpinplugins:try:name=p.split("/")[-1]name=name.split(".py")[0]log.debug("Possibleplugin:%s",name)f,file,desc=imp.find_module(name,["plugins"])plugin=imp.load_module('plugins.'+name,f,file,desc)getattr(plugin

python - Python 2.6 中的动态类加载 : RuntimeWarning: Parent module 'plugins' not found while handling absolute import

我正在开发一个插件系统,插件模块的加载方式如下:defload_plugins():plugins=glob.glob("plugins/*.py")instances=[]forpinplugins:try:name=p.split("/")[-1]name=name.split(".py")[0]log.debug("Possibleplugin:%s",name)f,file,desc=imp.find_module(name,["plugins"])plugin=imp.load_module('plugins.'+name,f,file,desc)getattr(plugin

python - 使用python请求: no multipart boundary was found的多部分数据POST

我有要在同一个POST中发送的表单数据和文件。例如,{持续时间:2000,文件:test.wav}。我在这里看到了许多关于使用python请求发布多部分/表单数据的线程。它们很有用,尤其是thisone.我的示例请求如下:files={'file':('wavfile',open(filename,'rb'))}data={'duration':duration}headers={'content-type':'multipart/form-data'}r=self.session.post(url,files=files,data=data,headers=headers)但是当我执

python - 使用python请求: no multipart boundary was found的多部分数据POST

我有要在同一个POST中发送的表单数据和文件。例如,{持续时间:2000,文件:test.wav}。我在这里看到了许多关于使用python请求发布多部分/表单数据的线程。它们很有用,尤其是thisone.我的示例请求如下:files={'file':('wavfile',open(filename,'rb'))}data={'duration':duration}headers={'content-type':'multipart/form-data'}r=self.session.post(url,files=files,data=data,headers=headers)但是当我执

python - PyDev Eclipse Python 解释器错误 : stdlib not found

我一直在尝试使用Eclipse3.6作为Python编辑器。我安装了最新版本的PyDev,然后尝试在我的mac上设置首选项的Interpreter-Python字段。我的python版本是2.6,路径是“/usr/bin/python”。当我输入此内容并选择要添加到系统PYTHONPATH的项目时,我收到以下错误消息:Error:PythonstdlibnotfoundItseemsthatthePython/Libfolder(whichcontainsthestandardlibrary)wasnotfound/selectedduringtheinstalprocess.This

python - PyDev Eclipse Python 解释器错误 : stdlib not found

我一直在尝试使用Eclipse3.6作为Python编辑器。我安装了最新版本的PyDev,然后尝试在我的mac上设置首选项的Interpreter-Python字段。我的python版本是2.6,路径是“/usr/bin/python”。当我输入此内容并选择要添加到系统PYTHONPATH的项目时,我收到以下错误消息:Error:PythonstdlibnotfoundItseemsthatthePython/Libfolder(whichcontainsthestandardlibrary)wasnotfound/selectedduringtheinstalprocess.This