Hi I'm new to stm32. I bought stm32F407 development board. Lot of examples are based on Discovery board. How to program development board via IAR
Can you provide a link to the specific board you have, the description is far too generic and nonspecific.
Get a schematic for your board so you know the pin connectivity, this way you can modify the examples to suit it.
CubeMX v4.24 can pre-initialize resources required by the board. Start new project, select the board you have (the examples are the same for Discovery and DISC1 boards - those not using VCOM), generate the project. Then look into the examples to use API function to access specific pheripheral.
I bought stm32F407 development board
As Clive One says, that tells us absolutely nothing other that that an STM32F407 is involved somehow.
Give specific make, model, manufacturer, vendor, details - preferably also links.
Where did you buy it?
Why did you not discuss with the manufacturer and/or vendor, and study its documentation to determine its suitability to your particular requirements before parting with money?
Is it even an ST board?
How to program development board via IAR
What does your IAR documentation say?
What does the board's documentation say?
Retrieving data ...