芯片PID:00000450 芯片已设置读保护 第828毫秒,已准备好 开始编程芯片,共需写入14KB,耗时828毫秒 调试信息:32readbytescount 64len 调试信息:-9 STM_ReadMemory 写入出错在0KB,进度0%,耗时1453毫秒
2023-08-05 07:07
嗨,我一直试图通过ST-LINK连接我的应用程序http://www.st.com/content/ccc/resource/technical/document/user_manual/90/cb/42/ef/2e/53/46/75/CD00060186.pdf/files/CD00060186.pdf/jcr:内容/翻译/ en.CD00060186.pdf,但是当我调用时ESelectHard('ST-LINK','SWIM',FALSE)它返回0,并且CGetLastError 提供以下消息:File \ TOOLS.CNF:没有这样的文件或目录文件TOOLS.CNF显然与我成功管理加载的.dll文件存在于同一目录中(eprcore60.dll,dbca60.dll,lef60.dll和file60.dll)。s的政策是什么?以上来自于谷歌翻译以下为原文 Hi,I've been trying to connect my application through ST-LINK according to the http://www.st.com/content/ccc/resource/technical/document/user_manual/90/cb/42/ef/2e/53/46/75/CD00060186.pdf/files/CD00060186.pdf/jcr:content/translations/en.CD00060186.pdf, but when I invokeESelectHard('ST-LINK', 'SWIM', FALSE)it returns 0, and CGetLastError provides the following message:File \TOOLS.CNF : No such file or directoryThe file TOOLS.CNF is clearly present in the same directory as the .dll files that I successfully manage to load (eprcore60.dll, dbca60.dll, lef60.dll and file60.dll).What is the policy of s
2018-10-31 16:01
求大佬分享stm32在linux端的串口下载程序代码
2021-12-16 06:11
如何在IAR环境下去实现单片机开发呢?如何对其进行仿真并调试?
2021-11-26 06:32
请问单片机读取温度如何通过串口1在串口调试助手上显示温度?
2021-12-14 07:44
您好,我使用CY8CITK-062-BLE来测试SMIF XIP模式。ADVESSS映射到0x18000万U,大小为0x0400万。我还设置了写使能位。然后,我可以读出这些记忆。但是我不能修改这样的值,*(int *)(0x18000,00)= 0x55。我该怎么办?下面是代码:/*SMIF IP初始化*/Cyth-SmifthInIT(SimFiFrasyHW,and SimFiFlash,CONFIG,200,和SimFiFLASH上下文);CysSmifStStaseCudio(SIFIFA FLASH HW,CysSmifSLaveE.SelpTy0,CysSmifdDATAYSEL0);CysSmifMeStLosi-IIT(SimFiFLASH)HW,(CysStfSmifBulthBuffixt**const)和SIMFBuffconcong;/*设置XIP模式*/Cys-SmifthStEdMe(Smifl Flash HW,Cys-Smif1记忆);Cyth-SmiffSnabl(SmifFlash)HW,(Cyth-StcfSmifTracExt*T*)和SimFiFlash上下文;它们与由PSoC创建者4.2生成的这些代码相同:SimFiFlash启动(&SIMFBITCCONFIG,200);SimFiFLASH设置模式(Cys-Smiff1内存);smifblockconfig采用SMIF配置工具生成的:内存映射,也可写。谢谢。! 以上来自于百度翻译 以下为原文Hello, I use CY8CKIT-062-BLE to test the SMIF XIP mode. The addresss mapped to 0x18000000u, the size is 0x04000000. and I also set up the write enable bit.Then,I can read these memory. But I cannot modify the value like this,*(int *)(0x18000000u) = 0x55.How can I do ? Here is the code: /* SMIF IP initialization */ Cy_SMIF_Init(SMIF_FLASH_HW, &SMIF_FLASH_config, 200, &SMIF_FLASH_context); Cy_SMIF_SetDataSelect(SMIF_FLASH_HW, CY_SMIF_SLAVE_SELECT_0, CY_SMIF_DATA_SEL0); Cy_SMIF_Memslot_Init(SMIF_FLASH_HW, (cy_stc_smif_block_config_t * const)&smifBlockConfig, &SMIF_FLASH_context); /* Set XIP mode */ Cy_SMIF_SetMode(SMIF_FLASH_HW, CY_SMIF_MEMORY); Cy_SMIF_Enable(SMIF_FLASH_HW, (cy_stc_smif_context_t *)&SMIF_FLASH_context);They are the same to these codes who are generated by PSOC creator 4.2: SMIF_FLASH_Start(&smifBlockConfig, 200); SMIF_FLASH_SetMode(CY_SMIF_MEMORY); smifBlockConfig is generated by SMIF configuration tool: memory mapped, also write enable. thanks.!
2018-10-16 13:09
如何实现自己写个串口编程和控制台程序实现一键下载?
2021-12-03 07:49