Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPI support #3

Closed
spth opened this issue Jan 6, 2016 · 4 comments
Closed

SPI support #3

spth opened this issue Jan 6, 2016 · 4 comments

Comments

@spth
Copy link

spth commented Jan 6, 2016

Support for using the bootloader via SPI would be useful.
However, few operating systems seem to expose SPI to userspace. Linux does. I see patches for it on the FreeBSD mailing list, so maybe they'll add it soon.

Philipp

@gicking
Copy link
Owner

gicking commented Jan 9, 2016

actually I was thinking about Raspberry Pi and Wiring. This is similar to the optional HW reset of the STM8 via GPIO prior to bootloader initialization.

Do you have any documentation how to access the SPI via SW under "normal" Linux? And how does the HW look like? Via bitbang mode of e.g. a FTDI chip?

I guess SPI support would be MUCH easier than CAN (see #2). Anyhow let's first get UART/LINUART support right for as many devices as possible...

@spth
Copy link
Author

spth commented Jan 9, 2016

@gicking
Copy link
Owner

gicking commented Aug 29, 2017

moved to stm8gal repo issues

@gicking gicking closed this as completed Aug 29, 2017
@gicking gicking reopened this Dec 23, 2017
@gicking
Copy link
Owner

gicking commented Dec 23, 2017

in stm8gal (new name, same tool, see https://github.com/gicking/stm8gal), added support for SPI via "Arduino USB-SPI bridge" (see https://github.com/gicking/Arduino_SPI_bridge). This allows SPI upload from PCs without spidev support and/or compatible hardware. Have fun!

@gicking gicking closed this as completed Dec 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants