完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
我有一个应用程序,可以通过网络浏览器从SD卡下载文件。Web服务器的协调演示代码是从ApptPIPWebSerServyNvMyMPFS,SD卡来自ApvsFSDSDCADFATA SUNLYL光盘。这些是一个起点并结合在一起。我添加了一个页面来查看文件和卡片,以及一个链接到卡片上的位置。点击链接,例如从“MNT MyDube 00000000 .bin”开始下载文件。文件下载工作,但速度很慢,每秒只有15K字节。下载一个16GB的卡片需要几天的时间。什么会影响文件传输速率?除了运行协调系统任务外,我的应用程序基本上在下载时什么也不做。SD卡的SD卡总线运行在25MHz。以太网是100Mb. Windows 10家庭64位版本MPLAB X IDE V4.05XC32 V1.44和声V2.04PIC32 MZ2014EFH144EC W/FPU(EF)MEBII
以上来自于百度翻译 以下为原文 I have an application that downloads files from the SD Card over the web browser. The HARMony demo code for the web server is from appstcpipweb_server_nvm_mpfs and the SD Card is from appsfssdcard_fat_single_disk. These were used as a starting point and combined together. I added a page for viewing the files and the card and a link to its location on the card. Clicking on the link starts a file download from "mntmyDrive 0000000.bin" for example. The file download works, but it is slow, only 15k bytes per second. It will take days to download the files on a filled 16GB card. What could affect the file transfer rate? My application is essentially doing nothing at the time of the download except running harmony system tasks. The SPI bus to the SD card is running at 25MHz. The Ethernet is 100Mb. Windows 10 Home 64-bit Edition MPLAB X IDE v4.05 XC32 v1.44 Harmony v2.04 PIC32MZ2014EFH144 EC w/FPU (EF) MEB II |
|
相关推荐
1个回答
|
|
|
我建议你先看看瓶颈在哪里。如果不改变HTTP服务器设置,尝试一个驻留在Flash中的32/64 KB文本文件。检查你得到的传输速率。调整HTTP套接字TX和RX大小以获得足够高的传输速率。然后,您可以移动到SD卡中获取数据,如果看到降级,这将是SD卡访问造成的。
以上来自于百度翻译 以下为原文 I'd suggest you try first to see where the bottleneck is. Without changing the HTTP server settings, try with a 32/64 KB text file, that resides in flash. Check the transfer rate that you get. Adjust the HTTP socket TX and RX sizes to get a high enough transfer rate. Then you can move to getting data from the SD card and if you see degradation, that will be caused by the SD card access. |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
473 浏览 0 评论
5793 浏览 9 评论
2334 浏览 8 评论
2224 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3530 浏览 3 评论
1121浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1095浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
872浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
473浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 19:23 , Processed in 0.549117 second(s), Total 72, Slave 55 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1701