最近在看vpss,在RDK包我没找到修改寄存器的c文件,所以我想问问rdk包里面有没有这个文件,忘热心的人给小弟一点思路,谢谢
Louis:
你好,
VPSS的路径在\ti_tools\hdvpss\dvr_rdk_hdvpss,如果你知道VPSS具体寄存器的地址,可以通过使用mem_rdwr.out来访问VPSS寄存器。
xing lixing:
回复 Louis:
我运行了mem.rdwr.out文件
出现
Memory read/write utility, (c) Texas Instruments 2010 Built on Mar 18 2013 19:09:53
MEM WRITE, ./mem_rdwr.out –wr <memory physical address in Hex> <memory value to Write in Hex>
MEM READ , ./mem_rdwr.out –rd <memory physical address in Hex> <memory size in 32-bit words in Dec> –cols <number of coloums of print in Dec>
LOAD FILE, ./mem_rdwr.out –fload <memory physical address in Hex> <filename>
SAVE FILE, ./mem_rdwr.out –fsave <memory physical address in Hex> <memory size in Hex in bytes> <filename>
Physical memory address MUST be 4byte aligned
Example,MEM WRITE, ./mem_rdwr.out –wr 4810D000 1234abcd MEM READ , ./mem_rdwr.out –rd 4810D000 16 MEM READ , ./mem_rdwr.out –rd 4810D000 16 –cols 1 FILE SAVE, ./mem_rdwr.out –fsave 81000000 0x100 test.bin FILE LOAD, ./mem_rdwr.out –fload 81000000 test.bin
比如MEM WRITE操作我的寄存器,我怎么把它写进这个out文件
Louis:
回复 xing lixing:
你好,
mem_rdwr的源码在dvr_rdk\mcfw\src_linux\utils\mem_rdwr\src可以找到,一般在linux中使用mem_rdwr.out这个工具来动态访问寄存器。
xing lixing:
回复 xing lixing:
谢谢你的答案,会操作了
xing lixing:
回复 Louis:
你好,老师,我还想问一下,对vpss的display寄存器初始化在哪里进行的,谢谢