Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 11 months ago.
How to transfer the firmware developed in the nucleo to another MCU STM32F103
Hello all!
I usually develope small projects where the space is a constrain. I have one mbed LPC1768, but never used it because of this problem. I also make my own PCB's, so, normally use devides with a pinout till 48 pins. I also have only been using AVR MCU's, but I want to migrate to ARM.
My doubts are the following:
Can I develope the project using a ST Nucleo F103RB and after transfer the firmware to another MCU already embedded into my final project considering that I use only the I/O's that i am going to have in the 48 pins device?
As I have using AVR family, I usually store varaibles into EEPROM. The STM32F103RB as not EEPROM, can I store the variables in the flash memory (forgive me my ignorance), or do I have to have an EEPROM outside and save the data to it and read when is necessary?
Thanks in advance for you help.
Regards, Manuel
Question relating to:
2 Answers
9 years, 11 months ago.
If you are using a device of the same type, with only different number of pins, but with identical SRAM memory (flash may be less, as long as your program still fits), I think it should work without changes.
Regarding data storage, you can normally self program the flash memory (I didn't check it for this specific one, but normally you can), but this isn't close to as trivial as programming an EEPROM. You need to program a large sector, it is quite slow, and limitted write cycles: If you store it just when a new configuration is set for example there is no problem. If you store the current time every second you run quickly out of write cycles. But in general probably a small EEPROM/Flash IC is easier.