A
A
ADRian2014-11-28 02:46:29
Electronics
ADRian, 2014-11-28 02:46:29

How to use USBasp as USB to SPI converter?

I want to use the USBASP programmer as a USB-SPI converter. He is what they are, right?
And if the libraries are interlayers between the driver and SPI? (so as not to communicate directly with the driver)
Preferably in Delphi (Win32) and/or C++ (Win32/Linux).
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2014-11-28
@ADR

The usbasp protocol has the necessary instructions:

#define USBASP_FUNC_TPI_RAWREAD 13
#define USBASP_FUNC_TPI_RAWWRITE 14

Drivers for the programmer are on github
An example of communication with the programmer can be found in the avrdude sources , the archive contains the usbasp.c file

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question