Чем отличается от штатной на борту VNA ??
Чем отличается от штатной на борту VNA ??
Та же проблема. Программа с прибором соединяется, частотные диапазоны выставляются, калибровка проходит, но при нажатии на "Get Data" графики на компе не отображаются, либо отображаются в виде прямой линии на нулевом уровне независимо от нагрузок на портах. Кто-нибудь сталкивался с подобным?
to: XENOMORPH можно ли в будущем увидеть русифицированную прошивку?
Вот тут клон по Кеил обнаружился https://github.com/flyoob/NanoVNA-F
Но там еще и свой бутлоадер ( репозиторий по соседству) и вроде проц сменили на F103. Пока трудно сказать- пустышка или взлетит.
Китаец выложил исправленные исходники, вроде как раньше у него какие ошибки были.
Пробовал на его ранних исходниках, и крайних, есть проблема с зависание при старте. Я эту проблему пока решил своим "костылём". Hugen выложил, да не то, и похоже не всё)).
И не только у меня такая проблема. В оригинальной прошивке ведь нет этого.
Кто ещё скомпилировал код, есть у вас баг с зависанием на калибровке тачскрина при включении?
Можно посмотреть весь ход компиляции?
Скрытый текст
Admin@DESKTOP-UA6HBFC ~
$ cd /
Admin@DESKTOP-UA6HBFC /
$ cd h
Admin@DESKTOP-UA6HBFC /h
$ ls
adc.c flash.c mcuconf.h README.md ui.c
build Font5x7.c nanovna.h si5351.c usbcfg.c
chconf.h halconf.h NANOVNA_STM32_F072 si5351.h usbcfg.h
ChibiOS ili9341.c numfont20x24.c si5351_low.c
dsp.c main.c plot.c STM32F072xB.ld
ffconf.h Makefile prog.sh tlv320aic3204.c
Admin@DESKTOP-UA6HBFC /h
$ make FRE=900
Compiler Options
arm-none-eabi-gcc -c -mcpu=cortex-m0 -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -DFRE900 -ffunction-sections -fdata-sections -fno-common -Wall -Wextra -Wundef -Wstrict-prototypes -Wa,-alms=build_900/lst/ -DCORTEX_USE_FPU=FALSE -DSHELL_CMD_TEST_ENABLED=FALSE -DSHELL_CMD_MEM_ENABLED=FALSE -DARM_MATH_CM0 -DTHUMB_PRESENT -mno-thumb-interwork -DTHUMB_NO_INTERWORKING -MD -MP -MF .dep/build_900.d -I. -IChibiOS/os/license -IChibiOS/os/common/startup/ARMCMx/compilers/GCC -IChibiOS/os/common/startup/ARMCMx/devices/STM32F0xx -IChibiOS/os/common/ext/CMSIS/include -IChibiOS/os/common/ext/CMSIS/ST/STM32F0xx -IChibiOS/os/rt/include -IChibiOS/os/common/oslib/include -IChibiOS/os/common/ports/ARMCMx -IChibiOS/os/common/ports/ARMCMx/compilers/GCC -IChibiOS/os/hal/osal/rt -IChibiOS/os/hal/include -IChibiOS/os/hal/ports/common/ARMCMx -IChibiOS/os/hal/ports/STM32/STM32F0xx -IChibiOS/os/hal/ports/STM32/LLD/ADCv1 -IChibiOS/os/hal/ports/STM32/LLD/CANv1 -IChibiOS/os/hal/ports/STM32/LLD/DACv1 -IChibiOS/os/hal/ports/STM32/LLD/DMAv1 -IChibiOS/os/hal/ports/STM32/LLD/EXTIv1 -IChibiOS/os/hal/ports/STM32/LLD/GPIOv2 -IChibiOS/os/hal/ports/STM32/LLD/I2Cv2 -IChibiOS/os/hal/ports/STM32/LLD/RTCv2 -IChibiOS/os/hal/ports/STM32/LLD/SPIv2 -IChibiOS/os/hal/ports/STM32/LLD/TIMv1 -IChibiOS/os/hal/ports/STM32/LLD/USARTv2 -IChibiOS/os/hal/ports/STM32/LLD/USBv1 -IChibiOS/os/hal/ports/STM32/LLD/xWDGv1 -I./NANOVNA_STM32_F072 -IChibiOS/os/hal/lib/streams -IChibiOS/os/various/shell main.c -o main.o
Compiling crt0_v6m.s
Compiling chcoreasm_v6m.s
Compiling crt1.c
Compiling vectors.c
Compiling chsys.c
Compiling chdebug.c
Compiling chtrace.c
Compiling chvt.c
Compiling chschd.c
Compiling chthreads.c
Compiling chregistry.c
Compiling chmtx.c
Compiling chevents.c
Compiling chcore.c
Compiling chcore_v6m.c
Compiling osal.c
Compiling hal.c
Compiling hal_st.c
Compiling hal_buffers.c
Compiling hal_queues.c
Compiling hal_mmcsd.c
Compiling hal_dac.c
Compiling hal_ext.c
Compiling hal_gpt.c
Compiling hal_i2c.c
Compiling hal_i2s.c
Compiling hal_pal.c
Compiling hal_rtc.c
Compiling hal_serial.c
Compiling hal_serial_usb.c
Compiling hal_spi.c
Compiling hal_usb.c
ChibiOS/os/hal/src/hal_usb.c: In function '_usb_ep0in':
ChibiOS/os/hal/src/hal_usb.c:842:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((usbp->ep0n < max) &&
^
ChibiOS/os/hal/src/hal_usb.c:851:3: note: here
case USB_EP0_WAITING_TX0:
^~~~
In file included from ChibiOS/os/rt/include/ch.h:82,
from ChibiOS/os/hal/osal/rt/osal.h:32,
from ChibiOS/os/hal/include/hal.h:28,
from ChibiOS/os/hal/src/hal_usb.c:27:
ChibiOS/os/rt/include/chdebug.h:129:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (CH_DBG_ENABLE_ASSERTS != FALSE) { \
^
ChibiOS/os/hal/osal/rt/osal.h:241:34: note: in expansion of macro 'chDbgAssert'
#define osalDbgAssert(c, remark) chDbgAssert(c, remark)
^~~~~~~~~~~
ChibiOS/os/hal/src/hal_usb.c:873:5: note: in expansion of macro 'osalDbgAssert'
osalDbgAssert(false, "EP0 state machine error");
^~~~~~~~~~~~~
ChibiOS/os/hal/src/hal_usb.c:875:3: note: here
case USB_EP0_ERROR:
^~~~
In file included from ChibiOS/os/rt/include/ch.h:82,
from ChibiOS/os/hal/osal/rt/osal.h:32,
from ChibiOS/os/hal/include/hal.h:28,
from ChibiOS/os/hal/src/hal_usb.c:27:
ChibiOS/os/hal/src/hal_usb.c: In function '_usb_ep0out':
ChibiOS/os/rt/include/chdebug.h:129:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (CH_DBG_ENABLE_ASSERTS != FALSE) { \
^
ChibiOS/os/hal/osal/rt/osal.h:241:34: note: in expansion of macro 'chDbgAssert'
#define osalDbgAssert(c, remark) chDbgAssert(c, remark)
^~~~~~~~~~~
ChibiOS/os/hal/src/hal_usb.c:932:5: note: in expansion of macro 'osalDbgAssert'
osalDbgAssert(false, "EP0 state machine error");
^~~~~~~~~~~~~
ChibiOS/os/hal/src/hal_usb.c:934:3: note: here
case USB_EP0_ERROR:
^~~~
Compiling nvic.c
Compiling hal_lld.c
Compiling stm32_dma.c
Compiling hal_st_lld.c
Compiling hal_dac_lld.c
Compiling hal_ext_lld.c
Compiling hal_ext_lld_isr.c
Compiling hal_pal_lld.c
Compiling hal_i2c_lld.c
Compiling hal_rtc_lld.c
Compiling hal_i2s_lld.c
ChibiOS/os/hal/ports/STM32/LLD/SPIv2/hal_i2s_lld.c: In function 'i2s_lld_start':
ChibiOS/os/hal/ports/STM32/LLD/SPIv2/hal_i2s_lld.c:461:19: warning: assignment to 'uint32_t' {aka 'long unsigned int'} from 'volatile uint32_t *' {aka 'volatile long unsigned int *'} makes integer from pointer without a cast [-Wint-conversion]
i2sp->rx_dr = &i2sp->spi->DR;
^
Compiling hal_spi_lld.c
Compiling hal_gpt_lld.c
Compiling hal_serial_lld.c
Compiling hal_usb_lld.c
In file included from ChibiOS/os/rt/include/ch.h:82,
from ChibiOS/os/hal/osal/rt/osal.h:32,
from ChibiOS/os/hal/include/hal.h:28,
from ChibiOS/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.c:27:
ChibiOS/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.c: In function 'usb_lld_init_endpoint':
ChibiOS/os/rt/include/chdebug.h:129:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (CH_DBG_ENABLE_ASSERTS != FALSE) { \
^
ChibiOS/os/hal/osal/rt/osal.h:241:34: note: in expansion of macro 'chDbgAssert'
#define osalDbgAssert(c, remark) chDbgAssert(c, remark)
^~~~~~~~~~~
ChibiOS/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.c:588:5: note: in expansion of macro 'osalDbgAssert'
osalDbgAssert(false, "isochronous support disabled");
^~~~~~~~~~~~~
ChibiOS/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.c:590:3: note: here
case USB_EP_MODE_TYPE_BULK:
^~~~
Compiling board.c
Compiling chprintf.c
Compiling memstreams.c
Compiling nullstreams.c
Compiling shell.c
Compiling shell_cmd.c
Compiling usbcfg.c
Compiling main.c
main.c:630:2: warning: #warning frequency900 [-Wcpp]
#warning frequency900
^~~~~~~
Compiling si5351.c
Compiling si5351_low.c
Compiling tlv320aic3204.c
Compiling dsp.c
Compiling plot.c
Compiling ui.c
Compiling ili9341.c
Compiling numfont20x24.c
Compiling Font5x7.c
Compiling flash.c
Compiling adc.c
Linking build_900/ch.elf
Creating build_900/ch.hex
Creating build_900/ch.bin
Creating build_900/ch.dmp
text data bss dec hex filename
82548 6096 10480 99124 18334 build_900/ch.elf
Creating build_900/ch.list
Done
Admin@DESKTOP-UA6HBFC /h
$
Эту тему просматривают: 1 (пользователей: 0 , гостей: 1)