问答

汇集网友智慧,解决技术难题

21ic问答首页 - TAG - start
  • GD32F303R-START板子通过那个USB口下载程序

    我使用USB连接都CN100(GD-Link),在Keil的“Debug”选型没有GD-Link。无论我选择其他那些选型(如ST-Link,J-Link),都是提示无法下载程序。请问如何解决?应该连接到那个USB口,或在Keil的“Debug”选型那个?

    下载程序 GD32F303 start 选型 link USB

    1473浏览量 5回复量 关注量
  • AT-START-F403A串口烧录程序Hex文件的处理

    如果手动烧录程序,需要给MCU发送各种命令,最后把数据存入MCU,但是有段数据不知道怎么处理,就是倒数第二行:040000050800017D71 这个数据类型为05的 [b] [/b]

    单片机 start 串口 烧录 hex文件 MCU

    7977浏览量 1回复量 关注量
  • 求助:有没大佬用过rt-thread下的at-start-f407BSP的网口功能? sos

    我在使用rt-thread下的at-start-f407BSP的网口功能时,出现了问题。 具体表现为,运行程序一段时间后,RO(接受溢出)状态位被置位,程序不再能接收数据,但是依然可以发送数据。 我根据对手册上的理解提高了接收线程的优先级,但是只解决了部分问题。时间久了还是会出现这个问题。 有没有大佬遇见过类似的问题,或者有相关经验可以提供一点信息? 希望能不吝赐教,在此先行谢过

    BSP start RT-Thread 线程

    2518浏览量 0回复量 关注量
  • GD32f450 替换 stm32f427 串口7 部分乱码 sos

    电脑用串口工具测试 串口通信都是正常的,在板子上和esp32的通信就出问题。这是日志。 有没有遇到同样问题朋友啊 ###NextPage[title=gd32]### b'\x1b[0;32mI (458) cpu_start: Pro cpu up.\x1b[0m\r\n' b'\x1b[0;32mI (458) cpu_start: Application information:\x1b[0m\r\n' b'\x1b[0;32mI (458) cpu_start: Compile time: Dec 20 2019 07:50:41\x1b[0m\r\n' b'\x1b[0;32mI (461) cpu_start: ELF file SHA256: 0000000000000000...\x1b[0m\r\n' b'\x1b[0;32mI (467) cpu_start: ESP-IDF: v3.3\x1b[0m\r\n' b'\x1b[0;32mI (472) cpu_start: Starting app cpu, entry point is 0x40083600\x1b[0m\r\n' b'\x1b[0;32mI (0) cpu_start: App cpu up.\x1b[0m\r\n' b'\x1b[0;32mI (482) heap_init: Initializing. RAM available for dynamic allocation:\x1b[0m\r\n' b'\x1b[0;32mI (489) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM\x1b[0m\r\n' b'\x1b[0;32mI (495) heap_init: At 3FFBA488 len 00025B78 (150 KiB): DRAM\x1b[0m\r\n' b'\x1b[0;32mI (501) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM\x1b[0m\r\n' b'\x1b[0;32mI (508) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM\x1b[0m\r\n' b'\x1b[0;32mI (514) heap_init: At 40092D6C len 0000D294 (52 KiB): IRAM\x1b[0m\r\n' b'\x1b[0;32mI (520) cpu_start: Pro cpu start user code\x1b[0m\r\n' b'\x1b[0\xa7&\xa6+\n' [b][color=#f00000]这里开始 乱码[/color][/b] b'B\x92\x82\x9aJ\x02\x1a\xc1\xd5}\xcd\xd1art: Chip RYWk\xa5\xbd\xb9\xe9 L\xa3+j5\n' b'\xa3+\xda\x9a\x9aj]\x81(204) ,u_start: Chip revision i.B\xa5\x9d\xa1\x95\xc9\x81than the one \xac\xcb\xcb\xa5\x9dured in menuconfig. \xaa\xd7\xd6V\xd6\xd1\x81to upgrade Z\x97i\xb4\x05j5\n' b'\xa3+\xda\x9a\x92j%\x81(207) cpu_start: Starting s,\xab\x91\xd5\xb1\x95r on PRO CPU.\x1b[0m\r\n' b'\x1b+\xda\x9a\x92jI (0) cpu_start: *W\xc9\xd1ing s,\xab\x91\xd5\xb1\x95\xc9 on P\x05\x05\x1aAU\xb9\x1b[0m\r\n' b'\xa3+\xda\x9a\x92j%\x81(180) [\x8bskket: InitiX+K\xa5\xb9g\x1b[0[H\xf8\x1b+\xda\x9a\x92j%\x81(190) uart: ALREADY NULL\x1b[0[C\xa1*k\xc9\xbdA\xe5\xd1\xa1\xbd\xb9 v1.12 on 2019-12-20; ESP32 mod]\xab\x81with ESP&\xa6H\x88\x95\xc1\x95\x81"help()" fK [K\x95\x81infor[XW\xeb\xcb\xcb\xa9H\xc8\xf2\xf2\x02\xfe' ###NextPage[title=stm32]### b'\x1b[0;32mI (457) cpu_start: Pro cpu up.\x1b[0m\r\n' b'\x1b[0;32mI (457) cpu_start: Application information:\x1b[0m\r\n' b'\x1b[0;32mI (457) cpu_start: Compile time: Dec 20 2019 07:50:41\x1b[0m\r\n' b'\x1b[0;32mI (461) cpu_start: ELF file SHA256: 0000000000000000...\x1b[0m\r\n' b'\x1b[0;32mI (467) cpu_start: ESP-IDF: v3.3\x1b[0m\r\n' b'\x1b[0;32mI (471) cpu_start: Starting app cpu, entry point is 0x40083600\x1b[0m\r\n' b'\x1b[0;32mI (0) cpu_start: App cpu up.\x1b[0m\r\n' b'\x1b[0;32mI (482) heap_init: Initializing. RAM available for dynamic allocation:\x1b[0m\r\n' b'\x1b[0;32mI (489) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM\x1b[0m\r\n' b'\x1b[0;32mI (495) heap_init: At 3FFBA488 len 00025B78 (150 KiB): DRAM\x1b[0m\r\n' b'\x1b[0;32mI (501) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM\x1b[0m\r\n' b'\x1b[0;32mI (507) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM\x1b[0m\r\n' b'\x1b[0;32mI (514) heap_init: At 40092D6C len 0000D294 (52 KiB): IRAM\x1b[0m\r\n' b'\x1b[0;32mI (520) cpu_start: Pro cpu start user code\x1b[0m\r\n' b'\x1b[0;32mI (203) cpu_start: Chip Revision: 1\x1b[0m\r\n' b'\x1b[0;33mW (203) cpu_start: Chip revision is higher than the one configured in menuconfig. Suggest to upgrade it.\x1b[0m\r\n' b'\x1b[0;32mI (206) cpu_start: Starting scheduler on PRO CPU.\x1b[0m\r\n' b'\x1b[0;32mI (0) cpu_start: Starting scheduler on APP CPU.\x1b[0m\r\n' b'\x1b[0;32mI (180) modsocket: Initializing\x1b[0m\r\n' b'\x1b[0;32mI (190) uart: ALREADY NULL\x1b[0m\r\n' b'MicroPython v1.12 on 2019-12-20; ESP32 module with ESP32\r\n' b'Type "help()" for more information.\r\n' b'>>> ' ystemInitedWifi b'>>> wifi = WIFI()\r\n' b'I (530) wifi: wifi driver task: 3ffe3858, prio:23, stack:3584, core=0\r\n' b'\x1b[0;32mI (1278) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE\x1b[0m\r\n' b'\x1b[0;32mI (1288) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE\x1b[0m\r\n' b'I (1318) wifi: wifi firmware version: aeed694\r\n' b'I (1318) wifi: config NVS flash: enabled\r\n' b'I (1318) wifi: config nano formating: disabled\r\n' b'I (1318) wifi: Init dynamic tx buffer num: 32\r\n' b'I (1328) wifi: Init data frame dynamic rx buffer num: 32\r\n' b'I (1328) wifi: Init management frame dynamic rx buffer num: 32\r\n' b'I (1338) wifi: Init management short buffer num: 32\r\n' b'I (1338) wifi: Init static rx buffer size: 1600\r\n' b'I (1348) wifi: Init static rx buffer num: 10\r\n' b'I (1348) wifi: Init dynamic rx buffer num: 32\r\n' b'>>> platform = PLATFORM()\r\n' b">>> wifi.connect('djkjtest','scfy12345678')\r\n" b'\x1b[0;32mI (1458) phy: phy_version: 4102, 2fa7a43, Jul 15 2019, 13:06:06, 0, 0\x1b[0m\r\n' b'I (1458) wifi: mode : sta (b4:e6:2d:de:bd:09)\r\n' b'\x1b[0;32mI (1458) wifi: STA_START\x1b[0m\r\n' b'False\r\n' b'>>> I (3158) wifi: new:<13,0>, old:<1,0>, ap:<255,255>, sta:<13,0>, prof:1\r\n'

    UART 串口 stm32f427 GD32F450 CPU start

    4021浏览量 0回复量 关注量
  • 我的ad0809模块EOC一直处于低电平 sos

    [color=#252525][backcolor=rgb(255, 255, 255)][font=Tahoma, "]做学校的电子设计竞赛要做一个电压测量器,想使用ad0809模块去做,ad0809的IN0口外接了一个ne555信号发生器,单片机使用的是STC89C52RC,输入地址位使用模块上的跳线帽选择了IN0,设备的其余部分还没有加上去,但是测试的时候发现程序一直卡在“[/font][/backcolor][/color][color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]while(EOC==0)”这个地方无法继续运行,想请求各位大佬看看可能是什么问题,万分感谢![/font][/backcolor][/color][font=Tahoma, Microsoft Yahei, Simsun][color=#252525] [/color][/font][color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]#include [/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]#define uint unsigned int[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]#define uchar unsigned char[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]uint volt=0; //电压值测定值[/font][/backcolor][/color] [color=#252525][backcolor=rgb(255, 255, 255)][font=Tahoma, "]sbit CLK=P2^7; //时钟信号[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]sbit START=P2^4; //转换启动开关[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]sbit EOC=P2^5; //转换结束标志[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]sbit OE=P2^6;//定义ADC0809各脚[/font][/backcolor][/color] [color=#252525][backcolor=rgb(255, 255, 255)][font=Tahoma, "]void delay(uint x)[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]{[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] uchar y,z;[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] for(y=x;y>0;y--)[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] for(z=250;z>0;z--);[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] }[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] [/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] [/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]void ADC()[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]{[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] EA=1;//开中断[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] OE=0;[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] //确保进入正常AD转换状态[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] START=0;[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] delay(10);[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] START=1;[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]delay(10);[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] START=0;//ad开始转换 [/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] while(EOC==0);[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][/backcolor][/color][color=#252525][backcolor=rgb(255, 255, 255)][font=Tahoma, "] OE=1;[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] EA=0;//关中断[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] volt=P0;//获取转换值保存到volt中,(P0为转换后数据)[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] volt=volt*196;[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] [/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] OE=0;//输出转换结束 (要在获取转换值之后)[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]}[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] [/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] [/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] [/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]void timer() interrupt 1[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]{[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] TH0=(65536-2)/256; //重装计数初值[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]TL0=(65536-2)%256; //重装计数初值[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]CLK=!CLK; //取反[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]}[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] [/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] [/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] [/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]void main()[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]{[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] TMOD=0X01; [/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]CLK=0; [/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]TH0=(65536-2)/256; [/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]TL0=(65536-2)%256;[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] ET0=1;//开定时器0中断[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] TR0=1;//开启定时器0*/[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] while(1)[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "] {[/font][/backcolor][/color] [color=#252525][backcolor=rgb(255, 255, 255)][font=Tahoma, "] ADC();//调用模数转换程序 [/font][/backcolor][/color] [color=#252525][backcolor=rgb(255, 255, 255)][font=Tahoma, "]}[/font][/backcolor][/color] [color=rgb(37, 37, 37)][backcolor=rgb(255, 255, 255)][font=Tahoma, "]}[/font][/backcolor][/color]

    ad0809 电平 ST start dc While

    2026浏览量 0回复量 关注量
  • AT_START_F403A开发板在RT-Thread Studio下载不了程序

    [size=3]在RT-Thread Studio开发过AT_START_F403A吗?用板带的AT-Link下载不了程序,但在Keilk中是可以的[/size][size=3]调试器选择DAP-LINK,[/size][size=3]板载的AT-Link[/size] [size=3] [/size]

    start Studio 开发板 RT-Thread link

    5844浏览量 10回复量 关注量