Flash library

General discussion on mikroC PRO for ARM.
Post Reply
Author
Message
mklau
Posts: 34
Joined: 19 Aug 2013 03:41

Flash library

#1 Post by mklau » 19 Dec 2014 17:53

Hi there,

Try to use the flash library for STM32F103 as:

unsigned long status;
unsigned long status2;
unsigned long data_;
status = FLASH_ErasePage(0x08008000);
status2 = FLASH_Write_Word(0x08008000, 0xAAAAAAAA);
prepareForFlash() ;


The compiler eliminates both 'status' and 'status2' saying that they are not using. So not sure if both the FLASH_ErasePage and Flash_Write_Word standard lirary functions are really working.

User avatar
darko.minic
Posts: 747
Joined: 01 Dec 2014 11:10

Re: Flash library

#2 Post by darko.minic » 22 Dec 2014 16:19

Hello,

Can you send me small project which demonstrate problem that you have, so I can be able to reproduce it?

Regards,
Darko

Post Reply

Return to “mikroC PRO for ARM General”