Purged modemmanager and now I'm running full throttle on an Ubuntu 14.04 installation. I started out with ISE running on a virtual copy of Win7 and using the Windows bitloader. Took forever to upload the bitstream for some reason. Reinstalled everything on Linux and got this last bit working as well. Code: sudo apt-get install python3-serial sudo apt-get purge modemmanager Also changed the first line of the script: Code: #! /usr/local/env python3 and put it in /usr/local/bin Works beautifully.
Hello everyone, Thank you very much Tom for your help. Well, as for me, I tried stopping modemmanager but it didn't work. So I purged it as Kazam indicates (I didn't change anything in the script though, since python 3 and pyserial were working fine on my machine) and now it seems to work perfectly. I've run the script a few times now, even after restart and no problems so far. If the issue reappears I'll let you know, although it seems it won't. Thank you, Julio
Thanks Tekkkz, Kazam and Julio for testing and confirming that the fix works. I'll mark this thread solved (finally!! ). We will look in to the possibility of hardening the firmware to withstand unexpected situations like this. Again thanks everyone for helping with useful information and constant encouragement. Thanks, Tom Numato Lab
This link is dead: http://svn.numato.cc/dl.php?repname...k/tools/configuration/python/MimasV2Config.py
Hello BDH, We recently moved our repository to GitHub. The script is now available at the link below. https://github.com/numato/samplecode/tree/master/FPGA/MimasV2/tools/configuration/python Thanks, Tom
Hello. I have a MimasV2 board. I am able to use the configuration tool for programming in Windows. I have Linux (Ubuntu), I tried the script provided in the thread: https://github.com/numato/samplecode/tree/master/FPGA/MimasV2/tools/configuration/python I did the following after connecting the board Changed access settings to the port. > sudo chmod 777 /dev/ttyACM0 Then I ran the script > python config.py /dev/ttyACM0 mimasv2_sample_bin_file.bin I am getting the following message: Is there something else that I can try?
I am still getting the same error. I am using Ubuntu 14.04 LTS. lsof returns nothing. So I am not doing anything for modemmanager. The USB port works fine. Is there is anything specific for Ubuntu that I need to take care of?
As I know you do not need anything else, Ubuntu should be the same as debian, you can try sudo python3 config.py /dev/ttyACM0 mimasv2_sample_bin_file.bin or to add user to dialout group but I think you already got this with sudo chmod 777 /dev/ttyACM0 did you check programming direct switch SW7
Mistery, SW7 is in USB position (set to 1). Now I got D9 LED lit up. However, when I run the script, it reaches erase flash and stops: I tried again in windows and things go fine with the configuration tool. Not sure what I am missing here. Let me also get some prints from the script.
If you manage to get to Erase, just try again if it can detect and erase flash it could continue to flashing, it is next step ...
Got it working. Some errors in the script. It seems like while adding some debug prints, I also seem to have added some tabs. I copied the script from github again and voila! Thanks a lot for the help.
For those interested in programming MIMAS V2 using Linux. You can check this post: https://phpstack-776178-2640993.cloudwaysapps.com/threads/mimas-v2-configuration-gui.169/