Rewriting Code in Internal Flash

Post your requests and ideas on the future development of mikroC PRO for ARM.
Post Reply
Author
Message
lordsant333
Posts: 1
Joined: 19 Apr 2021 09:19

Rewriting Code in Internal Flash

#1 Post by lordsant333 » 19 Apr 2021 11:44

Hi all,

Im using the stm32f439 and looking to find a way to write code in the internal flash. Is there a protected area for quality assurance and security? It's supposed to be used for company's intellectual property.
I would also like to know if there's a way to rewrite the system memory, I presume that it is the most protected area and couldn't find a way to write the code on it.

I would really appreciate any help,
Thanks!

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Rewriting Code in Internal Flash

#2 Post by filip » 22 Apr 2021 08:14

Hi,

It would be best if you have a look at the memory specification of the stm32f439 MCU to have an insight how the memory is organized and accessed.
You can use compiler's Flash library to write to it, check the Flash library topic in the Help file and the supplied examples.

Regards,
Filip.

Post Reply

Return to “mikroC PRO for ARM Wish List”