To use st-util, gdb, and the stdio semi-hosting library, you need a 
Discovery board and 3 wire STLINK connection to the SM1000.

Or you can use a Discovery board stand alone to run many of the unit 
tests in codec2-dev/stm32.

Alternatively you can simply flash the SM1000 over USB using the boot 
loader, as described on the SM1000 page.  However in this case you can't 
use the semi-hosting facility, e.g. fread/fwrite required bymany of the 
programs in codec2-dev/stm32.

Cheers,

David

On 28/07/15 21:57, Nouman Khalid/A-XEN R&D/NRTC wrote:
> Hi all,
>        I have downloaded the code from svn and followed the instructions in 
> stm32/README. All steps went well without any error. After making stlink, I 
> copied hts1a.raw in stlink folder.
> While running  sudo ./st-util -f /home/lab/codec2/stm32/stm32f4_codec2.elf I 
> have got the following error.
>
> -f arg; /home/lab/codec2/stm32/stm32f4_codec2.elf
> 2015-07-28T17:02:15 WARN src/stlink-usb.c: Couldn't find any ST-Link/V2 
> devices
>
> Any suggestions ?
>
>
> My sm1000 is in debug mode (Pressed PTT then powered up then PTT released).
> dmesg shows me following
> [98392.925109] usb 1-1.3: Product: STM32  BOOTLOADER
> [98392.925110] usb 1-1.3: Manufacturer: STMicroelectronics
> [98392.925111] usb 1-1.3: SerialNumber: 335838523233
> Means device is connected.
>
>
> Thanks in advance
>
> Nauman
> ------------------------------------------------------------------------------
> _______________________________________________
> Freetel-codec2 mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>

------------------------------------------------------------------------------
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to