Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need help for compile #1

Open
4dvn opened this issue Jan 21, 2020 · 8 comments
Open

Need help for compile #1

4dvn opened this issue Jan 21, 2020 · 8 comments

Comments

@4dvn
Copy link

4dvn commented Jan 21, 2020

Can you write how to compile the source code on windows?

@spectran
Copy link
Owner

To compile it, you may use STM32CubeIDE (https://www.st.com/en/development-tools/stm32cubeide.html)
Simply import project to workspace, and build it.

@4dvn
Copy link
Author

4dvn commented Jan 21, 2020

Thank you, i need some image of pcb to wiring could you upload the image file of pcb?

@spectran
Copy link
Owner

I have used SprintLayout program to develop PCB. It generates .lay file, which can be found in the repository.
Now I will update repository with a .jpg image of PCB.

@4dvn
Copy link
Author

4dvn commented Feb 8, 2020

I have used SprintLayout program to develop PCB. It generates .lay file, which can be found in the repository.
Now I will update repository with a .jpg image of PCB.

Can i upload it to this board?
image

@spectran
Copy link
Owner

Yes, you can use any board with STM32F103C8 to upload firmware, but you need external transistors according to schematics.

@ScherbakovAl
Copy link

The board is not detected when plugged into usb. What should you pay attention to?

@spectran
Copy link
Owner

The board is not detected when plugged into usb. What should you pay attention to?

If there is nothing when you connect the board to PC, try to check power nets, when D+ and D- nets of STM32F103. If the device is not recognized, check the voltage on D+ bus - it should be pulled to VDD. If the voltage is OK, check 8 MHz crystal.

@ScherbakovAl
Copy link

The board is not detected when plugged into usb. What should you pay attention to?

If there is nothing when you connect the board to PC, try to check power nets, when D+ and D- nets of STM32F103. If the device is not recognized, check the voltage on D+ bus - it should be pulled to VDD. If the voltage is OK, check 8 MHz crystal.

.. I added the following line to the code and the device was detected:
MX_USB_DEVICE_Init();
after -- "MX_GPIO_Init();"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants