DSP

CCS+C6678LE开发记录17:多核协作(OpenMP)示例更新

2019-07-13 15:35发布

本次更新针对C6678多核图像处理示例mcip_omp_c6678中的一些细节问题进行修复。 另外PC端增加了C#版本GUI工具,详情见下图

替代了之前的简陋界面(操作稍显麻烦)

新的GUI工具操作简便,界面美观,功能也更加强大。 首先是打开图像,支持更多格式
打开图片之后,支持预览

开始传输数据之前请打开DSP

等待DSP初始化完成后,点击【TaskBegin】按钮开始 传输数据过程中能看到右下角的进度条指示

支持参数设定

目前仅做初步测试,也就设计了少数功能,更多功能待后期项目完善后再添加
测试结果输出如下(部分) [C66xx_0] Multicore Image Processing using OpenMP Execute Task_create... Waiting for the start of the network... Execute NC_SystemOpen... Execute CfgNew... EVM in StaticIP mode at 192.168.2.100 Set IP address of PC to 192.168.2.101 PASS successfully initialized Ethernet subsystem successfully initialized Ethernet eventId : 48 and vectId (Interrupt) : 7 Verify_Init: Expected 0 entry count for Queue number = 899, found 498 entries Registration of the EMAC Successful, waiting for link up .. IP Addr(1):192.168.2.100 Execute NetworkOpen... NetworkOpen: Network started. Execute Mailbox_create... Wating for the request from PC... [--TASK EXECUTION 01--] @DataTrans: receiving source data from PC... @DataTrans: ImageSize = 1920 * 1080 = 2073600 @DataTrans: sending message: SRCIMG_RECEIVED @Scheduler: received message: SRCIMG_RECEIVED @ImageProc: Image processing... @ImageProc: Image processing...Done. @Scheduler: sending message: IMGPROC_FINISHED @DataTrans: received message: IMGPROC_FINISHED @DataTrans: sending result data to PC... @DataTrans: sending message: SENDBACK_FINISHED @Scheduler: received message: SENDBACK_FINISHED Time used ImageProc: 338.336ms Time used WholeTask: 4531.708ms [--TASK EXECUTION 02--] @DataTrans: receiving source data from PC... @DataTrans: ImageSize = 2560 * 1600 = 4096000 @DataTrans: sending message: SRCIMG_RECEIVED @Scheduler: received message: SRCIMG_RECEIVED @ImageProc: Image processing... @ImageProc: Image processing...Done. @Scheduler: sending message: IMGPROC_FINISHED @DataTrans: received message: IMGPROC_FINISHED @DataTrans: sending result data to PC... @DataTrans: sending message: SENDBACK_FINISHED @Scheduler: received message: SENDBACK_FINISHED Time used ImageProc: 660.054ms Time used WholeTask: 7971.038ms [--TASK EXECUTION 03--] @DataTrans: receiving source data from PC... @DataTrans: ImageSize = 2336 * 4160 = 9717760 @DataTrans: sending message: SRCIMG_RECEIVED @Scheduler: received message: SRCIMG_RECEIVED @ImageProc: Image processing... @ImageProc: Image processing...Done. @Scheduler: sending message: IMGPROC_FINISHED @DataTrans: received message: IMGPROC_FINISHED @DataTrans: sending result data to PC... @DataTrans: sending message: SENDBACK_FINISHED @Scheduler: received message: SENDBACK_FINISHED Time used ImageProc: 1547.941ms Time used WholeTask: 17513.260ms

本文原创,博文地址 http://blog.csdn.net/fengyhack/article/details/44677127