I am using STM32F401RE development board with STM32Cube IDE and Keli V5. I was able to program the board previously; but all of a sudden it shows "target not found" in both IDEs. Can anyone help me with this?
Did you enable serial wire debug (SWD) pins while programming for the first time. 90% people have done this mistake and debugger cannot communicate with Controller. There are several ways to recover based on which pins are available to you. First of all try Easy method. Choose STMCubeProgrammer Software and select Connect under reset. If doesnot work... tell us more
Just a blind guess: on ST boards, there are jumpers allowing to connect to the board or to program another board if you use the 6~7 pins line of connectors. I guess you may have removed the jumpers and forgot you removed them.
Just a blind guess: on ST boards, there are jumpers allowing to connect to the board or to program another board if you use the 6~7 pins line of connectors. I guess you may have removed the jumpers and forgot you removed them.
I checked the jumper position .Its fine for on board ST-link use. But As vishwesh told me to check about SWD i already made that mistake while doing programming. Every time for new project i clear the pin configuration and forgot about SWD(JTAG ) Pins setting.
So it might be the issue but how i can able to resolve it .I checked every option and other thing is MCU's is heating very rapidly.
Did you try connecting under reset? STm provides free utility STM32CubeProgrammer. You press and hold the reset switch on development board and click connect using Mode "Under Reset". Once you click "Connect", immediately release the reset switch on board.
This way you can connect to the controller again and flash another hex file by enabling SWD in code.
Sorry, this doesnot sound good. MCU heating is not normal.Its difficult to find reason as you will have sufficient protections on development board. Please see if you have made any wrong external connections on breakout pins. Usually GPIO pins of STM32 are 5V tolerant but PowerSupply pins are not. So by-mistake if 3.3V Pin is given 5V externally it might have broken MCU and you cannot recover it.
Try to connect a 100 Ohms resistor in series with each if your programmer's signal lines (not at power supply lines).
Then measure the voltage across each resistor to find out whether there is any short circuit condition.
Usually the voltage across each resistor should be below 100mV.
I did the same process for reset the board by using CUBE programmer but its not detected and the board is heat up very fast which is the main issue.
From this i understand that this chip on board is not working and because of that its heating up.
I am thinking to replace CHIP of 401RE with new one. Any suggestion.
Yea, seems like you have to do this now. I would recheck and critically analyze the connections that are made to the board before replacing MCU. It is important that you have at-least a speculation for what might have caused MCU to break beyond repair. Also please see if you are getting proper 3.3V out from the on-board regulator(I think 1117 IC is used)