From 03ddc2d5f482da3ba88f3343cc3b2a6904e23499 Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Sat, 11 Mar 2023 17:46:03 -0500 Subject: [PATCH] update README.md; --- README.md | 41 ----------------------------------------- 1 file changed, 41 deletions(-) diff --git a/README.md b/README.md index 78570e1..26a8c46 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,6 @@ Please see the various Makefile's included in the project for more information. To build the firmware, use the ```make``` command, followed by -f and the correct makefile, followed by the type of board you are using. -> **_NOTE:_** The only two known tested targets are ```mmdvm-hs-hat-dual``` and ```mmdvm-hs-hat-dual-usb```. - An example of this would be ```make -f Makefile.STM32FX mmdvm-hs-hat-dual``` for a full duplex modem hotspot, attached to GPIO. ## Firmware installation @@ -48,45 +46,6 @@ Resetting device... Reset done. ``` -### Install the firmware with bootloader support for USB connection - -If you want to use the device via USB port you have to install a bootloader and build the firmware with bootloader support. As the raw device cannot be used with USB you have to use a USB-serial adapter or STlink device. - -* The bootloader (https://github.com/DVMProject/STM32F10X_Platform/blob/527fee72ae2291486304380cb812c48f36122c32/utils/bootloader/generic_boot20_pc13.bin) should be installed starting at offset 0x8000000. -* The firmware should be installed starting at offset 0x8002000. - -An example Using STlink this can be done as follows: -``` -user@host:~/dvmfirmware-hs$ -f Makefile.STM32FX mmdvm-hs-hat-usb-dual -... -user@host:~/dvmfirmware-hs$ ./STM32F10X_Platform/utils/linux64/st-flash write ./STM32F10X_Platform/utils/bootloader/generic_boot20_pc13.bin 0x8000000 -2018-03-02T10:01:04 INFO src/usb.c: -- exit_dfu_mode -2018-03-02T10:01:04 INFO src/common.c: Loading device parameters.... -2018-03-02T10:01:04 INFO src/common.c: Device connected is: F1 Medium-density device, id 0x20036410 -2018-03-02T10:01:04 INFO src/common.c: SRAM size: 0x5000 bytes (20 KiB), Flash: 0x10000 bytes (64 KiB) in pages of 1024 bytes -2018-03-02T10:01:04 INFO src/common.c: Attempting to write 7160 (0x1bf8) bytes to stm32 address: 134217728 (0x8000000) -Flash page at addr: 0x08001800 erased -2018-03-02T10:01:04 INFO src/common.c: Finished erasing 7 pages of 1024 (0x400) bytes -2018-03-02T10:01:04 INFO src/common.c: Starting Flash write for VL/F0/F3 core id -2018-03-02T10:01:04 INFO src/common.c: Successfully loaded flash loader in sram - 6/6 pages written -2018-03-02T10:01:05 INFO src/common.c: Starting verification of write complete -2018-03-02T10:01:05 INFO src/common.c: Flash written and verified! jolly good! -user@host:~/dvmfirmware-hs$ ./STM32F10X_Platform/utils/linux64/st-flash write dvm-firmware-hs_f1bl.bin 0x8002000 -2018-03-02T10:01:05 INFO src/common.c: Loading device parameters.... -2018-03-02T10:01:05 INFO src/common.c: Device connected is: F1 Medium-density device, id 0x20036410 -2018-03-02T10:01:05 INFO src/common.c: SRAM size: 0x5000 bytes (20 KiB), Flash: 0x10000 bytes (64 KiB) in pages of 1024 bytes -2018-03-02T10:01:05 INFO src/common.c: Attempting to write 55016 (0xd6e8) bytes to stm32 address: 134225920 (0x8002000) -Flash page at addr: 0x0800f400 erased -2018-03-02T10:01:07 INFO src/common.c: Finished erasing 54 pages of 1024 (0x400) bytes -2018-03-02T10:01:07 INFO src/common.c: Starting Flash write for VL/F0/F3 core id -2018-03-02T10:01:07 INFO src/common.c: Successfully loaded flash loader in sram - 53/53 pages written -2018-03-02T10:01:12 INFO src/common.c: Starting verification of write complete -2018-03-02T10:01:13 INFO src/common.c: Flash written and verified! jolly good! -``` -The device should now be usable as /dev/ttyACMx. - ## Notes **NXDN Support Note**: NXDN support is currently experimental.