I was doing my hardware hack project on an air quality monitoring device which uses STM32L476
processor.
My only experiences with hardware hacking are IPcams or wifi routers with UART consoles available. But, after some probing and trying, I was not able to find a way to interact with my air box.
(The USART pins just print out a UUID on boot and then nothing more happens.)
So I reckon my next best bet is those SWD pins. I then proceed to get the datasheet of STM32L476
and encountered this problem.
According to the datasheet, SWDIO
and SWCLK
corresponds to pin PA13
and PA14
and no other pins has alternative functions to work as SWDIO or SWCLK.
But looking carefully, PA13
and PA14
aren't even connected to those pins marked SWD1
on board.
SWD1
and USART
are the only ones that has pinouts so I think they have very high probabilities to be used by developers as debugging ports. But as far as I know, STM32 chips only need two pins to debug with SWD, and there are 8 pins on board! This circuit just makes no sense to me :((
I'm very new to hardware so I'm not familiar with what hardware developers usually do. Is it common for some pins on board to be marked as A but really worked as B ? Or was it just me making some very stupid mistakes when doing my research ?
Edit:
So after reading all of the comments and answers, I did some test and listed some characteristics of those pins:
I guess I'm good to go and proceed to next step? There's just so much to learn while waiting for my ST link V2 to arrive. Thanks a lot to every one who provided me with utmost kind and help😊😊