2023-10-16 09:26 PM - edited 2023-10-17 09:58 PM
Hi Team,
SPI communication is established between STM32F411RCT6(master) with ADS1298(slave). When i run the code , then notfication came to console:
Erasing memory corresponding to segment 0:
Error: Operation exceeds memory limits
Error: failed to erase memory
Encountered Error when opening C:\ST\STM32CubeIDE_1.13.1\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_2.1.0.202305091550\tools\bin\STM32_Programmer_CLI.exe.
Error in STM32CubeProgrammer
Shutting down...
the STM32Cube IDE that iam using is 1.13.1, and with the ST-LINK Utility and STM32CubeProgrammer , i tried to erase the flash memory, iam able to do a mass erase.
So after that seeing some forum, they have installed 1.12.1 version. I did it and this notification came in console :
STMicroelectronics ST-LINK GDB server. Version 7.3.0
Copyright (c) 2023, STMicroelectronics. All rights reserved.
Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled
InitWhile : Enabled
Waiting for debugger connection...
Debugger connected
Waiting for debugger connection...
Failed to read registers from target
Shutting down...
Exit.
i changed the frequency of the in the stm32cubeIDE debug session( run>debug configuration>debugger>ST-LINK) to 4000, 8000, auto .
Kindly requesting a help as soon as possible.
Thanks &Regards
Neelima S
2023-10-16 11:31 PM
Please upload a photo of your ST-LINK.
Regards
/Peter
2023-10-17 06:17 AM
> STM32F4RCT6
This isn't a chip name, missing some numbers.
> Error: Operation exceeds memory limits
Suggests you are trying to erase more flash than the chip actually has.
But probably you are working with a bogus programmer and/or board as Peter suggests.
2023-10-17 09:49 PM
Hi Peter
Glad to get in touch. Iam using ST-Link from 7SEMI is a USB-based programmer and in-circuit debugger designed for STM32 microcontrollers.iam herewith attaching the photos of the ST-link . Kindly go through.
Thanks and Regards
Neelima S
2023-10-17 09:53 PM
Hi,
Sorry for not providing the correct part number its STM32F411RCT6 . Iam using ST-Link from 7SEMI is a USB-based programmer and in-circuit debugger designed for STM32 microcontrollers. I have attached the photo of the debugger iam using. Kindly go through
Thanks and Regards
Neelima S
2023-10-18 06:16 AM
The topic has been discussed very often in the community: It is an illegal clone of an ST-LINK with a different MCU, whose behaviour ST does not know and therefore cannot support. Please buy an original ST-LINK, then you won't have such problems.