All the examples of using Flashair in TOSHIBA are downloading files using Flashair as a server, but it seems that using iSDIO can also be used as an HTTP Client.
So I would like to install RaspberryPi on Flashair and download files from RaspberryPi via HTTP GET from another server using the isDIO command.
In order to use the iSDIO command, it seems that it is necessary to send a raw command (CMD48/49) to the SD card (Flashair). Come to think of it, how can Linux send the raw command to the SD card?
There are concerns that it might conflict with normal file operations.
It's best to send raw commands via ioctl(), but if you need to modify the driver, look around here in the kernel source, or if anyone has any information to start with, I'd appreciate it.
We also welcome references with examples.
add
I think the question was a little bad, so I will supplement it.
RaspberryPi has a WiFi module onboard with 3, and you just need to connect a WiFi dongle with USB connection, so it was hard to convey your intentions.
Well, I couldn't find any information about hitting iSDIO on Linux, so I wanted to ask if there was any reference information.
RaspberryPi is an example of an easy-to-try embedded Linux environment, and the ultimate goal is to enable WiFi connectivity with FlashAir even with minimal embedded Linux without WiFi drivers.In this case, it is unlikely that the onboard SD slot is SPI-connected, so it would be a problem if it were SPI->
The following tutorial contains a sample code that includes the iSDIO driver.
FlashAir Embedded Development Overview of Embedded Development
iSDIO Driver Initialization: Calling iSDIOREG_read_ext_reg
/iSDIOREG_write_ext_reg
from various APIs including iSDIO_Init
and doing ioctl
on 48/49, 58/59.
I wonder if I can use it as it is.
In addition, there is a package called mmc-utils, in which ioctl
is used to issue commands.
RaspberryPi provides SPI via GPIO.
The following text is for Arduino, but I am using SPI, so it will be helpful.
"FlashAir Developers - Documentation - Arduino Tutorial - Create iSDIO Extension Commands" https://flashair-developers.com/ja/documents/tutorials/arduino/2/
© 2024 OneMinuteCode. All rights reserved.