Weevil

Members
  • Content Count

    48
  • Joined

  • Last visited

About Weevil

  • Rank
    Frequent Visitor

Recent Profile Visitors

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

  1. Hi @attila thank you so much for your effort! I tried to do so, but the dwf.dll can not be found. Now i started a post at stackoverflow and uploaded an example project. https://stackoverflow.com/questions/63875883/use-dll-from-analog-discovery-in-uwp
  2. Hi @attila thank you very much for your quick response! For standard WPF and WinForms project this works fine. For my uwp application this does not work and i run into an exception. As i read in the microsoft documentation the .dll needs to be compiled as "uwp dll". Would that be possible? Or is there another option? https://docs.microsoft.com/en-us/cpp/porting/how-to-use-existing-cpp-code-in-a-universal-windows-platform-app?redirectedfrom=MSDN&view=vs-2019
  3. Hi all, i used the Analog Discovery for some projects in python. Now i would like to switch the environment to .net UWP. Unfortunately, as i got, the standard dwf.dll can not be used in uwp. Is there any possibility to use the AD2 in an uwp project?
  4. @xc6lx45 Your project is something i was looking for a long time! In the past i did some projects with a cmod board and uart, but it is a little bit to slow for my task. So i would like to include it in my block design (i am a real beginner fpga programmer) and make a try with my arty board. Actual i don't really understand how to set the interface from my datas i want to send (as example a sine wave from a dds generator) to the FTDI chip. Would i have a disatvantage when i include it in a block diagram, instead of using your code direct? Thank you for any help :) module top
  5. Hi @jpeyron, thank you so much!!! Its starting up save now. I changed the following settings in my project: - Set SPI Mode to "Standard" - Select configuration mode "Master SPI x1" Cheers, Weevil
  6. Hi @jpeyron i did, nothing changed...
  7. Hi @jpeyron Jon, i tryed a delay of 500ms in my SDK code similar as @BYTEMAN suggested in the post (https://forum.digilentinc.com/topic/9532-cmod-a7-35t-quad-spi-memory-question-and-peripheral-interfacing/). The difference in my code is the delay is before the while loop: int main() { MB_Sleep(500); while(1) { //do some stuff } } With this i still have the problem. As you suggested i use compressed bitstream and commented out verbose. For a test i tryed with verbose (it does not effect the problem) and got the position where the bootloader fails. Sometimes
  8. Hi @jpeyron, programming with JTAG and -> launch on Hardware(System debugger) works fine, but i would need to start the program when the board gets power on. Actual the FPGA is programed by the SPI-flash on startup (control with a led). The problem is, the bootloader is sometimes not started. Is there a possbibility to adjust the startup sequence or can something else cause such error? ...if i manual program the FPGA with the bootloader.elf it runs every time without problems and the bootloader is loading the program from the spi-flash... Thanks you for your help! Greet
  9. Hi all, i did the tutorial "How To Store Your SDK Project in SPI Flash" (https://reference.digilentinc.com/learn/programmable-logic/tutorials/htsspisf/start) and everything works fine. ...But now i recognise when, i connect the Cmod-A7 to my USB-port, the FPGA is programmed but the bootloader does not start the C-programm i created in the SDK. If i now disconnect and connect it again, the bootloader starts the C-programm and everything works fine. Maybe someone know how to handle this?
  10. Hi Jon @jpeyron, got it, i had changed the linker script of the boot-loader to the axi_emc.... Before i didn't catch this because my old download.bit from the previous standard bootloop was there and i didn't recognise the error... Sorry for wasting your time and thank you very much for your patience! Greetings!
  11. Hi Jon @jpeyron, I direct used your design and deleted the sdk folder only and expoerted the hardware with bitstream. Please find attached screenshots. Maybe this error would be interesting: ERROR: [Updatemem 57-153] Failed to update the BRAM INIT strings for C:\Projekte\MSX\FPGA\testo\cmoda7_qspi.sdk\boot_spi\Debug\boot_spi.elf and C:/Projekte/MSX/FPGA/testo/cmoda7_qspi.sdk/design_1_wrapper_hw_platform_0/design_1_wrapper.mmi.
  12. @jpeyron I copied the board files in the folder "C:\Xilinx\Vivado\2017.3\data\boards\board_files" and started the project with the CmodA7 board. (working with windows 10) The interrupts i maybe would need in a further step, but for now i deleted them. I figured out, when i follow the whole instruction of the tutorial i get to the point to program the FPGA with the choosen .elf file. On this step i get the following error message. If i start it with the standard bootloop file it works an creates the download.bit file. But this file does not include the .elf datas and after
  13. Hi Jon @jpeyron, thank you so much for your example! Your example works for me, but actual i did not get why my design does not work. I am using the board files and follow before your "How To Store Your SDK Project in SPI Flash". Actual i expect some failure in my microblaze design. Thanks again!
  14. Hi all, i tryed to do the "How To Store Your SDK Project in SPI Flash" tutorial but i do not get it to work. Everything seems to be successful, but after rebooting the CmodA7 the .elf program i created does not start. During creating the project i followed the instruction from the attached post. (https://reference.digilentinc.com/learn/programmable-logic/tutorials/htsspisf/start) Additional i tryed to merge the .bit and .elf file with Vivado like the tutorial (https://techmuse.in/creating-and-configuring-xilinx-fpga-with-mcs/). Programming the fpga manual works, but if
  15. @xc6lx45 and @Notarobot thank you very much for your comments. I will further try the thing you suggest. For the first step i got a solution by looking at the "x00" and reordering my results from the uart with it. In future i want do to something like wfjmueller posted in this thread, but for doing that i have to learn many things before https://forum.digilentinc.com/topic/1053-arty-schematics-missing-ft2232-component/ Python code: import numpy as np import sys import serial buffersize = 512 byte_number = 4 ser = serial.Serial( port='C