Maybe I can ask another way - how to debug inaccessible SD card? Normally I insert the card to the slot and after reset, /sd directory is shown as default. I have some examples when /flash is selected as default even in case valid card is inserted. After trying chdir "/sd" I get an error message "File open error".
Or, how to generally change from /flash to /sd and vice versa?