Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
V2 SD card firmware
------------------------------------------------------------------------
*From:* DiSlord [mailto:dislordlive@...] *Sent:* Sunday, 25 July 2021, 8:56 pm *Subject:* [nanovna-users] NanoVNA H / H4 / V2 / V2Plus / V2Plus4 firmware v1.0.69 #firmware PS on new V2 testboard i add SD card slot support (allow save screenshots, s1p or s2p files), i can build this firmware for original V2 for test, if anyone want test this feature and ready soldier SD card slot on board i can build firmware for it.Hi DiSlord, I have fitted a card slot to my SAA-2N board (modified to V2 plus), but of course it needs more connections to the processor before it can work. If you tell me the connections to make I would like to try your SD card FW. Regards, Mike |
Hi Mike,
toggle quoted message
Show quoted text
You need to be careful with adding TF sockets as some have additional pins, so the edge pin number may differ. Some also have the TF card inserted upside-down which reverses the edge pin numbering. I added a TF slot to my Nanovna-H and cut of the un-needed pins to ensure I'd only use what was required.I attached a PDF of TF card pinouts. If you're careful, just scratch off the solder resist from the board traces for the data lines and solder to them as in my photo. I had to solder to a couple of uP pins directly. Of course, this is for the F072 uP. I think the SAA2 uses the F103? YMMV ...Larry On Monday, July 26, 2021, 3:48:33 a.m. EDT, Mike Millen <mike.millen.uk@...> wrote:
------------------------------------------------------------------------ *From:* DiSlord [mailto:dislordlive@...] *Sent:* Sunday, 25 July 2021, 8:56 pm *Subject:* [nanovna-users] NanoVNA H / H4 / V2 / V2Plus / V2Plus4 firmware v1.0.69 #firmware PS on new V2 testboard i add SD card slot support (allow save screenshots, s1p or s2p files), i can build this firmware for original V2 for test, if anyone want test this feature and ready soldier SD card slot on board i can build firmware for it.Hi DiSlord, I have fitted a card slot to my SAA-2N board (modified to V2 plus), but of course it needs more connections to the processor before it can work. If you tell me the connections to make I would like to try your SD card FW. Regards, Mike |
Ok, for NanoVNA V2 SD card support need:
Use RTC for auto file name, RTC on default V2 used in bootloader, so have limits (restart on power on, slow tick), better update bootloader, but at this moment leave it Second need install SD card slot to V2 board: SD card use SPI bus for data exchange (shared vs LCD), so need connect: CPU SD Card PB5(MOSI) <--> 3 (SD card DI) PB4(MISO) <--> 7 (SD card DO) PB3(SCLK) <--> 5 (SD card SCLK) PB9(CS) <--> 2 (SD card CS) And power/gnd pins 3.3V <--> 4 (SD card Vdd) GND <--> 6 (SD card GND) And flash this firmware you see additional menu SD CARD, in it possible save screenshots, and s1p/s2p files PS i test it on test board vs GD32 CPU, should work PSS attach V2 schemantic and SD card info PSS in all cases better instal/remove SD card if device power off (on insert possible voltage drop, add 10 Om resistor in middle 3.3V and SD card Vdd can help) V2 480x320 sd card.bin
V2 480x320 sd card.bin
V2 320x240 sd card.bin
V2 320x240 sd card.bin
Gabriel v2_2 schematic.pdf
Gabriel v2_2 schematic.pdf
sunrom-708193.pdf
sunrom-708193.pdf
|
Thanks DiSlord,
toggle quoted message
Show quoted text
I'm very busy on another project at the moment, but I'll try this as soon as I get time and report back. Mike ------------------------------------------------------------------------ *From:* DiSlord [mailto:dislordlive@...] *Sent:* Monday, 26 July 2021, 5:31 pm *Subject:* [nanovna-users] V2 SD card firmware Ok, for NanoVNA V2 SD card support need: |
Hi DiSlord,
I soldered the holder, inserted a 10R resistor into the 3.3V power supply, connected the signals and the SD card works ;) For the first time, .bmp, .s1p, .s2p were written to my card without any problems. I missed the prinscreen function very much when measuring antennas outside the house without a computer, therefore thank you very much for sharing this opportunity. Tomorrow I will adjust the cabinet, add a hole, fasten the wires. Photos: /g/NanoVNAV2/album?id=267148 |
I'm glad to hear that the memory card worked, I also really missed this opportunity, so I implemented it for myself (but use different hardware, in it SD card already installed and 32768 xtal present and RTC work).
Unfortunately, the hardware in v2 does not allow the clock to start, and because of this, the file names (RTC used for create filename) may be repeated (the clock starts to run again when starting from 0) |
DiSlord,
toggle quoted message
Show quoted text
For the V2 Plus units with no RTC, can the SDcard filenames be read and the next file saved has its last character incremented by one? This assumes a fully numeric filename so there are no illegal ascii chars used. Keep it simple so that on a unit with no RTC, all screen dumps and S files stored would be start with a filename of "00001" and be incremented from there. That would solve the issue on the V2 devices and should only be active on those devices. ...Larry On Tuesday, August 17, 2021, 02:35:38 a.m. EDT, DiSlord <dislordlive@...> wrote:
Yes, old files will overwriting by new |
to navigate to use esc to dismiss