Power and data usb for my TINYFPGA

Hi Core Electronics community,

I need a power and data usb for my TinyFPGA. In order to gauge size of the usb here is a picture of my TINYFPGA:

What products does the Core Electronics community recommend?

Thanks for your assistance.

look for a cable that has a black or blue inside usb connector at one end and an usb micro at the other end.

i am assuming you need a cable your not specific as to exactly what you are asking for

this cable i use to connect my phone to my p.c and it transfers data and power as well as charging my phone at the same time also to transfer …pics etc…

Hi Brian,

This link below explains the specifics, as in why I am asking.

Towards the end of the post, we find out the likely source of the problem. So Robin suggested I get a usb that does both power and data.


you have to hit the upload button this is the one on the left of the rubbish bin icon up the top left of the screen…its then flashes the program to the fpga board
if your flashing it from your pc. also make shore you have the comm port setting correct
if it does not auto select it…look for a cable that has a black or blue inside usb connector at one end and an usb micro at the other end.

Thanks for your help Brian. I will try both suggestions :slight_smile:

Hi Brian and James,

Core has a micro-USB solution here:

You might end up creating an adapter monstrosity with that one though!

PS: it might also be worth having a look at some of the port-terminal block adapters:


Cool :smile: thanks Liam

Hi Brian,

Hope this message finds you well.

Is the blue port, what a serial port looks like?

If so I entered the following code with the tinyfpga connected to that blue port:

When I did the “serial drivers configuration” the following pop-up window appeared (sorry, it does look a bit messy because I don’t know how to make it bigger):

For troubleshooting purposes do you know where Windows 10 USB Serial Device Driver is located in the device manager?

By the way, I remembered that I did try hitting the upload button in Atom but nothing happened. Correct me if I am wrong, I think it happened because my FPGA was not connected…

Thanks for your help Brian and Core Electronics Community. Any further suggestions or advice would be appreciated.

Kind regards,

James Pasinski

you must have the fpga board connected to the pc when you hit the upload button…make shure you have the fpga board selected that the program is going to be uploaded / flashed to and also make shure you have the port setup correctly with what ever the tutorial suggest`s …it looks like you have the drivers installed you may need to go into the device managed to see what comm port is active…as to set it correctly in the flashing program.

Thanks Brian, appreciate your input. I have checked my device manager again more thoroughly this time. The only port I was able to see was the “WAN Miniport…” (see picture below).

Is there command prompt code I can run to find what comm port is active AND once knowing this, assign it to the usb port I am using? Even just finding the comm port would be useful (if there is command prompt code for that). The tutorial I am following is very light on networking details. I am a noob at networking but the tutorial assumes that I am not.

If serial or parallel ports are relevant in this discussion I don’t think my laptop has any…

Kind regards,

James Pasinski

ok lets start over…

what exactly do you want the fpga board to do…???
atom is the editor text installer program…i read through most of the notes…regarding the board…
it is very similar to programming an aurdino board if you have played with aurdino at all…

Basically I want the FPGA to be a cryptocurrency miner. Specifically, I would like it to mine the Randomx algorithm. It is a “cpu-only” algorithm. Nevertheless, I want to test whether this is in fact the case and to try to compute the Randomx algorithm faster (as in higher hashes per second) than the fastest cpus on the market currently. The algorithm is “memory hard” but I would like to use the Arithmetic Logic Units and Floating Point Units as a Subsititute and then utilise the I/O Blocks and Configurable Logic Blocks in the FPGA, to allow the algorithm to computed in a parallel fashion thereby making the computation faster than on an actual cpu.

How should I proceed?

Kind regards,

James Pasinski

if you have the code ready to flash the fgpa board then i can assist you with how to flash it…

i did some bitcoin my self a few years back so i sort of have some part of understanding what you are doing,not 100% though but if you have the code in aq sketch then i can hellp you get it flashed intio the little processor board … its very much the same as aurdino…if you have ever dabbled with aurduino,.,i have used aurdino sketch,its really simple once the flash programmer is aligned or connected to the fgpa board from there once connected to each other you verify the sketch program that it functions then you load/flash it to the little fgpa board…its not that hard …

i have 2 programing programs loaded inti my windows box ,atom and another more simpler version i don’t have an fgpa board so i cannot try it 4 my self…

ok all you need to do really is have the code in the atom flash programmer,then flash it to the fpga board…if you have the software to read back the data that you want calculated then good that is easy any data usb to micro usb cable will be ok …??

i see u have a spare usb 3 port on your laptop the blue one … …use that port it should be ok…to connect to the fpga board…

Cool thanks Brian for identifying the usb 3 port. I will let you know how I go :smiley:. I will work on completing the TinyFPGA BX user guide this weekend and attempt to flash the code required to complete that guide. As for configuring the FPGA to mine Randomx I don’t have the code ready for that yet. I am learning FPGA completely from scratch so I have not used aurduino before. I will research what aq sketch and aurduino sketch is and how to use it.

That bitcoin project sounds interesting, what hash rate were you able to get mining the SHA-256 algorithm a couple of years ago? :slight_smile:

Kind regards,

James Pasinski

around 500 approxx

1 Like

Hi Brian and Liam,

The “USB cable - 8 A to Mini B Charging and Micro B Data” fixed my problem. I did
apio system --lsserial and it recognised the cable. After scratching my head in the ATOM GUI for 30 minutes, I did the blink project entirely via windows command prompt and it worked!

Thanks for your help Brian and Liam!

Kind regards,

James Pasinski

1 Like