Home > other >  The same code, compile new construction will not be able to run
The same code, compile new construction will not be able to run

Time:09-17

Just contact with single chip microcomputer, bought a development version, plans to run a simple light LED,
Has built a project, the following source files directly COPY development board routines, download the compiled, the result that there has been no response,
Directly open the routines, after downloading can light up,
Has compared the Options for all configuration under the Target, are consistent,
Use is STM32F407 film, is a great god, and what may cause this phenomenon?

CodePudding user response:

Windows is not suitable for the development, some configuration files on Windows are hidden files, copy is not the past,

CodePudding user response:

reference 1st floor walk black tea reply:
Windows is not suitable for the development, some configuration files on Windows are hidden files, copy is not the past,
thank you very much, not sure whether this question, I consult with their technology

CodePudding user response:

Estimation is MDK problem, don't know if you have the option of the device inside stm32f4 Series

CodePudding user response:

reference fat pig left-back door reply: 3/f
MDK question is, do not know you have the option of the device inside stm32f4 Series
you, components library is also no problem, and their routine engineering I were compiled to download, no problem, just my own new construction, is too painful, don't know what went wrong, can set all set

CodePudding user response:

Stm32 to copy a lot of the library files together to run correctly

CodePudding user response:

Recommended by the STM32CubeMX
generate engineering

CodePudding user response:

1, screening STM32F407 startup file
STM32F407 is big capacity of single chip microcomputer, whether the boot file selected boot file is large capacity, suffix is HD
2, the stack setting reasonable
A stack generally set up 400 WORD
3, download configuration is correct
STM32F407 is big capacity of single chip microcomputer, should choose when to download HD type of single chip microcomputer





CodePudding user response:

Thank you kind help, have finally found the problem for two days, two places, the second is less, according to a more than RST

CodePudding user response:

refer to the eighth floor greenapl1985 response:
thank you for your enthusiastic help, have finally found the problem for two days, two places, the second is less, according to a more than RST


Check no download configuration Reset and Run

CodePudding user response:

references 9 f ba_wang_mao response:
Quote: refer to the eighth floor greenapl1985 response:

Thank you kind help, have finally found the problem for two days, two places, the second is less, according to a more than RST


Check no download configuration Reset and Run
right, but more important is the first, if you don't check, completely unable to use

CodePudding user response:



I check the project!

CodePudding user response:

The
reference 11 floor ba_wang_mao reply:


I check the project!
new words, I won't be checked by default
  • Related