2 Replies Latest reply on Aug 10, 2016 7:13 PM by totoc_2194251

    Wiced downloading program

      I rebuild FT2232 circuit pcb for usb to JTAG , when downloading onto our HW stm32f207VCT6 pcb ,no error occure ,

      but the pcb is not correct running

        • 1. Re: Wiced downloading program
          JaeyoungY_71

          Hello Tom,

           

          Are you getting any terminal output from it? Can you see the prints from chip initialize or not even that at all? Could you also post the completed download message that appears?

           

          Thanks,

          Jaeyoung

          • 2. Re: Wiced downloading program

            Hello JaeyoungY_71

            1. When I use stm32f207VCT6 PCB , XTAL =16Mhz  , the OpenOCD log file show some error as below :

              

            Polling target STM32F207ZGT6.cpu succeeded again

            Info : JTAG tap: STM32F207ZGT6.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)

            Info : JTAG tap: STM32F207ZGT6.bs tap/device found: 0x06411041 (mfg: 0x020, part: 0x6411, ver: 0x0)

            Info : Selecting JTAG transport command set.

            Info : AP INIT COMPLETE

            Info : Selecting JTAG transport command set.

            Info : AP INIT COMPLETE

            Error: checksum mismatch

            in procedure 'verify_image_checksum'

            Open On-Chip Debugger 0.8.0-dev-00139-g4dfe8d5-dirty (2013-08-22-12:22)

            Licensed under GNU GPL v2

            For bug reports, read

              http://openocd.sourceforge.net/doc/doxygen/bugs.html

            Info : only one transport option; autoselect 'jtag'

            trst_and_srst separate srst_nogate trst_push_pull srst_push_pull connect_assert_srst

            adapter speed: 1000 kHz

            adapter_nsrst_delay: 100

            jtag_ntrst_delay: 100

            Warn : target name is deprecated use: 'cortex_m'

            jtag_init

            Info : max TCK change to: 30000 kHz

            Info : clock speed 1000 kHz

            Polling target STM32F207ZGT6.cpu failed, GDB will be halted. Polling again in 100ms

            Info : JTAG tap: STM32F207ZGT6.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)

            Info : JTAG tap: STM32F207ZGT6.bs tap/device found: 0x06411041 (mfg: 0x020, part: 0x6411, ver: 0x0)

            Info : Selecting JTAG transport command set.

            Info : AP INIT COMPLETE

            Info : STM32F207ZGT6.cpu: hardware has 6 breakpoints, 4 watchpoints

            Polling target STM32F207ZGT6.cpu succeeded again

            Info : JTAG tap: STM32F207ZGT6.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)

            Info : JTAG tap: STM32F207ZGT6.bs tap/device found: 0x06411041 (mfg: 0x020, part: 0x6411, ver: 0x0)

            Info : Selecting JTAG transport command set.

            Info : AP INIT COMPLETE

            Info : Selecting JTAG transport command set.

            Info : AP INIT COMPLETE

            auto erase enabled

            Info : device id = 0x201f6411

            Info : flash size = 256kbytes

            Warn : no flash bank found for address 8040000

            Warn : no flash bank found for address 804dfb0

            wrote 212992 bytes from file build/snip_interrupt-SN8000x/binary/snip_interrupt-SN8000x.stripped.elf in 7.859375s (26.465 KiB/s)

            shutdown command invoked

             

            2. When I use stm32f207ZGT6 PCB  XTAL = 25Mhz , the OpenOCD log file show some error as below :

               

            Polling target STM32F207ZGT6.cpu succeeded again

            Info : JTAG tap: STM32F207ZGT6.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)

            Info : JTAG tap: STM32F207ZGT6.bs tap/device found: 0x06411041 (mfg: 0x020, part: 0x6411, ver: 0x0)

            Info : Selecting JTAG transport command set.

            Info : AP INIT COMPLETE

            Info : Selecting JTAG transport command set.

            Info : AP INIT COMPLETE

            Info : JTAG tap: STM32F207ZGT6.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)

            Info : JTAG tap: STM32F207ZGT6.bs tap/device found: 0x06411041 (mfg: 0x020, part: 0x6411, ver: 0x0)

            Info : Selecting JTAG transport command set.

            Info : AP INIT COMPLETE

            Error: STM32F207ZGT6.cpu -- clearing lockup after double fault

            target state: halted

            target halted due to debug-request, current mode: Handler HardFault

            xPSR: 0x81000003 pc: 0xe8dfff3c msp: 0x2001f068

            Polling target STM32F207ZGT6.cpu failed, GDB will be halted. Polling again in 100ms

            shutdown command invoked

            Polling target STM32F207ZGT6.cpu succeeded again