匿名
未登录
登录
百问网嵌入式Linux wiki
搜索
查看“HDP Linux driver”的源代码
来自百问网嵌入式Linux wiki
名字空间
页面
讨论
更多
更多
页面选项
Read
查看源代码
历史
←
HDP Linux driver
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
== Article purpose == This article introduces the '''Hardware Debug Port''' which allows the observation of internal signals. By using multiplexers, up to 16 signals of each of 8-bit output can be observed. The article explains: * How to configure, use and debug the driver * The driver structure, and where the source code can be found. == Short description == * 8 output signals * One of 16 internal signals with individual control * 8 software-programmable signals for pinout agnostic code debugging * Output disabling by security signal [[File:HDP_overview.png|thumb|center|766px|alt=Alternate text|HDP Block Diagram]] == Configuration == === Kernel configuration === The '''HDP''' is enabled and ready to be used in all STM32MPU Embedded Software Distributions, via the Linux<sup>®</sup> kernel configuration '''CONFIG_STM32_HDP''', set to disabled by default. Symbol: '''STM32_HDP''' Location: Device Drivers [*] SOC (System On Chip) specific Drivers [*] STMicroelectronics STM32MP157 Hardware Debug Port (HDP) pin control Please refer to the [[Menuconfig or how to configure kernel]] article for instructions on modifying the configuration, and recompiling the Linux kernel image in the Distribution Package context. === Device tree === Refer to the [[HDP device tree configuration]] article when configuring the HDP Linux kernel driver. == How to trace and debug == === How to monitor === ==== How to monitor with debugfs ==== '''sysfs''' entry can be used to browse HDP registers. {{Board$}} /sys/kernel/debug/hdp# ls ctrl gpoclr gposet gpoval mux val See the HDP chapter in the reference manual <ref>[[STM32MP15 resources#Reference manuals|STM32MP15 reference manuals]]</ref> for further register details. == Source code location == The HDP Linux driver source code is composed of: * “<Linux kernel directory>/drivers/soc/st/stm32_hdp.c” to handle common resources: registers, clock. {{Info|Please note that the upstreaming of the HDP Linux driver source code is in progress}} ==References== <references /> <noinclude> [[Category:Embedded trace and debug]] {{PublicationRequestId | 10412 | 2019-01-24 | PhilipS}} {{ArticleBasedOnModel | Linux driver article model}} </noinclude>
该页面使用的模板:
模板:ArticleBasedOnModel
(
查看源代码
)
模板:Board$
(
查看源代码
)
模板:Info
(
查看源代码
)
模板:PublicationRequestId
(
查看源代码
)
模板:STDarkBlue
(
查看源代码
)
返回至
HDP Linux driver
。
导航
导航
WIKI首页
官方店铺
资料下载
交流社区
所有页面
所有产品
MPU-Linux开发板
MCU-单片机开发板
Linux开发系列视频
单片机开发系列视频
所有模块配件
Wiki工具
Wiki工具
特殊页面
页面工具
页面工具
用户页面工具
更多
链入页面
相关更改
页面信息
页面日志