Trying to mount the sd card by sending python code through the serialport that is executed on my devices micro-python repl.
## What's my problem?
When I send information through the serialport the code is executed on the device's micro-python repl.
I am trying to execute the following code on my device's repl
Code: Select all
port.write("os.mount(machine.SDCard(),'/sd')\r\n")
Code: Select all
E (1066260) sdmmc_sd: sdmmc_init_sd_scr: send_scr (1) returned 0x109
Just confused as to why I am met with that error when I try to execute the code from the computer(serial) whereas otherwise no errors are met.