Overview Features Coding ApolloOS Performance Forum Downloads Products Order Contact

Welcome to the Apollo Forum

This forum is for people interested in the APOLLO CPU.
Please read the forum usage manual.
Please visit our Apollo-Discord Server for support.



All TopicsNewsPerformanceGamesDemosApolloVampireAROSWorkbenchATARIReleases
Documentation about the Vampire hardware

Flashing Vampire 500 V2+ From Ubuntu

Andrew Kennan

Posts 3
30 Apr 2018 10:29


I'm having trouble flashing my Vampire from Ubuntu linux. I've followed the instructions on the wiki but every attempt results in the following output from Quartus:

Info (209060): Started Programmer operation at Mon Apr 30 16:56:32 2018
Info (209016): Configuring device index 1
Info (209017): Device 1 contains JTAG ID code 0x020F40DD
Info (209007): Configuration succeeded -- 1 device(s) configured
Error (209012): Operation failed
Info (209061): Ended Programmer operation at Mon Apr 30 16:57:01 2018

I've tried both the 2.9 x10 and x11 JIC files. I've run Quartus as both my normal user and as root. My USB Blaster is just a $5 cheapie from Ebay.

Has anyone had success flashing from linux or should I get hold of a Windows machine to try it?

Perhaps I have a dud USB Blaster?

Cheers,

Andrew


Cyrille Guillet

Posts 37
30 Apr 2018 11:10


check with lsusb if your usb blaster is detected.

and you have to execute quartus with the superadmin on Linux.


Roy Gillotti

Posts 517
30 Apr 2018 11:53


I've had similar issues with Debian, I'll likely give it another try sometime this week as I'm sick of taking home a work laptop with Windows on it to flash it.


MartinTomas Steffen

Posts 61
30 Apr 2018 12:07


Had the same problem under Windows 10. I changed the usb cabel and it worked.


Andrew Kennan

Posts 3
30 Apr 2018 13:12


Thanks for the advice.

cyrille guillet wrote:

check with lsusb if your usb blaster is detected.
 
  and you have to execute quartus with the superadmin on Linux.

It's definitely detected and seems to partially work. I get the same behaviour as a normal user and root.

MartinTomas Steffen wrote:

Had the same problem under Windows 10. I changed the usb cabel and it worked.

I've tried three different USB cables and different ports on my laptop with no luck.

Roy Gillotti wrote:

I've had similar issues with Debian, I'll likely give it another try sometime this week as I'm sick of taking home a work laptop with Windows on it to flash it.

I think I will have to borrow a windows laptop...

One thing I didn't mention before is the red led labeled "ACT" on my blaster is always on EXCEPT when it's trying to flash the vampire. Has anyone else seen this or is it an indication that my blaster is junk? If need be I'll roll the Ebay dice again...

The Quartus application is 32 bit, is there a 64 bit version?

Cheers,

Andrew


Claudio Guglielmotti
(Apollo Team Member)
Posts 185
30 Apr 2018 13:23


you need to check if the jtag demon is running.

Power on the amiga (if not, the usb blaster can't be detected).

From the pc side, open a terminal and go in the drawer
  /qprogrammer/bin
(it is in your home or in /opt)

Execute the test program:
> jtagconfig
if you have an error (chain broken or something like that) try to start the demon, then run again the test program:
> jtagd
> jtagconfig

if you still have issue, probably you need to add the altera rule for udev:
> sudo nano /etc/udev/rules.d/51-altera-usb-blaster.rules

  and add this definition, then save and try again:
ATTR{idVendor}=="09fb", ATTR{idProduct}=="6001", MODE="666"

 




Andrew Kennan

Posts 3
30 Apr 2018 15:12


jtagconfig reported correctly, as far as I could tell. I added the udev rule and even restarted my laptop but there was no change.

I managed to get my hands on a Windows 10 laptop and tried from there. First time it gave me some errors and then the Amiga only showed a black screen. I calmed myself down and tried it a second time and it worked. So all is good and I'm now happily running 2.9.

Thanks for the help,

Andrew

posts 7