This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM368 video_loopback的数据存放地址

各位大牛好:

我是新人,在使用DM368做loopback过程中有一个关于视频存储地址的疑惑,下面是我的参数:

    ISIF_CADU        = 0x0400;                 // Frame buffer address high
    ISIF_CADL        = 0x0000;                 // Frame buffer address low

    OSD_VIDWIN0OFST = 0x1000 | width >> 4;
    OSD_VIDWINADH  = 0x0000;
    OSD_VIDWIN0ADR = 0x0000;

已经能够实现视频的环出。

我的理解是帧存储器的地址是0X84000000;osd_video读取的地址是0x80000000;这两个地址不对应啊,并且0x84000000的地方根本就没有放入数据,这是什么状况,求指点~~~

  • 你好,

    你是否尝试过ISIF_CADU=0x0,是否结果相同,也可以成功显示?

    请注意DDR寄存器地址配置的解释:The address is specified offset from the SDRAM base address in units of 32 bytes. 计算的时候要乘上32.

  • 写入的时候已经清楚了,另外我要把数据存到0x81000000;把CADU的值改为0X0408,OSD的数据读取VIDWIN0OFST=0X102D;VIDWINADH=0X0008;但是显示不出来,是osd数据不对吗?另外我想在ccs5.3中直接用tools/image看mem中数据该怎么设置,我出来的一直是蓝屏

  • 你好,

    1. 什么叫显示不出来?先可以在CCS里通过view-》memory,看0x81000000地址的内容是否是不断变化的,从而判断是否是输入的问题。我建议CADU=0x8.

    2. 请参考CCS的help:Code Composer Studio Help > Views and Editors > Image Analyzer View

  • 我检查了一下,是EVMDM368.h中地址写错了,导致无法给真正的VIDWINADH赋值,另外我正在使用IMAGE analyzer 感觉设置总是不太对,显示不出来正确的,一直是蓝屏

  • 你好,

    对于image analyzer,除了CCS的help外,请参考:

    http://processors.wiki.ti.com/index.php/Quick_Tips

    Image Analyzer This demo shows the Image Analyzer being used to display a raw YUV 4:2:2 interleaved data on target memory. Note how the 'Load Memory' feature is used to load the raw YUV image from the PC to target memory and the Image Analyzer properties is imported from an existing properties file to avoid re-entering the properties.

x 出现错误。请重试或与管理员联系。