2016-09-17 05:39 PM
Hello
I just joined the forum and I am new to ARM. I followed ARM tutorials using this link I am using CoIDE V2 for beginner development, I was having problems trying to download the program to the STM32f030 MCU. So I went to STM32 Utility program to find out whats going on. I went to settings I noticed Under ''STM 32 target Information'', it shows the ''Detection fail'' message for ''Target'' and ''Target Voltage''. I don't know if its because I made a mistake on connect stlink programer GND to the VDD(breadboard). I'm a little worried if I fried the chip. Here is the diagram of the chip I'm using. #st-link-v2 #stm32f0302016-09-18 01:25 AM
hi
I'm afraid you *may* have fried your chip, or you may have been lucky For beginners, I really don't see any reason not to buy either or one of their boards which as you can see are cheap and have ST-Link built-in For your board, you need to check all your connections, see may post (done approx 30 mins ago) in this [DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/How%20to%20load%20program%20in%20stm32f0%20using%20st%20linkv2&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/AllItems.aspx¤tviews=27]thread but if you fried your chip then no amount of messing around will sort it :(2016-09-20 06:27 AM
Do not forget you may need to supply external power or stlink may do it for you with proper wiring. You may also damage the stlink vcc with invalid wiring so you now need a external power.
2016-09-20 10:08 PM
Hello.
Thank you for your replies. Not sure why the ST forums is pretty slow and Google chrome doesn't seem to like the website. But anyway. Unfortunately, I don't have any external power supply for my st-link v2. Also the USB st-link V2 doesn't have NRST pin. I guess going for nucleo or st discovery would be the best option for beginners. Which ones would you guys recommend for beginners (knows nothing about ARM, some experience with Arduino)? Thanks2016-09-21 03:28 AM
OK, the ST-Link V2 does have the NRST pin, it's the RST one
in electronics, where a pin logic is reversed, often an 'N'/'n' (Not) or sometimes a '!' is put infront of the signal wire name to signify this so, when pin RST is High/On, this means do-not-reset - (someone plz tell me if I'm totally wrong on this !!!) As for your board choice, there is a big selection Whichever one you choose, it's quite a step up from Arduino The STM32 range has several architectures available, the older ones are Cortex-M3 (shortened to CM3) and newer ones are CM0, CM+, CM4 and CM7 A generalisation: CM0 are the junior ones but still run at ~48MHz (so nice boost over Arduino), CM0+ are low power versions of these (run at 32MHz), others run faster plus often have a Floating Point Unit (FPU) to speed up complex float calcs There's not really a huge difference in the programming complexity between ranges, so don't expect a CM0 to be 'simpler' One thing to note is that programs tend to be noticably larger compared to equivalent Arduino ones The Nucleo boards are relatively basic with just an LED and user button but cover most of the chip ranges: CM0, CM0+, CM4, CM7 the Discovery boards tend to have more features: gyros/magnetometers/ePaper/Displays/Touch Pads/LEDs etc on them (but avoid the CM3's as they are getting on) To find out more on what features each board has, search out the User Manual pdf's (prefixed UMxxxx) on the ST website what to go for, well it kinda depends on what area you want to play around with ? displays, sensors, led's ?2016-09-21 10:21 PM
Ah, yes, I see it, there is ''RST'' on ST-LINK V2. Actually, I did google about NRST and it says that this represents external reset. Not sure why they use 'N'. I did connect from RST to MCU NRST/Internal Reset Output, but still not reading the chip.
About choosing which dev boards to go for, I'm interested in displays, LEDs, sensors, etc. The main part I want to focus is more on Internet of Things side. I had start using nordic BLE dev board before, but I gotten really lost for months, so I thought about starting to learn ARM first before going into that.2016-09-22 12:43 AM
OK
so for general things like displays/sensors/leds, any board will probably do Sensors, MPU6050 (gyro+accel) or, if you also want magnetometer, MPU9150/9250 small mono displays, I would go for Nokia 5110 display: ebay search ''Nokia 5110 LCD Screen Module'' for bigger colour displays, I would recommend getting a cheap one off ebay search: ''Tft Lcd Display Module 240X320 Ili9341'' and get one with pins so can easily be connected up. Larger ones have touchscreen aswell If you get into these larger displays, the more RAM you have the better As for IoT, thats not so good on ST. They do have a but it hasn't really caught on that well Most people appear to be using ESP8266, but it has a lack of pins for more than simple projects Ironically, there is an ARM board similar to ESP8266 using STM32F411 uC but has some obtuse programming instead of ability to use GCC compiler2016-09-22 09:43 PM
Thank you Michael for provide me some helpful information about ARM for beginners and about IOT. I appreciate your time and I will do more research about them.