debugasm

Members
  • Content Count

    16
  • Joined

  • Last visited

Everything posted by debugasm

  1. debugasm

    AXI DMA

    What is the problem with using "scatter gather mode" ? Without "scatter gather mode" you can try this: https://github.com/bmartini/zynq-xdma but did you not have the disposition "read / write" but only "iocrtl" mode.
  2. debugasm

    AXI DMA

    Hi, I've tried this and it works fine. https://github.com/jeremytrimble/ezdma Take care also to this part for use last kernel. https://github.com/jeremytrimble/ezdma/pull/5 debugasm
  3. Hi, there are two cases one for "bare metal" one for "linux" : "bare metal" Add this code to FSL bootloader (this code from Digilent source), Zybo board have I2C eeprom that have unique MAC address: /****************************************************************************** * This function is the hook which will be called before the FSBL does a handoff * to the application. The user can add all the customized code required to be * executed before the handoff to this routine. * * @param None * * @return * - XST_SUCCESS to indicate success * - XST_FAILURE.to indicate fa
  4. Hi, with ZYBO usb I slammed my head for quite a while !!! The USB pin reset on ZYBO is controlled during the "First Stage Bootloader" : /****************************************************************************** * This function is the hook which will be called before the FSBL does a handoff * to the application. The user can add all the customized code required to be * executed before the handoff to this routine. * * @param None * * @return * - XST_SUCCESS to indicate success * - XST_FAILURE.to indicate failure * ************************************************************
  5. Hi, for assign one interrupt use this formula (subtract 32 to the value of the interrupt) Interrupt in linux "61": IRQ_F2P[15:0] == [91:84],[68:61] ==> 61 - 32 = 29 Value on DTS: interrupts = <0 29 4>; Once started linux can check assignment with this command: cat /proc/interrupts From previous example: CPU0 CPU1 27: 0 0 GIC 27 gt 29: 10547 21880 GIC 29 twd 35: 0 0 GIC 35 f800c000.ps7-ocmc 39: 43 0 GIC 39 f8007100.ps7-xadc 40:
  6. Hi sbobrowicz, thanks for your advice. I'll try to make measurements and tests on hardware, but these are the result with my custom kernel. After insert one of my Usb Pen Drive : usb 1-1: new high-speed USB device number 2 using zynq-ehci usb-storage 1-1:1.0: USB Mass Storage device detected scsi host0: usb-storage 1-1:1.0 scsi 0:0:0:0: Direct-Access USB DISK 1100 PQ: 0 ANSI: 4 sd 0:0:0:0: Attached scsi generic sg0 type 0 sd 0:0:0:0: [sda] 15730688 512-byte logical blocks: (8.05 GB/7.50 GiB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] M
  7. Sorry for long delay. Yes, I use a wall adapter with Jumper JP7 configured properly on position : "WALL" I have follow your suggestione but the problem unfortunately with these files it is worsened. After connecting the serial port "PROG/USB" : Built with PetaLinux v2015.4 (Yocto 1.8) Digilent-Zybo-Linux-BD-v2015_4 /dev/ttyPS0 Digilent-Zybo-Linux-BD-v2015_4 login: I logged on with "user:root" and "password:root" login[1049]: root login on 'ttyPS0' [email protected]_4:~# I configured the network interface to access : eth0 Link encap:Et
  8. Yes, I have tried three other pen drive, unfortunately the same brand, but i want try with other brands. There are not yet expert enough to answer this question. Maybe someone can help us. While doing other tests I noticed the strangest thing. Wanting to keep the console "PROG UART" connected, this has always been active for all of my tests, by chance I disconnected and I started an SSH terminal shell. With SSH terminal USB read test working without problem: dd if=/media/pendrive/largefile of=/dev/null bs=8k 131072+0 record dentro 131072+0 record fuori 1073741824 byte
  9. Yes, I have used the external power supply, supplied with the kit of zybo, 5V, 2.5A Switching Power Supply. Can you make the previous test with your Zybo board ?
  10. Hi, I want to use the "USB OTG" available on Zybo development board. With "USB OTG" in "Host Mode" I connect an USB pen drive (FAT32) and reading a file at fixed rate (about 5Mbit/s) for streaming data to logical part (PL). With default setup of Zybo that boot from QSPI I have made some test, without success. I have used an "Consumer USB pen drive", of 8 GByte, formatted with FAT32 and preload "largefile" with size of 1Gbyte. (1) Follow user guide of Zybo When acting as an embedded host, the USB A connector (J10) should be used to connect to a USB peripheral device, an
  11. debugasm

    ZYBO PCB request ...

    Thanks anyway. debugasm
  12. debugasm

    ZYBO PCB request ...

    I have bougth a Zybo board to explorer new Xilinx chip plus FPGA Zynq. Now I started to develop my PCB owner, following the wiring diagram of Zybo reference. I started to design the PCB but I have doubts on the routing of DDR3 memory. I was wondering if it was possbile to have the files Gerber / CAD / PCB / Allegro to carry out an exploration positioning, length and configuration of the slopes. Can you provide these files ? Thanks very much. Best Regards, debugasm
  13. debugasm

    JTAG-HS2

    Hi, After uninstalling all the drivers and software of FTDI from system, now the cable JTAG-HS2 works perfectly using iMPACT. Thanks very much. debugasm
  14. debugasm

    JTAG-HS2

    Hi, I have follow the step on page 15. I have download "ug344_windows.zip" and execute "install_xusb.bat" with these result: But the JTAG-HS2 It is still recognized as "USB serial port". After open Xilinx iMPACT the software detect Digilent PlugIn but do not find JTAG cable. INFO:iMPACT - Digilent Plugin: Plugin Version: 2.4.4 INFO:iMPACT - Digilent Plugin: no JTAG device was found.Other ideas ? I think the chip FTDI cable JTAG-HS2 is not programmed properly. I wait, hopeful. debugasm
  15. debugasm

    JTAG-HS2

    Hi, I have bought JTAG-HS2 or the laboratory to program Xilinx Spartan-3A DSP FPGA. I installed the driver and then connected to the PC HS2 but Windows 7 installs a "FTDI USB Serial Port". After open Xilinx iMPACT the software detect Digilent PlugIn but do not find JTAG cable. INFO:iMPACT - Digilent Plugin: Plugin Version: 2.4.4 INFO:iMPACT - Digilent Plugin: no JTAG device was found. I tried several times but I can not make it work. Someone managed to make it work ? Thanks very much. debugasm
  16. debugasm

    Zybo and HW-Cosim

    Hi, you can use the development board Zybo with "Hardware Cosim" in Xilin System Generator ? I can not understand that clock pin assigned because there is no clock directly connected to the PL of Zynq. Someone has succeeded ? Thanks very much. debugasm