硬汉嵌入式论坛

 找回密码
 立即注册
查看: 212|回复: 1
收起左侧

[FreeRTOS] STM32F103加上FreeRTOS系统后固件无法写入

[复制链接]

1

主题

0

回帖

3

积分

新手上路

积分
3
发表于 2025-7-16 17:46:02 | 显示全部楼层 |阅读模式
为什么我用裸机固件能写入芯片中,加上FreeRTOS后就固件地址就错误了

回复

使用道具 举报

2

主题

54

回帖

60

积分

初级会员

积分
60
发表于 2025-7-17 03:11:58 | 显示全部楼层
Hi,
Please try to verify the following:
1-Incorrect Linker Script / Flash Address
2- Startup File Misconfiguration
3- Incorrect Clock Configuration
4- FreeRTOS Stack Overflow / Heap Issues
5- Wrong Flashing Settings

How to Debug:
Try flashing your FreeRTOS firmware with a debugger attached.
Put a breakpoint in main() or the first task you create.
If it doesn’t hit, it's likely not starting—indicating either vector table issues or wrong address.
Check .map file to see where Reset_Handler and main() are placed.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|Archiver|手机版|硬汉嵌入式论坛

GMT+8, 2025-8-11 23:57 , Processed in 0.035759 second(s), 23 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表