2024-01-10 05:32 PM
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
2024-01-10 06:38 PM
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:
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.
2024-01-10 06:54 PM
wait, could i just usb interface interface? btw i will most likely use arduino IDE to make and compile my program.
2024-01-10 08:12 PM
If you use their bootloader, sure, but you can't really debug your program that way. It's not an efficient programming method.
2024-01-10 08:21 PM
do you mean "their bootloader" is arduino IDE? also how do i configure the stm chip. is it mandatory, or can i just skip that part?