cancel
Showing results for 
Search instead for 
Did you mean: 

debug spc58nh with stellarlink by using spc5studio

threestone_wang
Associate II

threestone_wang_0-1746780434972.png

what`s wrong?my spc5studio shows 

6 REPLIES 6
Erwan YVIN
ST Employee

Hello , you check your console.

Have you installed openocd feature ?

            Best regards

                  Erwan

 

Dear Erwan,

I have installed openocd feature.There is my spc5studio.

threestone_wang_0-1747273964934.pngthreestone_wang_1-1747273984768.png

threestone_wang_4-1747274023515.png

 

threestone_wang_2-1747273997846.png

threestone_wang_3-1747274007459.png

 

Yesterday, I also found that the reset pin PORST of my SPC58NH92E7 was pulled low by the microcontroller's internal circuit, but I haven't programmed any code yet. All VDD_HV is powered by 5V, and VDD_LV is powered by 1.2V. May I ask why this problem occurred?

Hello ,

Have you installed the StellarLink Drivers from c:\SPC5Studio-6.0\openocd\drivers\

            Best Regards

                              Erwan

Dear Erwan,

I do have installed the StellarLink Drivers from c:\SPC5Studio-6.0\openocd\drivers\,but I can not do anything else.

Dear,

this is my spc5studio.what can i do to solve my red problems?

 

threestone_wang_0-1748331347956.png

Open On-Chip Debugger 0.12.0+dev-00318-g0e98d766e (2023-05-17-15:52) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html adapter srst pulse_width: 100 Started by GNU MCU Eclipse Info : Listening on port 6666 for tcl connections Info : Listening on port 4444 for telnet connections Info : clock speed 4000 kHz Info : JTAG tap: spc58nh.tap tap/device found: 0x01146041 (mfg: 0x020 (STMicroelectronics), part: 0x1146, ver: 0x0) Info : 0x01146041 mfg: 0x020 (STMicroelectronics), device: 0x03 - SPC58NH / SPC58EH - (Chorus 10M), application: 2, technology: 40nm, design: 0, cut: 2.0 Info : starting gdb server for spc58nh.cpu on 3333 Info : Listening on port 3333 for gdb connections Info : OnCE IDCODE = 0x07c5c01d target halted Info : Target status: halted - PC: 0xf7fb8004 Info : accepting 'gdb' connection on tcp/3333 Info : JTAG tap: spc58nh.tap tap/device found: 0x01146041 (mfg: 0x020 (STMicroelectronics), part: 0x1146, ver: 0x0) Info : 0x01146041 mfg: 0x020 (STMicroelectronics), device: 0x03 - SPC58NH / SPC58EH - (Chorus 10M), application: 2, technology: 40nm, design: 0, cut: 2.0 Info : OnCE IDCODE = 0x07c5c01d Disable Software Watchdog Timer Cache invalidate Init regs initialize work area from 0x400A8000 to 0x400A8FFF Clearing memory [0x400A8000-0x400A8FFF] initialize RAM from 0x40028000 to 0x40067FFF initialize RAM from 0x40068000 to 0x400A7FFF initialize RAM from 0x400A9000 to 0x400E7FFF initialize RAM from 0x400E8000 to 0x40137FBF setup IVOPR points Disable Software Watchdog Timer Cache invalidate Init regs initialize work area from 0x400A8000 to 0x400A8FFF Clearing memory [0x400A8000-0x400A8FFF] initialize RAM from 0x40028000 to 0x40067FFF initialize RAM from 0x40068000 to 0x400A7FFF initialize RAM from 0x400A9000 to 0x400E7FFF initialize RAM from 0x400E8000 to 0x40137FBF setup IVOPR points Info : flash: 10240 kbytes @ 0x00fc0000 Info : flash: 256 kbytes @ 0x00800000 Info : flash: 16 kbytes @ 0x00404000 Info : flash: 192 kbytes @ 0x00608000 Info : flash: 32 kbytes @ 0x00680000 Warn : negative reply, retrying Warn : acknowledgment received, but no packet pending Warn : Prefer GDB command "target extended-remote :3333" instead of "target remote :3333" Info : JTAG tap: spc58nh.tap tap/device found: 0x01146041 (mfg: 0x020 (STMicroelectronics), part: 0x1146, ver: 0x0) Info : 0x01146041 mfg: 0x020 (STMicroelectronics), device: 0x03 - SPC58NH / SPC58EH - (Chorus 10M), application: 2, technology: 40nm, design: 0, cut: 2.0 Info : OnCE IDCODE = 0x07c5c01d Disable Software Watchdog Timer Cache invalidate Init regs initialize work area from 0x400A8000 to 0x400A8FFF Clearing memory [0x400A8000-0x400A8FFF] initialize RAM from 0x40028000 to 0x40067FFF initialize RAM from 0x40068000 to 0x400A7FFF initialize RAM from 0x400A9000 to 0x400E7FFF initialize RAM from 0x400E8000 to 0x40137FBF setup IVOPR points force hard breakpoints Info : JTAG tap: spc58nh.tap tap/device found: 0x01146041 (mfg: 0x020 (STMicroelectronics), part: 0x1146, ver: 0x0) Info : 0x01146041 mfg: 0x020 (STMicroelectronics), device: 0x03 - SPC58NH / SPC58EH - (Chorus 10M), application: 2, technology: 40nm, design: 0, cut: 2.0 Info : OnCE IDCODE = 0x07c5c01d Disable Software Watchdog Timer Cache invalidate Init regs initialize work area from 0x400A8000 to 0x400A8FFF Clearing memory [0x400A8000-0x400A8FFF] initialize RAM from 0x40028000 to 0x40067FFF initialize RAM from 0x40068000 to 0x400A7FFF initialize RAM from 0x400A9000 to 0x400E7FFF initialize RAM from 0x400E8000 to 0x40137FBF setup IVOPR points Info : src/flash/nor/spc58xh.c:336 spc58xh_erase() Info : Padding image section 0 at 0x00fc03e2 with 14 bytes Info : Padding image section 1 at 0x00fc2002 with 14 bytes Info : Padding image section 2 at 0x00fc4b16 with 10 bytes Info : src/flash/nor/spc58xh.c:1285 spc58xh_write() Info : src/flash/nor/spc58xh.c:1286 spc58xh_write() offset = 0x00000000 count = 0x00004bd0 Info : Sector found: 0 IN_offset= 0x00000000, bank->sectors[0].offset= 0x00000000, bank->sectors[0].size= 0x00004000 Info : bank->sectors[0].size = 16384 Info : bank->sectors[0].offset = 0x00000000 Info : bank->sectors[0].is_erased = 1 Info : bank->sectors[0].is_protected = 0 Info : JTAG tap: spc58nh.tap tap/device found: 0x01146041 (mfg: 0x020 (STMicroelectronics), part: 0x1146, ver: 0x0) Info : 0x01146041 mfg: 0x020 (STMicroelectronics), device: 0x03 - SPC58NH / SPC58EH - (Chorus 10M), application: 2, technology: 40nm, design: 0, cut: 2.0 Info : OnCE IDCODE = 0x07c5c01d Info : dropped 'gdb' connection