当前位置:网站首页>Gd32 F3 pin mapping problem SW interface cannot be burned
Gd32 F3 pin mapping problem SW interface cannot be burned
2022-07-07 15:38:00 【sgmcy】
Used GD32F303 As a development
carelessly , Hardware design , Used PA15 Port as SPI Of CS Pin
When debugging at first , Find out SPI The timing of reading and writing is wrong , No data
Then comment out all the code , Separate settings PA15 The port of
But the discovery software can be set , You can also read this PA15 High level or low level
however , Hardware measurement , It is found that the low level or high level of this pin cannot be grasped , unstable
Finally, I found that ,
PA15 This port , Default as JTDI Use , If you want to use it as a general IO Words of mouth , You need to map it before you can use
gpio_pin_remap_config
Call this function to remap ports .
When calling this port , The parameters initially passed are :GPIO_SWJ_DISABLE_REMAP
This can lead to SWJ Out of commission
Pass this parameter ,GPIO_SWJ_SWDPENABLE_REMAP,SWJ It can be used normally. , Download code
边栏推荐
- "Baidu Cup" CTF competition 2017 February, web:include
- Ctfshow, information collection: web2
- 【服务器数据恢复】戴尔某型号服务器raid故障的数据恢复案例
- 银行需要搭建智能客服模块的中台能力,驱动全场景智能客服务升级
- 【数字IC验证快速入门】29、SystemVerilog项目实践之AHB-SRAMC(9)(AHB-SRAMC SVTB Overview)
- Ctfshow, information collection: web1
- Qu'est - ce qu'une violation de données
- 一个需求温习到的所有知识,h5的表单被键盘遮挡,事件代理,事件委托
- 写一篇万字长文《CAS自旋锁》送杰伦的新专辑登顶热榜
- Actually changed from 408 to self proposition! 211 North China Electric Power University (Beijing)
猜你喜欢
【数字IC验证快速入门】24、SystemVerilog项目实践之AHB-SRAMC(4)(AHB继续深入)
CTFshow,信息搜集:web8
CTFshow,信息搜集:web4
What is data leakage
[server data recovery] a case of RAID data recovery of a brand StorageWorks server
Monthly observation of internet medical field in May 2022
【深度学习】图像超分实验:SRCNN/FSRCNN
【深度学习】语义分割实验:Unet网络/MSRC2数据集
【搞船日记】【Shapr3D的STL格式转Gcode】
MySQL bit类型解析
随机推荐
[机缘参悟-40]:方向、规则、选择、努力、公平、认知、能力、行动,读3GPP 6G白皮书的五层感悟
Ctfshow, information collection: web9
连接ftp服务器教程
Niuke real problem programming - day20
如何在opensea批量发布NFT(Rinkeby测试网)
Configure mongodb database in window environment
Ctfshow, information collection: web2
CTFshow,信息搜集:web9
一个需求温习到的所有知识,h5的表单被键盘遮挡,事件代理,事件委托
What are the safest securities trading apps
【OBS】RTMPSockBuf_Fill, remote host closed connection.
Summer safety is very important! Emergency safety education enters kindergarten
Ida Pro reverse tool finds the IP and port of the socket server
CTFshow,信息搜集:web3
Introduction of mongod management database method
Ctfshow, information collection: web8
[original] all management without assessment is nonsense!
[quick start of Digital IC Verification] 24. AHB sramc of SystemVerilog project practice (4) (AHB continues to deepen)
Connecting FTP server tutorial
【数字IC验证快速入门】20、SystemVerilog学习之基本语法7(覆盖率驱动...内含实践练习)