Hi Steve,
I build completely, but my sm1000.bin run with SYNC led on, ERROR led
blinky fast forever or 4 led blink sequence. Specialty, I try your
sm1000.bin same result. But, sm1000.bin which I downloaded from
http://www.rowetel.com/downloads/codec2/smartmic/sm1000.bin run OK with
ERROR led off.
2018-05-09 19:55 GMT+07:00 Steve <coupaydevi...@gmail.com>:
> Time moves on...
>
> As far as I know, the build process in codec2-dev is the one you want.
>
> The Makefile has an algorithm in it that downloads a library from
> st.com, however this library is now deprecated and a new system of
> software development is the STM32Cube. The file that gets downloaded
> is junk.
>
> You can still download the file manually, but you have to register
> with the web site.
>
> So, best to create a directory called "stm/dl" and put the manually
> downloaded zip file in there. I have a copy at:
>
> https://www.dropbox.com/sh/qvs2bvoyjxem0nq/AACTzcoMPudowahrbfppEd_Xa?dl=0
>
> There is new stuff in codec2 that uses a version number. This doesn't
> compile for the firmware, so edit the codec2.h file
> and comment out the line:
>
> #include <codec2/version.h>
>
> Then edit the Makefile and you will see a line called "all"
>
> all: libstm32f4.a codec2_profile.bin fft_test.bin dac_ut.bin
> dac_play.bin adc_rec.bin pwm_ut.bin fdmdv_profile.bin
> sm1000_leds_switches_ut.bin sm1000.bin adcdac_ut.bin
> freedv_tx_profile.bin freedv_rx_profile.bin adc_sd.bin usb_vcp_ut.bin
> tuner_ut.bin fast_dac_ut.bin adc_sfdr_ut.bin adc_rec_usb.bin
> si5351_ut.bin mco_ut.bin sm2000_stw.bin sm2000_adcdump.bin
> sm2000_rxdemo.bin
>
> edit this to:
>
> all: libstm32f4.a sm1000.bin
>
> So, with the manually downloaded library in place it should build with
> some warnings.
>
> So then plug in your sm1000 and power on with the PTT held and type:
>
> sudo make sm1000.pgm
>
> and if you have dfu-util installed, it will copy the sm1000.bin file
> to your firmware.
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Freetel-codec2 mailing list
> Freetel-codec2@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>
--
*Kiều Việt Đích*
*Công ty 129 - Ban cơ yếu chính phủ*
Email : dich...@gmail.com
SĐT : 0904736189
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2