The reaction was you have to do that every time again per processor which is still valid.
I had to go through and choose between Freescale (now NXP) and ST.
I had to go through and choose between Freescale (now NXP) and ST.
Using a tool chain not tied to a particular vendor certainly helps.
For commercial use, I'd recommend Keil or IAR--they both support almost all Cortex-M vendors and have a consistent interface to all of them.
For hobbyist use, I suggest using Eclipse/CDT/GCC to build your own tool chain. It's vendor independent and works well with most Cortex-M parts (as long as you can find .h header files).
Programmer for ST - $20.
Programmer for Freescale - at least $250 unless you buy some cheap Chinese knock off.
Programmer for ST - $20.
Programmer for Freescale - at least $250 unless you buy some cheap Chinese knock off.
Doesn't Freescale support standard JTAG/SWD? If it does, you should be able to use a generic JTAG/SWD dongle + OpenOCD instead of shelling out for the official programmer. ST's micros certainly can be programmed and debugged like that, no need for ST Link.
I am working with 8 and 16bits MCUs write now and I want to start with ARM, but I don't now where to start
One solution is mikroc for ARM , but its crap , and the ide its horrible if you write big projects.
I am working with 8 and 16bits MCUs write now and I want to start with ARM, but I don't now where to start
One solution is mikroc for ARM , but its crap , and the ide its horrible if you write big projects.
Thank for your suggestions , libopen its nice suggestion, because you can have an alternative from Hal library.
I am not going to use SPL ,I think that is useless because it Doesnt support newer MSUs
Also I dont like code generators , microchip also now has code generator instead of libraries
Is there a library for STM32F4 that has a permissive licensing or at least an linking exception. It's nice that there is a lot of GPLed ones but are completely useless for anything but home usage or school use.
Is there a library for STM32F4 that has a permissive licensing or at least an linking exception. It's nice that there is a lot of GPLed ones but are completely useless for anything but home usage or school use.
I did a quck test a few days ago with STM's HAL and Os compiled binary with freertos+fatfs + sdio i2c and USB msc driver was 114k... and before trying I thought I could do a bootloader (IAP) with it. Will try without freertos but IMO it won't go below 100k. And I was all optimistic and thought that it will fit into the 32k with couple of kB to spare.
I just noticed that mbed has support for a board with an STM32F4:
https://developer.mbed.org/platforms/ST-Nucleo-F401RE/
I have used mbed for another microcontroller (LPC series) and it is a really nice and clean C++ framework, as easy to use as an Arduino, but more powerful and extensible
RTOS is only around 10k no idea where you are burning the other 100k, how big is the fatfs?
RTOS is only around 10k no idea where you are burning the other 100k, how big is the fatfs?Fatfs about 10kB for basic implementation.
SDMMC 10kB as well.
100kB is not unreasonable as that is what I am taking (HAL, fatfs, sd, i2c, uart, etc.). But I have not bothered to look to optimize as the uc has plenty of flash.
Maybe he can post the memory listing.