All Activity

This stream auto-updates     

  1. Today
  2. D@n

    Genesys 2 SD card slot

    @DanK, I've been using this code for working with SD Cards recently. So far, I've been successful reading and writing files. While I've used the reset, and while I start the design with the SD card in reset, I'm not quite certain that it actually resets the card like it's supposed to. I had some test failures along the way to getting this working that suggest that the reset didn't truly pull power from the card as well as removing the card from the board did. Dan
  3. Using Windows 10, my Basys 3 Artix-7 FPGA Trainer Board will not power on. Bought a new USB cable from Digilent and the board still did not power on.
  4. DanK

    Genesys 2 SD card slot

    Hello, Does anyone have a working example for using the SD card slot on the Genesys 2? I am trying to use SPI mode and I am not getting a response to CMD0. I just noticed that according to the docs I should be driving "SD_RESET" low to power the card. I am not doing this, but the card still receives power. Is it possible that the PIC24 is still trying to use the SD card slot?
  5. Yesterday
  6. If so, the card itself would be in the read-only mode. How are the SD Cards formatted? I'm pretty sure the sketch can handle FAT16 and FAT32, but exFAT wouldn't be supported.
  7. Hey Larry. I have tried getting this code to work with the WiFire, but using multiple SD cards I have still not been able to generate a file. Is it possible that it is in a read only configuration? This quote from the WiFire reference manual makes me wonder if this is the case: "The micro-SD card connector provides the ability to access data stored on micro-SD sized flash memory cards using the SD card library provided as part of the Arduino IDE software system. The SD card is accessed using an SPI interface on PIC32 microcontroller pins dedicated to this purpose. The Arduino IDE SD library uses a “bit-banged” software SPI implementation to talk to SD card. However, software can be written to access the SD card using SPI3. On the Wi-FIRE board, SPI3 and I/O pins used to communicate with the SD card are dedicated to that function and are not shared with other uses." -Daniel
  8. Welcome to the Forums! The critical warnings about not being able to find the Pmod interface are likely to be causing the issue. The vivado-library folder contains two main subfolders, "ip" and "if". The Pmod IP is contained in the former, while the itnerface is contained in the latter. Make sure that you picked the root "vivado-library" folder when adding the IP repository to your project (first image, below). When the IP's Pmod interface is successfully connected to the board interface, you should see the connection show up in the board tab and in the block diagram (second image, below). Unrelated to your question, but take care to make sure that the block memory that Microblaze is connected to is big enough to fit you application. The drivers we provide are quite large - minimum 385 KB as noted by the Pmod IP guide's compatibility table. Unfortunately this won't fit in the Basys 3's BRAM without some work to reduce their size, or to find some other solution. -Arthur
  9. Physically, nothing is different. It was a labeling thing when the chipKIT logo was removed.
  10. There is a SDReadWrite example sketch that is installed with the Digilent or chipKIT core. That will do writing and reading.
  11. Hi Larry, The bootloader is for the same PIC32MX 795 processor as fitted to the Max32 so I think this is why no scrpt change is needed. My code is now 700Kb is size and this loads in a few seconds, its actually faster than my programmer. Thank you for your help and suggestions.
  12. Welcome to the Forums! The "bitstream is not compatible with the target" error means that the part selected when you created the project does not match the part that the hardware manager found on the Pynq. You can change the part or board through the first page of the project's Settings dialog. Make sure that the part matches "xc7z020clg400-1". All communication with the Pmod CAN from the host board goes through a SPI bus. The Pmod IP core and its drivers wrap a Xilinx Quad SPI IP core and xspi drivers, so the actual SPI protocol is mostly abstracted away when you are writing your code. Thanks, Arthur
  13. Sounds like you've got a pretty good solution. The only thing you'll have to be aware of is that you might need a different linker script to correctly load with Mikro's bootloader.
  14. What is the difference between the original UC32 (now retired) and the UC32 REV B (and what is the difference - I'm at work don't have my board in front of me)? Thanks, BillyBoy
  15. HI @malexander, Thanks for the reply. we did the same thing as you told above (remove U82 ) .It started working . Thanks for the solutions. Thanks & regards
  16. Hi, I would rather a bare-metal fpga board version. However, if you think there is a better option with Linux, I am happy to consider it. Thank!
  17. I've been having trouble getting my device to work. I keep getting this error message: Arduino: 1.8.10 (Windows 10), Board: "chipKIT uC32, Not Installed" pic32-g++.exe: error: Xue\AppData\Local\Temp\arduino_build_463543/sketch: No such file or directory exit status 255 Error compiling for board chipKIT uC32. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. I'm not sure what's wrong or how to fix it. I've tried reinstalling everything and nothing seems to work.
  18. Do you want a Linux based system or bare-metal?
  19. Hello, It looks like openscope MZ works with power bank in WIFI mode. Has anyone made a battery to use with the openscope MZ? The idea it's to make an enclose for it and you have a pack without extra wires... add a charge board and 5v converter and connect all inside the same box. Can I also use waveform 2015 In USB connection or only live version is available? Thanks, Julio Silva
  20. Hi JColvin, In reply to your questions I reinstalled Vivado using 2019.1 and removed WinAVR from PATH and all environment variables still the same message?. Ran out of ideas so now trying to run Vivado under Ubuntu When compiling the 'c' code in the SDK I'm now getting: make: *** [zynq-gsg.elf] Error 1 recipe for target 'zynq-gsg.elf' failed Alistair
  21. I have been trying to figure out if I can use the SD card slot in the WiFire for datalogging purposes. Looking through the reference manual, it seems as if it is read only, but it does not explicitly state this. Can anyone confirm if they have been able to get this working? Thank you! -Daniel
  22. I tried the front end GUI for Pic32prog, it seems to recognise the Max32 but fails to make any file transfer, I suspect I have the wrong bootloader or the bootloader needs a script change. The main reason for looking for a bootloader is to place my Max32 project remotely so a friend can update the code without using a PIC32 programmer, for this reason operation has to be very simple. As a quick fix I have added a USB socket and connected this direct to the PIC32 HID pins, (VBUS 54, D- 26, D+ 27 and 0v) , both the D+ and D- have 27 Ohm resistors in series with the leads to the PIC32, the VBUS has a 270 ohm resistor and BAT32 low forward volt drop diode in line. After programming the PIC32 with Mikro's HID bootloader code and then using their PC bootloader application it worked first time. The PC bootloader app is very intuitive as it recognises the PIC32 bootloader and give clear indication for connection, hex file selection and upload. The speed of upload to the Max32 is very fast, in fact faster than my main programmer. The only other thing I had to do was to cut the PCB trace under JP5 to isolate the Max32 FDTI chip.
  23. Hello, I'm a student and currently working on my final project including Basys 3 board and wifi pmod. I'm trying to get started working with the module to understand how it works. This is my first project working with Pmods. I've been using the Getting Started with Digilent Pmod IPs tutorials. I added the newest Vivado library including the PmodWifi IP and I bulit a block design with the MicroBlaze and other GPIO IPs. I followed the instructions of the tutorials and got to the part of validating the design, there I got a warning saying few of the wifi pmod pin are not connected. I've got a few other warnings and errors so I really don't understand what went wrong. If anyone know what the issue is and can help me, that would be awesome! Also I'm looking for an example project for wifi pmod using Microblaze to learn from. I'm attaching some screenshots of my project. thanks, Netanel.
  24. After all, python did not open properly and I could not see the program you sent me. Also, putting Waveforms SDK in labview is not good enough and I'm confused. Can you help me as I have to finish this program this week? Thank you.
  25. Thank you for your reply. What I want to do is to create one 5V pulse and the duration is 1ms. I want to control everything with labview without using python. I ’ll try installing it, but if there ’s something else, Thank you for your guidance and encouragement.
  26. Hint, you can use a Zynq like an Artix, just disregard the ARM processor and integrate a UART on the FPGA fabric. As the board's built-in serial-to-USB connection is most likely hard-wired to the PS, you'll need an external serial-to-USB (e.g. "FTDI") board. Zynq is a difficult platform for a start from square one. the above-mentioned UART wiring being one of the first snags to run into. The regular FPGA e.g. on the CMOD A7 module is more friendly. Note that the simplicity of the Lattice board you mentioned comes from a heavy layer of code on both PC and FPGA side (bootloader). It's not necessarily a bad thing but be aware that it just postpones hitting the learning curve to the time when you need to leave the well-trodden paths. And then, things get messy (as compared to plain ol' "industry standard" JTAG connectivity).
  1. Load more activity