Skip to main content
Associate
January 11, 2024
Question

need help designing a custom pcb

  • January 11, 2024
  • 1 reply
  • 1872 views

Hello, i am really new to pcb design, in fact this is the first time i done it. the problem i get is, where to do i connect the BOOT0 pin? i know if you connect it to VDD then it will boot from the system memory. if i connect it to gnd then it will boot from flash. it just i don't understand which one should i use. btw i am designing this board for a model rocket onboard computer. beacuse the last time i make it, i use multiple module and connect it with jumper cable. and it took to many volume, and i think should weigth more than a dedicated pcb. also if you can, can you also tell me what should i do after i finish the board (or maybe give a link to a document or video explaining it) and maybe review my schematic. i don't reallyhave confidence in my design, because i learn everything by myself and did it alone. thank you in advance

This topic has been closed for replies.

1 reply

TDK
Super User
January 11, 2024

Generally, the BOOT0 pin is tied to GND directly or through a pulldown resistor so that user flash is executed when the chip starts. Flash is where the program you have written lies. That's what you want to run. System memory is the system bootloader.

 

See the design guide:

https://www.st.com/resource/en/application_note/an2586-getting-started-with-stm32f10xxx-hardware-development-stmicroelectronics.pdf

 

Consider using the GND schematic symbol to make your schematic more readable.

 

How are you programming the board? Consider adding a SWD programming header to connect to a programmer such as the STLINKV3-MINIE.

"If you feel a post has answered your question, please click ""Accept as Solution""."
PodexAuthor
Associate
January 11, 2024

wait, could i just usb interface interface? btw i will most likely use arduino IDE to make and compile my program.

TDK
Super User
January 11, 2024

If you use their bootloader, sure, but you can't really debug your program that way. It's not an efficient programming method.

"If you feel a post has answered your question, please click ""Accept as Solution""."