感谢各位的回复!等我整理好我最近的IAP的资料,我打算开个帖子分享给论坛的各位。下面是我代码的输出,循环在APP与Bootloader之间跳转,能够启动外设串口1、4、Systic、Timer2、LED、IIC等,应该可以说明运行正常了。
AUTO Jump to APP
This is APP
DS3231 Time is 2018/02/11 1W 15:16:32
Soft reset in 3 secs
3 2 1
This is Bootloader
DS3231 Time is 2018/02/11 1W 15:16:35
GSM is Alive
+CSQ = 23
AUTO Jump to APP
This is APP
DS3231 Time is 2018/02/11 1W 15:16:52
Soft reset in 3 secs
3 2 1
This is Bootloader
DS3231 Time is 2018/02/11 1W 15:16:55
GSM is Alive
谢谢你的提醒,我在代码里面直接重复了一句,初始化的就能用了,不清楚原理,但是目前就先这样用,mark一下,以后有时间回来好好研究依一下。
MX_USART1_UART_Init();
MX_UART4_Init();
printf("This is APP ");
感谢各位的回复!等我整理好我最近的IAP的资料,我打算开个帖子分享给论坛的各位。下面是我代码的输出,循环在APP与Bootloader之间跳转,能够启动外设串口1、4、Systic、Timer2、LED、IIC等,应该可以说明运行正常了。
AUTO Jump to APP
This is APP
DS3231 Time is 2018/02/11 1W 15:16:32
Soft reset in 3 secs
3 2 1
This is Bootloader
DS3231 Time is 2018/02/11 1W 15:16:35
GSM is Alive
+CSQ = 23
AUTO Jump to APP
This is APP
DS3231 Time is 2018/02/11 1W 15:16:52
Soft reset in 3 secs
3 2 1
This is Bootloader
DS3231 Time is 2018/02/11 1W 15:16:55
GSM is Alive
一周热门 更多>