danmcb

Members
  • Content Count

    18
  • Joined

  • Last visited

  • Days Won

    1

danmcb last won the day on May 18 2018

danmcb had the most liked content!

About danmcb

  • Rank
    Member

Recent Profile Visitors

851 profile views
  1. well, I haven't programmed using command line. Only withe the MIMAS2 util. Can you see the device with impact? that should work (there is a pdf about using impact with HS3 somewhere on digilent site) also you could try running JTAG Loader debian version just to see if it finds your HS3 that all might tell you if it is a driver/version issue or something with your programming file?
  2. and do you see the HS3 on the bus? daniel@daniel-dev-laptop:~$ lsusb . . . Bus 002 Device 005: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
  3. no, I have only programmed with JTAG loader or the windows app provided by Numato. Do you have the latest cse drivers? I noticed that the ones in the Xilinx distro were older - this is what I now have: daniel@daniel-dev-laptop:~$ cat .cse/lin64/14.1/plugins/Digilent/libCseDigilent/libCseDigilent.xml <?xml version="1.0" encoding="UTF-8" ?> <!-- Copyright (c) 2007 Xilinx, Inc. All rights reserved. --> <CsePlugin> <fullname>Digilent Plug-in</fullname> <libname>libCseDigilent</libname> <vendor>Digilent</vendor> <version>2.5.2</version> . . . (etc) I don't know if that helped but I did update them.
  4. daniel@daniel-dev-laptop:~/work/dlaserhead$ djtgcfg enum Found 1 device(s) Device: JtagHs3 Product Name: Digilent JTAG-HS3 User Name: JtagHs3 Serial Number: 210299A56205 daniel@daniel-dev-laptop:~/work/dlaserhead$ daniel@daniel-dev-laptop:~/work/dlaserhead$ daniel@daniel-dev-laptop:~/work/dlaserhead$ djtgcfg init -d JtagHs3 Initializing scan chain... Found Device ID: 24001093 Found 1 device(s): Device 0: XC6SLX ? daniel@daniel-dev-laptop:~/work/dlaserhead$
  5. hi Billy - I have it working. Indeed, Adept runtime and utilities were the issue. I not have JTAG Loader (debian) and Impact working fine. (This is on Debian buster - testing ) process is explained here for anyone that needs it (this is about Zynq, but seems to be fine with my Spartan6 / ISE 14.7 setup). One thing to watch out for is that your build script loads the necessary paths - this is mine, for reference: #!/bin/bash # simple build script for the picoblaze assembler # compiles the code, and loads it onto target RAM # note that to make changes permanent you must then rebuild the .bin file # using ISE and burn it onto the target using the MIMAS2 config tool # (which is unfortunately windows only) # make sure we see opbasm and friends export PATH="$HOME/.local/bin:$PATH" # make sure we see shared libs source /opt/Xilinx/14.7/ISE_DS/settings64.sh # compile the ASM file opbasm -i dlh_firmware.psm -6 -s 64 -x -m4 -m 2048 if [ $? -ne 0 ]; then echo "ASSEMBLY FAILED - aborting." else echo "ASSEMBLY OK - copying formatted source to .psm" /bin/mv dlh_firmware.fmt dlh_firmware.psm ./JTAG_Loader_Debian_64 -l dlh_firmware.hex fi (I am using JTAG-HS3 witha Numato MIMAS2 board, hence comments - should adapt ok for other targets). many thanks! Daniel
  6. I am having similar issues. I have programmed SPartan 6 with HS3 in Win 7 with some success, but for various reasons (mostly the fact that it is gettng harder to stay with Win7) I decided to set up a Linux dev environement. After some fighting, I have ISE14.7 running OK. But cable drivers is another issue. The HS3 is seen by JTAG Loader but no driver is found: <code> daniel@daniel-dev-laptop:~/work/dlaserhead$ source /opt/Xilinx/14.7/ISE_DS/settings64.sh . /opt/Xilinx/14.7/ISE_DS/common/.settings64.sh /opt/Xilinx/14.7/ISE_DS/common . /opt/Xilinx/14.7/ISE_DS/EDK/.settings64.sh /opt/Xilinx/14.7/ISE_DS/EDK . /opt/Xilinx/14.7/ISE_DS/PlanAhead/.settings64.sh /opt/Xilinx/14.7/ISE_DS/PlanAhead . /opt/Xilinx/14.7/ISE_DS/ISE/.settings64.sh /opt/Xilinx/14.7/ISE_DS/ISE daniel@daniel-dev-laptop:~/work/dlaserhead$ daniel@daniel-dev-laptop:~/work/dlaserhead$ daniel@daniel-dev-laptop:~/work/dlaserhead$ ./JTAG_Loader_Debian_64 - dlh_firmware.hex __ _ __ _ \ \| |_ __ _ __ _ / / ___ __ _ __| | ___ _ __ \ \ __|/ _` |/ _` |/ / / _ \ / _` |/ _` |/ _ \ '__| /\_/ / |_| (_| | (_| / /___| (_) | (_| | (_| | __/ | \___/ \__|\__,_|\__, \____/ \___/ \__,_|\__,_|\___|_| |___/ JTAG Loader by Kris Chaplin, Xilinx UK Build : Date: Mar 16 2015, Time: 17:01:07 Target: Linux 4.19.0-4-amd64 x86_64 #1 SMP Debian 4.19.28-2 (2019-03-15) Use the -h option if you need help Info:============================================ Info:CABLE name used in scanChain: auto, cableArgCount=0 Info:============================================ Info:Connecting to hw_server... Info:Attempting to launch hw_server... Info: ****** Xilinx hw_server v2013.3 **** Build date : Sep 24 2013-19:37:55 ** Copyright 1986-1999, 2001-2013 Xilinx, Inc. All Rights Reserved. INFO: hw_server application started INFO: Use Ctrl-C to exit hw_server application INFO: Set the HW_SERVER_ALLOW_PL_ACCESS environment variable to 1 to access any PL address memory in the TCF debugger memory window. Info:Connection failed. Info:AutoDetecting cable. Please wait. Info:*** WARNING ***: When port is set to auto detect mode, cable speed is set to default 6 MHz regardless of explicit arguments supplied for setting the baud rates Info:If you are using the Platform Cable USB, please refer to the USB Cable Installation Guide (UG344) to install the libusb package. Info:Connecting to cable (Usb Port - USB21). Info:Checking cable driver. Info: Linux release = 4.19.0-4-amd64. Warning:WARNING:Cse - Module windrvr6 is not loaded. Please reinstall the cable drivers. See Answer Record 22648. Info:Cable connection failed. </code> The cable is found, but there is an issue finding the driver. But in fact, something that looks like one does exist ... : daniel@daniel-dev-laptop:~$ ls .cse/lin64/14.1/plugins/Digilent/libCseDigilent/ libCseDigilent.so libCseDigilent.xml but the question is - how do I get JTAG loader t actually see it and use it ... ? Daniel
  7. Hi all, I have been using MAX32 in bare-metal mode quite a bit, and I wrote some scheduler code for it. The code also does buffered debug printing over USB, and some basic error handling. I use this as start point for projects where I want very predictable timing. I find MAX32 very useful for this. The code is on Github here : https://github.com/danmcb/MAX32-RT-Scheduler and there is a write up at my website here: http://www.mcbeeaudio.com/lab//MAX32-real-time-scheduler.html This mighty make a nice start point for anyone that has been using MAX32 as an Arduino but wants to get into writing C on it. (Everything builds with the free Microchip tools.) all the best Daniel
  8. I just received one of these boards and have been able to carry out the most basic tutorials, but the programming interface seems very flaky. I note on other forum threads like this: https://forum.digilentinc.com/topic/4769-vivado-hardware-manager-disconnects-cmod-a7-target-in-win7/ that other users have also had issues. There has been some suggestion that USB cables are an issue. This is a problem. I previously used a different board with a Spartna FPGA and a Digilent JTAG Hs3, and I was able to program the board very reliably - in a second or two. I was able to put a PicoBlaze on the target with no problems, and update the code very efficiently. However that board is no longer available, so I selected the CMod as a replacement for a project which is quite critical. I just don't have time for flaky interfaces, debugging other people's problems, or randomly swapping cables and hoping. Is there any way to program the CMOD with the HS3? Is there any proven resolution for the USB programming problem? thanks Daniel
  9. you need to install Eagle to do it. Thanks, never mind.
  10. I'm using Diptrace to lay out a board. I just need the mechanical positiions of holes, connectors and so on. thanks. I don't really want to get involved with Eagle, it isn't hard to create a component in Diptrace. But in fact it is (almost) an Arduino MEGA, I found some drawings for that.
  11. I've done quite some work with this board, and I have a mini-RTOS that I use on it. Am planning to post the source on github sometime, when I do I will let you know. basically it isn't that hard, if you know MPLAB - this is what is involved: 1. set up an MPLABX project with the right chip variant. 2. set up config registers on the chip to use the correct clock (external xtal oscillator is a good basic option for this board), you could also use the internal RC if you wanted although not much point. 3. write a very simple C program - I suggest just main() with a silly loop to turn on and off the user LED 4. compile and load, see if you can get the LED flashing If this works, you are off! Next step would probably be to get the UART working so you have debug output. (You can easily do this over USB with this board as it has the hardware on board.)
  12. Does this exist anywhere? I see Eagle files but I don't use Eagle, and Fritzing, not sure what that is. I want to design a boatd to work with the MAX32, would be nice not to have to work eveything out with a micrometer.
  13. Hi I see two versions of MAX32 on the website. (I have one of them) - This one (which is obsolete) and this one (current). I can't see any difference between them. Is there any? and if so how can I tell? Any part number or ID on the board, or any physical difference? Asking because I can considering using the one I have to prototype a new gadget but I'd like to use the current one. thanks Daniel
  14. OK, I made up a cable, and Adept now sees the HS3 and also the FPGA - it recognises the chip as XC6SLX? - for some reason it doesn't seem to get the chip variant, so there are warnings when I select a .bit file. Bit it programs fast and without error. Thanks!
  15. not a problem. I can make an adaptor. GND, the 4 signal lines, and Vcc, right?