文件名称:AM335X_CortexA8_Cycle_Count_Register
介绍说明--下载内容均来自于网络,请自行研究使用
AM335X是基于Cortex-A8内核的,Am335x自身是不带时钟计数寄存器的,但Cortex-A8有这个寄存器,但需要汇编代码才能读取,本代码中,是使用GCC编译环境的c语言代码内嵌汇编,如果是keil环境的话对汇编的调用可能要稍作修改,很多东西我也不懂,有需求的话自行修改吧。该寄存器值可以作为一个随机数来用,代码里面附有使用说明。并附上Cortex-A8 Technical Reference Manual(Cortex-A8技术参考手册),如有更好的方式,可以私信交流。-AM335X is based on the Cortex-A8 core, Am335x itself without the clock count register, but Cortex-A8 have this register, but need to compile the code to read the code, using the GCC compiler environment c language code embedded compilation, if the environment is keil then you may want to call to the compilation of minor modifications, a lot of things I do not know, if there is a demand to amend its own right. The register values can be used as a random number with the code inside with instructions for use. Together with the Cortex-A8 Technical Reference Manual (Cortex-A8 Technical Reference Manual), if a better way, you can exchange private messages.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
AM335X-Cortex-A8内核读取时钟计数器.txt
Cortex-A8 Technical Reference Manual.pdf