NanoVNA-H "Fail Write" to 16GB SD card #nanovna-h


 

Version 1.1; Build Dec 21 2021.

Verbatim 16 GB micro SD card.
First formated Fat 32 via Windows 10 system. Wouldn't write from NANO.
Next installed "SD Card Formater" on my desktop. Did a full Fat 32 format. Wouldn't write from NANO.
Made sure to have NANO "off", then installed card, then turned NANO "on." No joy.

Suggestions?


 

On 2022-06-06 11:54:-0700, you wrote:

Version 1.1; Build Dec 21 2021.

Verbatim 16 GB micro SD card.
First formated Fat 32 via Windows 10 system. Wouldn't write from NANO.
Next installed "SD Card Formater" on my desktop. Did a full Fat 32 format. Wouldn't write from NANO.
Made sure to have NANO "off", then installed card, then turned NANO "on." No joy.
I have found (-H4, v4.3, DiSlord firmware v1.2)
1. I can hot swap the SD cards. No mounting, unmounting. I don't rush the write ops, but it is clearly done when it says it is.
2. I tried a newer 32 GB card, and no joy. I happened to have an older one, and that worked. So now I am a one-card nVNA guy ;-) and I share it among my nVNAs.
3. There have been various discussions about the SD card requirements, but even if I understood them, the card specs don't seem to list what is needed.

~R~


 

On Mon, Jun 6, 2022 at 06:07 PM, Rich NE1EE wrote:


I have found (-H4, v4.3, DiSlord firmware v1.2)
1. I can hot swap the SD cards. No mounting, unmounting. I don't rush the
write ops, but it is clearly done when it says it is.
It is recommended in the NanoVNA beta group that you power off to install or remove SD cards. IIRC some cards have been permanently damaged by "hot swapping".

Roger


 

On 06/06/2022 19:54, gfmucci via groups.io wrote:
Version 1.1; Build Dec 21 2021.
Verbatim 16 GB micro SD card.
First formated Fat 32 via Windows 10 system. Wouldn't write from NANO.
Next installed "SD Card Formater" on my desktop. Did a full Fat 32 format. Wouldn't write from NANO.
Made sure to have NANO "off", then installed card, then turned NANO "on." No joy.
Suggestions?
Check the SD card with (for example):

https://h2testw.en.lo4d.com/windows

Cheers,
David
--
SatSignal Software - Quality software for you
Web: https://www.satsignal.eu
Email: david-taylor@...
Twitter: @gm8arv


 

On 2022-06-06 18:14:-0700, you wrote:
It is recommended in the NanoVNA beta group that you power off to install or remove SD cards. IIRC some cards have been permanently damaged by "hot swapping".

Roger
Thanks for the tip.


 

Below are the test results from my 16 GB SD card...

Warning: Only 14753 of 14754 MByte tested.
Test finished without errors.
You can now delete the test files *.h2w or verify them again.
Writing speed: 13.9 MByte/s
Reading speed: 28.2 MByte/s
H2testw v1.4

Next trouble shooting step?


 

Use a different card. Some manufacturer's cards just don't support the
protocol used by the nanovna firmware.
See this post:
https://groups.io/g/nanovna-users/message/26892


On Tue, Jun 7, 2022, 8:29 AM gfmucci via groups.io <gfmucci=
yahoo.com@groups.io> wrote:

Below are the test results from my 16 GB SD card...

Warning: Only 14753 of 14754 MByte tested.
Test finished without errors.
You can now delete the test files *.h2w or verify them again.
Writing speed: 13.9 MByte/s
Reading speed: 28.2 MByte/s
H2testw v1.4

Next trouble shooting step?







 

Which cards are proven to work with the NanoVNA-H?

I don't want a collection of 16GB cards that don't work.


 

On 2022-06-07 09:15:-0700, you wrote:

Use a different card. Some manufacturer's cards just don't support the
protocol used by the nanovna firmware.
See this post:
https://groups.io/g/nanovna-users/message/26892
1.6 SD CARD
SNP files and screen images are saved with names VNA_yymmdd_hhmmss, and extensions of s1p, s2p, or bmp. Although it seems that the SD cards can be hot-swapped, the NanoVNA beta group recommends powering off to install or remove SD cards. The NanoVNA SD card reader is connected to the SPI bus, and only supports microSD cards up to 32GB in SPI mode. Some high-speed SD cards may not support SPI mode. The SPI mode is an alternative operating mode that is defined to use the MMC/SD cards on microcontrollers without a native host interface. The MMC/SD can be used on a microcontroller via a generic SPI interface. See STMicroelectronics AN5595 "SPC58xEx/SPC58xGx multimedia card via SPI interface".

I looked at some circuit specs with hot-swapping in mind. It seems that there is no definitive restriction on hot-swapping, but system hardware design plays a role. Not knowing the detail of hardware design nor the firmware SD card interface, I agree that caution suggests not hot-swapping. That's unfortunate for me, because I tended in the past to run some tests which left the VNA in an altered state, saved some files to the SD card, swapped it to my computer, copied/moved the files, and returned the SD card to the VNA, all so that I could run on battery (no USB) and not have to reconfigure the VNA each time I did this. I realize that there are work-arounds to each of these steps.


 

Which cards are proven to work with the NanoVNA-H?
I don't know of an easy way to see the SPI compatibility of a card. But
these Patriot cards work (see photo). I purchased them inexpensively on
Amazon.


 

On 2022-06-07 10:00:-0700, you wrote:

Which cards are proven to work with the NanoVNA-H?

I don't want a collection of 16GB cards that don't work.
You can use up to 32 GB.
Finding out which cards are SPI compatible is another thing. You just have to search. Not sure how to find out for most. I tried to find out for SanDisk, and had no success.

https://www.kingston.com/datasheets/SDCIT-specsheet-8gb-32gb_us.pdf


 

On Tue, Jun 7, 2022 at 10:20 AM, Stan Dye wrote:


Which cards are proven to work with the NanoVNA-H?
I don't know of an easy way to see the SPI compatibility of a card. But
these Patriot cards work (see photo). I purchased them inexpensively on
Amazon.
Stan:

Which NanoVNA did you have and which software version? I assume this makes a difference regarding SD card compatibility?


 

I have an H4 with latest DiSlord 1.2 firmware.
But all of the SD card support firmware was done by DiSlord, and was
introduced several versions ago - and it uses the same SPI interface on all
of the hardware units that his firmware supports, so there should not be a
difference in types of cards supported by different hardware/firmware
versions.

On Tue, Jun 7, 2022 at 10:44 AM gfmucci via groups.io <gfmucci=
yahoo.com@groups.io> wrote:

On Tue, Jun 7, 2022 at 10:20 AM, Stan Dye wrote:


Which cards are proven to work with the NanoVNA-H?
I don't know of an easy way to see the SPI compatibility of a card. But
these Patriot cards work (see photo). I purchased them inexpensively on
Amazon.
Stan:

Which NanoVNA did you have and which software version? I assume this
makes a difference regarding SD card compatibility?