STM32 Discovery

Tried to switch over into the stm32 discovery that I bought a while back. I was looking for the added benifits of the built in st link debugger.

Turns out a few things are different between the two boards. I had to wrap several things in  #ifdef STM32F10X_LD_VL
// dont use more than 8k ram, change leds , gpio etc.

After getting all that to work I could debug but the usarts did not work at all, I even enabled usart3 and tried to use that. Tried hooking everything up to a scope and still nothing, it does not even output any data what so ever on the usarts.

Then after that somehow my source re visioning wiped everything back so all the stuff I did to make my code compile and run on the discovery was lost. Thats ok though I’m just going to have one project and add the needed changes when switching between boards. The hardest part will be setting the define and changing to the other startup.s.

Leave a Reply