Victor

Members
  • Content Count

    57
  • Joined

  • Last visited

About Victor

  • Rank
    Frequent Visitor

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello @ zygot >You don't need Linux to use Ethernet. Admittedly, FPGA vendors aren't too interested in making this easy. It seems for me as very strange manner to promote FPGAs. Can you gives some comments about it ? Tnanks.
  2. Hello @ Ciprian I read the document in this link and tied to use one of the command-line tools: [email protected]__my1:/# gpiodetect -sh: gpiodetect: command not found What means this reply from Petalinux ? Thank you Victor.
  3. Dear @ zygot >You don't want to do that in any OS, including a Linux varitety. Where can I find concrete GPIOs (used in my own FPGA design) within the Petalinux ? >Since you are struggling, you might just stick to Xilinx standalone SDK development until you feel confident. Adding the complexity of Linux and the development flow won't make this >easier. I have no problems in the application programs using GPIO within SDK. Petalinux is necessary me for supporting hi-level interfaces on Zibo-Z7-10, for using the programs suporting the Internet and som
  4. Hello @zygot, @Ciprian I had no intend to use direct access to GPIO within Petalinux. Earlier I used ready to use driver in Debian. E.g. for PCIe it was only 2 things for using the registers (that were connected to GPIO and so could be controlled with the processor): 1) within the Debian: root...> insmod xbmd.ko 2) in the user program: #include "xbmd.h" ................. uint32_t XPCIe_ReadReg (int fd,uint32_t dw_offset){ io_struct_VC707 q_reg; q_reg.MemAddr=dw_offset; if(ioctl(fd,WRITE_STRUCT,&q_reg)<0){ printf
  5. Hello Cristian it is enought redundant way for me to use the interrupts. I intend to use only usual polling. Can you suggest me how to resolve this task with the ready to use program example for Petalinux? Thank you
  6. @zygot Thank you. I know that OS (acept similar to DOS may be) isolates HW from end user applications, but it does not help me to resolse simple (as I thought earlier) task: - to setting mode of the GPIO port; - to write data to the GPIO port; - to read data from GPIO port.
  7. Thank you. Best regards, Victor
  8. Hello all, Please suggest me how to add USB into Petalinux? Thank you. Best regards, Victor
  9. As I understand you I should change TeraTemo on the to another one. Is it right? Which terminal emulator is appropriate for this purpose? Thank you.
  10. Hello @lonel I have found only: Filesystems-->misc-->gcc-runtime and Filesystems-->misc-->gcc-sunitizer and include both. But gcc still does not work: -sh: gcc: command not found Can you help me to find appropriate item ? Thank you. Best regards, Victor.
  11. Can you suggest me, how to do it ? Thank you.
  12. Hello @lonel Thank for your quick reply. No, in Debian, Ruspbian, Ubuntu after Ctrl^o I go from mc to the same directory of the terminal, from which I call mc and vice versa. Best regards, Victor.
  13. Hi @ JColvin Can you suggest, how to add more convenient edditor than vi ? Thank you, Best regards, Victor
  14. Hello all, I did access to the GPIOs under SDK with the following program: #include <stdio.h> #include "platform.h" #include "xil_printf.h" #define GPIO_0_out 0x41200000 // GPIO_0 output custom 4bits // 4 LEDs #define GPIO_0_in 0x41200008 // GPIO_0 input custom 4bits // 4 Buttons int main() { unsigned char temp; .................................................. *(unsigned int*)(GPIO_0_out | 0x0004) = 0x00000000; // configure GPIO_0_out as output *(unsigned int*)(GPIO_0_in | 0x0004) = 0xFFFFFFFF;