• 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
返回

电子发烧友 电子发烧友

  • 全文搜索
    • 全文搜索
    • 标题搜索
  • 全部时间
    • 全部时间
    • 1小时内
    • 1天内
    • 1周内
    • 1个月内
  • 默认排序
    • 默认排序
    • 按时间排序
  • 全部板块
    • 全部板块
大家还在搜
  • Starfive2无法boot起来是怎么回事?

    (rescue target) Enter choice: 1:Debian GNU/Linux bookworm/sid 5.15.0-starfive Retrieving file: /boot

    2023-09-12 08:25

  • Linux系统Root密码破解(RHEL7&Centos7版本)

    红帽RHEL7系统再进行下面的操作哦:第一步:通电后敲F2进入BIOS,设置CDROM为首选启动项并敲F10保存并退出。第2步:选择“Troubleshooting”。第3步:选择“Rescue a

    2015-11-01 03:50

  • GPRS模块可以在实时发送经纬度到服务器期间,按键触发,发送另一条数据到这个服务器的另一个端口吗?

    ;);LCD1602_write_com(0x80+0x40);LCD1602_write_word("Rescue system");clrStruct();//清空缓存数组

    2018-03-22 20:30

  • 如何配置P2020 eTSEC DTS?

    } eth_addr=$ethaddr platform=$onie_platform $onie_bootargs $onie_debugargs onie_rescue= setenv

    2023-05-18 08:01

  • 无法在Windows 8.1上编译

    from rescue disks) on Lenovo T540p notebook. I setup latest version of spc5 studio. When I try

    2019-05-08 16:29

  • PIC18LF4520任何ESD/EMI是否会损坏闪存或ERAM存储器

    大家好,我用的是PIC18LF420控制器。我需要知道任何ESD/EMI是否会损坏闪存或ERAM存储器。也就是说,在控制器工作期间,可以改变配置字。谢谢。 以上来自于百度翻译 以下为原文 Hello all,I am using pic18lf4520 controller. I need to know if any ESD/EMI can corrupt the flash or EERAM memory.i.e. is it possible that configuration words can be changed during working of controller.Thanks in advance.

    2018-11-07 15:37

  • 怎么将日期转换为现在?

    嗨AllI需要按顺序排序一堆日期。 12 / May / 2007格式。现在我知道我可以编写一个排序函数来排序第一年,然后按年份按月排序。最后结识他们。但是,如果有人知道如何在Gsec中转换上述格式,那将会很容易。我可以按升序排序并转换回来,既简单又容易。以前有人这么做过吗?Simon 以上来自于谷歌翻译 以下为原文Hi All I need to sort a load of dates in order. 12/May/2007 format. Now I know I can write a sort function to sort first year then all that year by month then date. Finally concat them. But what would be easy if someone knew how to convert the above format in Gsec’sThe I could just sort by ascending order and convert back nice and easy. Anyone done it before? Simon

    2019-08-28 07:39

  • K1只能使用3个Gpu

    海人,我在客户遇到问题。我在Xenserver 6.5上安装了nVidia Grid k1卡。当我做一个nvidia-smi我得到了回复:[root @ DSMXEN001 bin] #nvidia-smi2015年8月14日星期五10:08:43+ ------------------------------------------------- ----- +| NVIDIA-SMI 346.68驱动程序版本:346.68 || ------------------------------- + ----------------- ----- + ---------------------- +| GPU名称持久性-M | Bus-Id Disp.A |挥发性的Uncorr。 ECC || Fan Temp Perf Pwr:用法/上限|内存使用| GPU-Util Compute M. || =============================== + ================= ===== + ====================== || 0 GRID K1开| 0000:26:00.0关闭| N / A || N / A 40C P8 10W / 31W | 10MiB / 4095MiB | 0%默认值|+ ------------------------------- + ----------------- ----- + ---------------------- +| 1 GRID K1开| 0000:27:00.0关| N / A || N / A 38C P8 10W / 31W | 2814MiB / 4095MiB | 0%默认值|+ ------------------------------- + ----------------- ----- + ---------------------- +| 2 GRID K1开| 0000:28:00.0关| N / A || N / A 35C P0 16W / 31W | 1883MiB / 4095MiB | 0%默认值|+ ------------------------------- + ----------------- ----- + ---------------------- +| 3 GRID K1开| 0000:29:00.0关闭| N / A || N / A 39C P0 16W / 31W | 2824MiB / 4095MiB | 0%默认值|+ ------------------------------- + ----------------- ----- + ---------------------- + 在这里你可以看到4 GPU,但当我在GPU下看XenCenter时,我只能看到3个GPU。我想给每个K160Q上运行在te服务器上的8 VDI,这应该工作(每个gpu 8 x 2)。但现在我不能只看到3个gpu,我必须给每个人一个K140Q。有没有人有这个问题。是否有可能1 GPU被破坏?或者是其他东西 ??以上来自于谷歌翻译以下为原文Hai people,I have a problem at a customer. I installed a nVidia Grid k1 card on Xenserver 6.5.When i do a nvidia-smi i get this back:[root@DSMXEN001 bin]# nvidia-smiFri Aug 14 10:08:43 2015 +------------------------------------------------------+| NVIDIA-SMI 346.68Driver Version: 346.68||-------------------------------+----------------------+----------------------+| GPUNamePersistence-M| Bus-IdDisp.A | Volatile Uncorr. ECC || FanTempPerfPwr:Usage/Cap|Memory-Usage | GPU-UtilCompute M. ||===============================+======================+======================||0GRID K1 On| 0000:26:00.0Off |N/A || N/A40C P8 10W /31W |10MiB /4095MiB |0%Default |+-------------------------------+----------------------+----------------------+|1GRID K1 On| 0000:27:00.0Off |N/A || N/A38C P8 10W /31W |2814MiB /4095MiB |0%Default |+-------------------------------+----------------------+----------------------+|2GRID K1 On| 0000:28:00.0Off |N/A || N/A35C P0 16W /31W |1883MiB /4095MiB |0%Default |+-------------------------------+----------------------+----------------------+|3GRID K1 On| 0000:29:00.0Off |N/A || N/A39C P0 16W /31W |2824MiB /4095MiB |0%Default |+-------------------------------+----------------------+----------------------+ Here you see the 4 GPU's but when i look in XenCenter under GPU i only see 3 gpu's.i want to give the 8 VDI that are running on te server each a K160Q and that should work (8 x 2 per gpu). But now i Can't i only see 3 gpu's and i have to give every one a K140Q. Does anybody else had this problem. Is there a possiblity that 1 GPU is broken? Or something else ??

    2018-10-08 14:23

  • LUT实现的逆变器真的是FPGA上的逆变器吗?

    你好,当我在原理图视图中单击LUT时,它会按预期显示逆变器。但我想知道它是通过逆变器在Xilinx FPGA上实现还是实际上原理图不等同于FPGA的真相?谢谢,Ĵ以上来自于谷歌翻译以下为原文Hi there, When I click an LUT in the schematic view and it shows an inverter as expected. But I am wondering if it is implemented on Xilinx FPGA by an inverter or actually the schematic view is not equivalent to the truth on the FPGA? Thanks,J

    2019-01-29 09:22

  • 使用I2C接收数据错误

    这是我的第一个I2C项目。好像出了问题。从属者没有接收正确的数据。下面提供了主和从两个代码。任何人都可以调试主代码*/包括:UIT8 8WRDATA〔2〕={0xAA,0xBB};外部UIT8标志;空主程序(){*将初始化/启动代码放在此处(例如MyStimSistAd())*/囊状的;ISRYTXXSTART();LCDX START();I2C*START();*取消注释此行以启用全局中断。*/(;){If(FLAG=1){旗=0;I2CJMistCurrStaseUs[/];/*清除任何先前状态*/I2CJMistWrrestBuf(0x08,(Unt8*)WrDATA,2,I2CyMoDEi完全EXEXEXXFER);(;){如果(0U)!=(I2CJMistStaseUs)和(I2CYMSTATEA WRES-CMPLT){*传输完成。检查主机状态以确保传输无错误完成。*/断裂;}}LCDA- PrimtIn 8(WrDATA〔0〕);}*将您的应用程序代码放在这里。*/}}/*[]文件结束*/从属码包括:空主程序(){UIT8I;UITN8 WRBUF〔10〕;UIT8用户阵列〔10〕;UIT8 8;囊状的;*在调用i2c*Stc**之前初始化写入缓冲器I2CySLaveInWruteBuf((Unt8*)WrBuf,10);LCDX START();/*启动I2C从操作*I2C*START();*等待I2C主控器完成写入*/对于(;;)/*循环永远**{*等待I2C主控器完成写入*/如果(0U)!=(I2CySavavestUsUs)和(I2CysStista WRES-CMPLT){BytCNT= I2CySLaveGeWruteBuffsiz();I2CySLaveCaveRealStestAtUsUs();对于(i=0;i&lt;BytCNT;I++){用户数组=WrBuf;/*传输数据*/}I2CySLaveCaveRealeBuffe();LCDA PrimtIn 8(USER数组〔0〕);}}}/*[]文件结束*/ 以上来自于百度翻译 以下为原文This is my first I2C project. Seems like something going wrong. Slave is not receiving correct data. The code is provided below for both master and slave. Cananyone debug Master code */ #include uint8 wrData[2]={0xAA, 0xBB}; extern uint8 flag; void main() {/* Place your initialization/startup code here (e.g. MyInst_Start()) */CyGlobalIntEnable; isr_Tx_Start();LCD_Start();I2C_Start();/* Uncomment this line to enable global interrupts. */for(;;){if(flag==1){ flag=0;I2C_MasterClearStatus(); /* Clear any previous status */ I2C_MasterWriteBuf(0x08, (uint8 *) wrData, 2, I2C_MODE_COMPLETE_XFER); for(;;) { if(0u != (I2C_MasterStatus() & I2C_MSTAT_WR_CMPLT)){/* Transfer complete. Check Master status to make sure that transfercompleted without errors. */break;} } LCD_PrintInt8(wrData[0]);}/* Place your application code here. */} } /* [] END OF FILE */ Slave code #include void main() { uint8 i; uint8 wrBuf[10]; uint8 userArray[10]; uint8 byteCnt;CyGlobalIntEnable;/* Initialize write buffer before call I2C_Start */I2C_SlaveInitWriteBuf((uint8 *) wrBuf, 10);LCD_Start();/* Start I2C Slave operation */I2C_Start();/* Wait for I2C master to complete a write */for(;;) /* loop forever */{/* Wait for I2C master to complete a write */if(0u != (I2C_SlaveStatus() & I2C_SSTAT_WR_CMPLT)){ byteCnt = I2C_SlaveGetWriteBufSize(); I2C_SlaveClearWriteStatus(); for(i=0; i < byteCnt; i++) {userArray = wrBuf; /* Transfer data */ } I2C_SlaveClearWriteBuf(); LCD_PrintInt8(userArray[0]);}} } /* [] END OF FILE */

    2019-05-16 13:50