2024-06-04 02:51 AM
Hi Friends,
I need Yours Help. I have working on STM32F407VET6 development board and I have to write on simple code like count the values. I want to see the data in SWO (Serial Wire Viewer).But using STM32CUBEIDE to flash the code to my code is not Done . Because, My board is not support to flash the code by using STM32CUBEIDE.So,I have using ST-LINK Utility to flash the code to my board. But SWO is correctly enabled but unfortunately count value is not print in the SWO viewer. So, how to I have the data in SWO Viewer. I have to attach the my software screenshot and source code for your reference that boxed line only I have add to see the count values. Thanks in advance for yours Guidance .
2024-06-04 11:59 PM
@Andrew Neil wrote:You still haven't provided full details of that board you're using!
It looks like this one:
but it's impossible to tell for sure - that's why you need to provide full details!
@Vignesh_V wrote:You have to tell the step by step procedure for set the ST-Link correctly..
We can't do that unless you provide full details of the board you actually have!
But why make all this trouble for yourself?
Why not just buy a genuine Nucleo board, which comes complete with ST-Link and VCP on board - all ready setup to just plug & play!
The Nucleo board is actually cheaper than your no-name board - even before you add the cost of an ST-Link and a USB-to-UART adaptor:
2024-06-05 12:27 AM
No I have using ST-Link does not match the original Pin out of you given St-Link .I think in my hand St-Link is not a standard Debugger it is a type clone . My ST-link only support in STM32 Programmer and STM32 ST-Link Utility .If any idea from your side to solve the my problem to see the data through serial. I have Given below link for I actually buying my development board and that full details website for your reference.
https://robu.in/product/stm32f407vet6-arm-cortex-m4-core-with-dsp-and-fpu/
I need your detailed explanation to solve my problem .Thank you for advance to clarify my doubt.
2024-06-05 12:39 AM - edited 2024-06-05 12:46 AM
@Vignesh_V wrote:I think in my hand St-Link is not a standard Debugger it is a type clone .
Correct.
@Vignesh_V wrote:My ST-link only support in STM32 Programmer and STM32 ST-Link Utility .
That shouldn't be true. If it works with STM32 Programmer, it should also work with STM32CubeIDE.
But that's the trouble with buying these clones - you never can tell if they'll work or not!
You have no guarantees.
You still haven't explained why, exactly, you think it's "not supported" by STM32CubeIDE.
@Vignesh_V wrote:If any idea from your side to solve the my problem to see the data through serial. .
Again: Get a genuine Nucleo board!!
You are just making unnecessary complications for yourself with all this no-name, unsupported stuff!
And it's not even any cheaper!
That link doesn't even provide a schematic of the board!
@Vignesh_V wrote:I need your detailed explanation to solve my problem .Thank you for advance to clarify my doubt.
Get a genuine Nucleo board. Use that to gain understanding of the tools, and how all this stuff works.
Once you have that understanding, then you will be equipped to move onto boards like this, and work out for yourself how to get it working.
2024-06-05 12:50 AM
ok give best trust worthy website for genuine Nucleo or Development board link i have need to buy and you have to also give the website for buy the ST-Link Debugger. Thank you for your Guidance.
2024-06-05 01:10 AM - edited 2024-06-05 01:11 AM
If you buy a Nucleo board, it has the ST-Link (including VCP) built in - so you don't need to buy one separately!
The NUCLEO-F401RE has an STM32F401RE MCU:
https://www.st.com/en/evaluation-tools/nucleo-f401re.html
See the 'Sample & Buy' tab for where to buy;
See the 'Documentation' tab for the User Manual and other documentation;
See the 'CAD Resources' tab for schematics.
For documentation & other supporting materials on the STM32F401RE MCU itself, see:
https://www.st.com/en/microcontrollers-microprocessors/stm32f401re.html
2024-06-05 01:59 AM
Hi,
so i think, your board is ok ;( ST-LINK Utility is old, deprecated - forget it.)
but for debug etc. you need a st-link (or J-link, or...) that works with IDE.
Now the "problem" is, newer versions of IDE check the chip ID and refuse to work, if not an STM chip is in the st-link .
So you can with your "bad-copy-st-link" flash with older version of CubeProgrammer (that not check for chip),
or buy a new "clone" with STM chip inside ,
or buy a genuine ST-link (V3 - i would recommend ) , then can flash, debug, etc.
2024-06-05 02:11 AM
one more question, if blue pill board is suitable for creating industrial standard applications?
2024-06-05 02:12 AM
@AScha.3 wrote:or buy a genuine ST-link (V3 - i would recommend ) , then can flash, debug, etc.
But that would cost more than a Nucleo board ?
2024-06-05 02:38 AM - edited 2024-06-05 02:47 AM
A Blue (or other coloured) Pill board will (almost) certainly not have a genuine STM32 on it - so you will have no guarantees or support from ST.
EDIT:
See this page for some of the STM32 clones, fakes, etc in circulation:
https://www.richis-lab.de/STM32.htm
See this page for a page to (try to) find what actual chip is on your "Blue Pill" board:
https://mecrisp-stellaris-folkdoc.sourceforge.io/bluepill-diagnostics-v1.6.html#diags-1-6
Ask yourself if you really want to be introducing yet more uncertainties like this ...
#BluePill #FakeSTM32
2024-06-05 03:14 AM
Not every version : i use the V3 miniE
So can learn/use the board, and even use the onboard st-link with your F407 board .