1 Reply Latest reply on Feb 6, 2020 2:19 AM by RaktimR_11

    VSCode and Mbed Debug failing for PSoC62-2M Device in CYW9P62S1_43438EVB_01

    SanjeevK_06

      Hi i am trying to debug a Mbed project in VSCode and Mbed Debug is failing for PSoC62 -2M Device in CYW9P62S1_43438EVB_01. I tried in other kits as well, i get similar error. The debug build is successful with creation of *.elf file. It fails while downloading. below is the debug console log. json files and screenshot of the error are attached here. I tried vscode generator with no luck. If you can generate ..vscode files for a simple mbed wifi example and verify on CYW9P62S1_43438EVB_01 or any  kit with PSoC62 2M device , it will be helpful. I browsed through the community and tried all scenarios posted and nothing works.

       

      1: (4263) ->1008+download,{section=".text",section-sent="465872",section-size="990512",total-sent="471200",total-size="16308242"}

      1: (4764) ->1008+download,{section=".text",section-sent="904192",section-size="990512",total-sent="909520",total-size="16308242"}

      1: (4861) ->1008+download,{section=".ARM.extab",section-size="308",total-size="16308242"}

      1: (4862) ->1008+download,{section=".ARM.exidx",section-size="504",total-size="16308242"}

      1: (4864) ->1008+download,{section=".copy.table",section-size="24",total-size="16308242"}

      1: (4866) ->1008+download,{section=".zero.table",section-size="8",total-size="16308242"}

      1: (4869) ->1008+download,{section=".data",section-size="5020",total-size="16308242"}

      1: (4875) ->1008+download,{section=".cy_sharedmem",section-size="12",total-size="16308242"}

      1: (7266) ->[---|---|---|---|---|---|---|---|---|----]

      1: (7317) ->1008^error,msg="Error finishing flash operation"

      1: (7317) ->(gdb)

      1: (7317) 1008: elapsed time 3579

      1: (7317) ->&"\n"

      1: (7317) ->^done

      1: (7317) ->(gdb)

      1: (7319) <--gdb-exit

      1: (7322) Send Event AD7MessageEvent

      1: (7326) <-logout

      1: (7327) <-logout