cancel
Showing results for 
Search instead for 
Did you mean: 

memory allocation while using a GUI to alter this change or technically programmi

henriaghaei
Associate II
Posted on September 13, 2016 at 17:01

Ok, Here is the situation as follows.

You know where you are required to program your MCU. Technically speaking, having the following memory locations:

0x20003200

0x20003202

.

.

.

and you need to assign the following characters to each memory locations.

0x20003200 ==> '|'

0x20003400 ==> 'f'

.

.

.

and you can easily use IAR or other IDEs to program it and get what you want.

However, I am not willing to use any IDEs to program this specific parts of the memory?

Having said that, I am not going to completely refrain from using the IDE. I would like to flash it and then rewrite the memory with an external source to meet my need.

Therefore, I would like to make a GUI to detect the micro type that I have on my board firstly, then picks the characters of my choice and write it into my MCU.

What tools should I use? What is most important thing that I should care of?

These are the questions that I need to cope with.

To give you a better picture of this here is should be ended up with.

Choose your characters: [=,t,:,|,@,♯]

Choose the memory locations: [0x20003200, 0x20003202, 0x20003204, 0x20003206, 0x20003208, 0x20003210]

Thank you in advance!

p.s. And please don't advise me to get Elprotronic in order to do this! With all do respect! :)

#memory #stm32f107
2 REPLIES 2
henriaghaei
Associate II
Posted on September 16, 2016 at 15:47

Well, I am answering to my own question in here! I used Segger J-Link in order to change or technically write into specific part of memory!

Verified!

Posted on September 16, 2016 at 16:14

The System Loader in ROM also permits connectivity via USART1, and provides a protocol to read/write memory. There are also MCU DBG DEVID registers which can be used to identify the STM32, Core, along with ROM based constants for RAM and FLASH.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..