All Activity

This stream auto-updates     

  1. Today
  2. Thanks for that, glad to see there is some progress coming at last! But you don't make it easy for us novices! If there is an executable why can't I just download it, rather than have to go through this github stuff Could you provide some instructions-for-complete-dummies to help me ? It starts off by saying "Clone this repository" and it gives the command below which looks like a linux command to me. git clone So If I'm running windows, what do I do? regards Steve (github-dummy)
  3. Chase

    JTAG-HS2 program issue

    Hi Digilent, I often got a information " The selected cable is being used by another application. Please retry the current operation. " from ISE iMPACT 14.7 when I used JTAG-HS2 device to program xilinx Spartan-6 device. But I did't use JTAG to do anything. I had make sure the driver is last. Does anyone have any idea? Thanks.
  4. Many thanks for your response Michael. I have now managed to resolve this problem. What I was missing was a call to the DmgrGetTransResult function after the DspiPut to allow sufficient time for the data to be returned from the device. It is an overlapped transfer operation. I should have really realised this earlier. The error code did point in this direction but I just wasn't able to quite work out how to use DmgrGetTransResult properly.
  5. Hi @attila I've gotten the results that I wanted! Thanks for all the help regarding the UART Decoder Algorithm! Examples of the received and parsed messages that I used are: I also increased the buffer size to 4095 to accommodate for messages with bigger size. Result is: The next step for me is to reference the working VB Logic Analyzer Wrapper to a VBA Macro Script Project. Errors occurred and I observed that the UART Decoder Algorithm uses some operators not supported by VBA. Can you please help me understand what should I do to fix this error? Best Regards, Lesiastas
  6. Hi~ I'm building a project where I get the PCB + panel to buy my own parts. It needs a clock buffered by cd40106 and runs a cd4017. The sequential output of CD4017 produces a programmable voltage sequence that enters the output stage based on lm358. The complete sketch can be seen here. I just realized that I didn't supply power to lm2931, which constitutes the + 5V line of digital integrated circuits. I looked at the data sheet and it looked like it was just a low voltage drop 5V regulator with a rated current of 100 mA. Should a good 78L05 voltage regulator be a good substitute for driving only 4xxx logic? I'm almost sure I'll be okay, but I think I'll say hello. Below is the relevant part of the sketch: Likewise, I want to use TL072 instead of LM358, because I have many such devices. I tried to contact the PCB manufacturer and he gave me an extra past task, but I didn't get the answer, so I think I can handle everything faster by simply asking here and making some modifications alone. PS: LM358 stage is only a typical 100K/100K mixer for CD4017 production. Then it supports 100K/100K by 15PF and 330R by output jack. Thank you in advantage~
  7. Hello @JColvin and @Bianca I also have a similar problem. I have erased the FT2332 configuration by mistake on the Nexys A7 Board using FT_Prog. The board cannot be detected by FT_Prog anymore. How can I revert this to factory default? Regards, Cirach
  8. Fair enough I suppose - I was hoping I would be able to use djtgcfg as a lighter weight tool than ISE etc.
  9. Yesterday
  10. Hello @JColvin and @jpeyron I'm also having the same problem as the other user. Please guide me to restore EEPROM Thanks, Cirach
  11. Hi @pedro_uno, Depending on your exact end design, I'd probably recommend going for the Pmod BB (a breadboard) or the Pmod TPH2 if you just need test point headers. Thanks, JColvin
  12. Welcome to the club. I have found version sensitivity to be a big problem with Petalinux in general. Often an old bsp will push you back several versions of Petalinux. Then Petalinux itself is very sensitive to the OS of the host development system so you might have to go back a couple of Linux version on your workstation. This is due to the enormous number of dependencies involved with the Petalinux, Yocto, Bitbake, scheme. In one case, I figured out how to make my own Petalinux 2019.1 version of a BSP. That got me going after a week of frustration.
  13. I don't have the Arty Z7 board so I've not used the ULP TUSB1210 on it. I might have some helpful answers. First of all the TUSBxxx On-the Go USB devices are almost always connected to the PS where drivers can handle the functionality that is missing in the device hardware. Looking at the schematic for your board this is the case for you too. There are no constraints for PS IO pins as the hardware is not in programmable logic ( the PL ) and can't be reconfigured. For FPGA pin connected to programmable logic IO banks you can certainly append multiple constraints like location, IOSTANDARD, Drive Strength, etc onto one line. Usually, these get long enough so I've never tried appending timing constraints. Timing constraints can get messy all by themselves. I prefer maintaining the constraints file myself rather than have Vivado or ISE do it and often have to add one that I don't know, or more likely can't remember, the syntax for. There's a whole user manual for constraints that is isn't always helpful. It never hurts to start with the documentation but sometimes trying to get a specific answer is frustrating so I'm not shy about finding alternate means. After place and route you can open the Implemented design and view the pin constraints in the I/O Planning view. From there you can select a new constraint or change a default one and let Vivado show you the syntax; just let Vivado ammend your existing constraints file. A similar process helps figure out timing constraint by using the Edit Timing Constraints tab or in the Timing Analysis View. Sometimes, I have to work to figure out how to set reasonable timing constraints that result in consistently good designs with very low or 0 Timing scores.
  14. Hello All, I am a little confused on how to constrain the USB2.0 from xilinx with my Arty z7 board. I had a couple questions one more general the other specific: 1. (General) can you mix user created constraints with the ones that come with the board, i.e. the board package provided by the Digilent team. 2. I am getting errors saying there are unconstrained ports as well as unspecified I/O standard. I provided the contents of my constraints file for the project and can provide more files on request. I figured a) the project is too big to put up, and b) people don't want the project unless they need it. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- set_property -dict { PACKAGE_PIN H16 IOSTANDARD LVCMOS33 } [get_ports { clk }]; #IO_L13P_T2_MRCC_35 Sch=SYSCLK create_clock -add -name sys_clk_pin -period 8.00 -waveform {0 4} [get_ports { clk }];#set set_property -dict { PACKAGE_PIN D19 IOSTANDARD LVCMOS33 } [get_ports { reset_rtl }]; #IO_L4P_T0_35 Sch=BTN0 set_property IOSTANDARD LVCMOS18 [get_ports ULPI_0_data_io[0]] set_property PACKAGE_PIN A14 [get_ports ULPI_0_data_io[0]] set_property IOSTANDARD LVCMOS18 [get_ports ULPI_0_data_io[1]] set_property PACKAGE_PIN D15 [get_ports ULPI_0_data_io[1]] set_property IOSTANDARD LVCMOS18 [get_ports ULPI_0_data_io[2]] set_property PACKAGE_PIN A12 [get_ports ULPI_0_data_io[2]] set_property IOSTANDARD LVCMOS18 [get_ports ULPI_0_data_io[3]] set_property PACKAGE_PIN F12 [get_ports ULPI_0_data_io[3]] set_property IOSTANDARD LVCMOS18 [get_ports ULPI_0_data_io[4]] set_property PACKAGE_PIN C16 [get_ports ULPI_0_data_io[4]] set_property IOSTANDARD LVCMOS18 [get_ports ULPI_0_data_io[5]] set_property PACKAGE_PIN A10 [get_ports ULPI_0_data_io[5]] set_property IOSTANDARD LVCMOS18 [get_ports ULPI_0_data_io[6]] set_property PACKAGE_PIN E13 [get_ports ULPI_0_data_io[6]] set_property IOSTANDARD LVCMOS18 [get_ports ULPI_0_data_io[7]] set_property PACKAGE_PIN C18 [get_ports ULPI_0_data_io[7]] set_property IOSTANDARD LVCMOS18 [get_ports ULPI_0_dir] set_property PACKAGE_PIN C13 [get_ports ULPI_0_dir] set_property IOSTANDARD LVCMOS18 [get_ports ULPI_0_rst] set_property PACKAGE_PIN D16 [get_ports ULPI_0_rst] set_property IOSTANDARD LVCMOS18 [get_ports ULPI_0_next] set_property PACKAGE_PIN E16 [get_ports ULPI_0_next] # set the ULPI_clk constraints create_clock -name ULPI_clk -period 16.667 [get_nets ULPI_0_clk] set ulpi_input {ULPI_0_data_io, ULPI_0_dir,ULPI_0_next} set ulpi_output {ULPI_0_data_io, ULPI_0_stop, ULPI_0_rst} set_output_delay -max 7 -clock ULPI_0_clk $ulpi_output set_input_delay -max 4.5 -clock ULPI_0_clk $ulpi_input set_max_delay 24 -from [get_ports ULPI_0_dir] -to [get_ports ULPI_0_data_io[*]] -datapath_only --------------------------------------------------------------------------------------------------------------------------------------------------------------------
  15. Hello, I am looking for a simple PMOD breakout board so that I can wire a cable to it. The cable goes to an RF front end eval board that has inconvenient connections. I would like the break out board to plug directly into the 12 pin PMOD connectors of my FPGA board.
  16. Hi @GeorgeMina, Yes the cable like the one you linked will work correctly. I'm not familiar with the Nebula board you linked, but most microcontrollers programming environments are pretty beginner friendly. Let me know if you have any questions about this. Thanks, JColvin
  17. @adambro What value are you passing for the fOverlap parameter of DspiPut? Are you running the same Linux distribution on both Linux PC's and is the architecture the same? What is the architecture: x86, x64, or arm? Thanks, Michael
  18. @DJOConnor XC3S400 is an old device and my guess is that we most likely designed one or more part from the same family onto a Digilent board, tested it, and assumed it would work for all parts in the family and didn't explicitly test programming an XC3S400. We never really intended for djtgcfg to be used as a general purpose FPGA configuration tool... we only intended for it to be used to configure the devices that were on Digilent System boards. Now that ISE and Vivado both include integrated support for our programmers there is no need to add support for new devices, nor is there any motivation to go back and test any of the legacy devices that aren't utilized on active Digilent system boards. If we do another release of djtgcfg then we will likely remove all legacy devices from jtscdvclist.txt so that those devices end up being unrecognized by djtgcfg and then have jtsc spit out a message that says to use iMPACT or Vivado. In the end the solution is to use iMPACT or Vivado, both of which have the programming algorithms built in and tested by Xilinx. Thanks, Michael
  19. Oh nice! Yes, I tried it out and it works. Thank you. FYI: To get it to work reliably at 921.6K I had to drop the Spy Rate to 2X. It looks correct but I am getting "Samples Lost" warnings. My two devices have different line terminators one is CR and the other CR LF. I can only make one global choice, so its a little weird. I'll live with it though, this really helps.
  20. Hi @Wayne.B I wanted to say not, but I just notice that such option is already added Use the UART Spy in the beta version:
  21. The protocol options and features in WaveForms are great and do just what I need. The only issue it looks like Waveforms only supports one Protocol window, hence 1 UART. I need to monitor serial communications between two devices, which means I need two RX inputs. Is there a way to achieve this with the latest version?
  22. Hello, We apologize for taking so long to answer this issue. I have followed the steps you mentioned in the first post (of course, using zybo-z7-20 instead of zybo-z7-10) and I managed to get things done. Please be careful to the exported file location (I suggest to use the project default locations). I attach a screen caption with the Vivado block design and a caption with my teminal showing the great message. I am also attaching a zip with my project, in case you fail to get it running you can try to use mine. Please follow the steps from the readme file (run the proj/create_project.tcl script, ...). Good luck.
  23. Thank you very much for your answer. It is true I am reconfiguring it, I moved the code outside the loop. However the reads are done in this loop, so Ishould not miss samples. for(int i=0;i<NUMBER_OF_SAMPLES;i++){ XSysMon_GetStatus(SysMonInstPtr); while ((XSysMon_GetStatus(SysMonInstPtr) & XSM_SR_EOC_MASK) != XSM_SR_EOC_MASK); *(sample+i) = XSysMon_GetAdcData(SysMonInstPtr, XSM_CH_AUX_MIN+channel); } The main problem is that it works for aux_channel 3, like you can see in the capture, but fails in all the other channels. Regards
  24. @bhall Thanks a lot bhall for giving info.I got this elf bootloader working when I started from scratch.
  25. As far as I can tell from your code, you are continuously reinitialize and reconfigure the XSysMon (the XADC driver). During this process, which is redundant, you are loosing a lot of samples. Try this instead: #include <stdio.h> #include "xparameters.h" #include "platform.h" #include "xsysmon.h" #include "xil_printf.h" #include "xstatus.h" #include "xuartlite.h" #define UARTLITE_DEVICE_ID XPAR_UARTLITE_0_DEVICE_ID #define SYSMON_DEVICE_ID XPAR_SYSMON_0_DEVICE_ID #define UART_BUFFER_SIZE 16 #define NUMBER_OF_SAMPLES 4500 int main() { static XSysMon SysMonInst; /* System Monitor driver instance */ unsigned int ReceivedCount = 0; unsigned char RecvBuffer[UART_BUFFER_SIZE]; XUartLite UartLite; unsigned int channel = 3; int Status; XSysMon_Config *ConfigPtr; XSysMon *SysMonInstPtr = &SysMonInst; int *sample; //External memory address to store samples sample=(int *)0x60000000; init_platform(); Status = XUartLite_Initialize(&UartLite, UARTLITE_DEVICE_ID); ReceivedCount = 0; while(ReceivedCount==0){ ReceivedCount = XUartLite_Recv(&UartLite, (unsigned char *) RecvBuffer, 1); } ConfigPtr = XSysMon_LookupConfig(SYSMON_DEVICE_ID); if (ConfigPtr == NULL) { return XST_FAILURE; } XSysMon_CfgInitialize(SysMonInstPtr, ConfigPtr, ConfigPtr->BaseAddress); XSysMon_SetAvg(SysMonInstPtr, XSM_AVG_0_SAMPLES); XSysMon_SetAdcClkDivisor(SysMonInstPtr, 39); XSysMon_SetSequencerMode(SysMonInstPtr, XSM_SEQ_MODE_SINGCHAN); XSysMon_SetCalibEnables(SysMonInstPtr, XSM_CFR1_CAL_PS_GAIN_OFFSET_MASK | XSM_CFR1_CAL_ADC_GAIN_OFFSET_MASK); Status= XSysMon_SetSingleChParams(SysMonInstPtr, XSM_CH_AUX_MIN+channel, FALSE, FALSE, TRUE); if(Status != XST_SUCCESS) { return XST_FAILURE; } /* * Disable all the alarms in the Configuration Register 1. */ XSysMon_SetAlarmEnables(SysMonInstPtr, 0x0); while(1){ /* * Wait till the End of conversion */ //print("Capturing\n\r"); for(int i=0;i<NUMBER_OF_SAMPLES;i++){ XSysMon_GetStatus(SysMonInstPtr); /* Clear the old status */ while ((XSysMon_GetStatus(SysMonInstPtr) & XSM_SR_EOC_MASK) != XSM_SR_EOC_MASK); //Four last bits are noise *(sample+i) = XSysMon_GetAdcData(SysMonInstPtr, XSM_CH_AUX_MIN+channel); } //print("Finish capture\n\r"); //xil_printf("samples=np.array(["); for(int i=0;i<NUMBER_OF_SAMPLES-1;i++){ xil_printf("%d,",*(sample+i)); } xil_printf("%d\r\n",*(sample+NUMBER_OF_SAMPLES-1)); xil_printf("end\n"); } cleanup_platform(); return 0; }
  26. Here you can find a tutorial for nexys4 and microblaze. It is in spanish, but you can enable english subtitles.
  27. Hi @thoriam In case you are supplying the amplifier with +/- voltages you can connect one of the inputs to GND. In case you are supplying it with + and GND, you can drive one input with a DC voltage using Wavegen Channel 2. The Network Analyzer controls Wavegen Channel 1 to generate stimulus signal and you can specify offset.
  1. Load more activity