奋发图强
获得 0 次赞
帮助过40人
why1.png (226.85 KB 下载次数: 0) 下载附件 保存到相册 2020-10-15 21:13 上传 不知道如何下手
【前三名回答额外获得100IC币】/@@*us级延时延时时间约4+2*i*/void Delayus(unsigned char i) { while(--i); } Delayus(150); Delayus(150);//产生上升沿延时约15~60us 想把两个延时Delayus(150);合并成一个Delayus(300); 因为unsigned char范围是0-255,所以想用unsigned int范围0-65535替代 为什么替换后,程序读取不了DS18B20的数据呢
正点通讯UATR代码, 代码无调整。 将芯片选择为F429 VI 之后 选择SW 模式下载 , 下载成功。 但是仿真的时候点击RUN ,代码只是向前走一步
求助: stm32f103ze芯片使用iar编译完后有130多M 对应的rom和ram空间都已经设置好了 算了下,刚好是把 0x08000000 之前的空间全部补零了,代码的大小大概是3K多,实际就是128M+3K多 有没有知道这个怎么处理的 /*###ICF### Section handled by ICF editor, don't touch! ****/ /*-Editor annotation file-*/ /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ /*-Specials-*/ define symbol __ICFEDIT_intvec_start__ = 0x08000000; /*-Memory Regions-*/ define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; define symbol __ICFEDIT_region_ROM_end__ = 0x0807FFFF; define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; define symbol __ICFEDIT_region_RAM_end__ = 0x2000FFFF; /*-Sizes-*/ define symbol __ICFEDIT_size_cstack__ = 0x2000; define symbol __ICFEDIT_size_heap__ = 0x1000; /**** End of ICF editor section. ###ICF###*/ define memory mem with size = 4G; define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; initialize by copy { readwrite }; do not initialize { section .noinit }; place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; place in ROM_region { readonly }; place in RAM_region { readwrite, block CSTACK, block HEAP };
哪位坛友有过经验,设备拿到北方的户外,主板温度可能低于-20度,板子上部分器件是商规的0-70度,会启动不了。使用什么器件加热主板比较快速又靠谱。主板上供电是12V的,感觉功率大不到哪里去啊...
【节日专享】ESP8266、STM32小系统板等免费送!点击领取https://www.icxbk.com/ask/detail/31744.html各位高手:DMA +串口发 摸拟运行时一切正常,断点运行时,通过串口上指示灯像是有数据输出,但数据显示不出 (STC——ISP) 不知俄什么串口调试软件可以但是直接运行时,不能运行。 不知怎么运行。