A Bug? again? really Mikroe?!!!

General discussion on mikroPascal PRO for ARM.
Post Reply
Author
Message
corado
Posts: 399
Joined: 28 Mar 2009 11:03

A Bug? again? really Mikroe?!!!

#1 Post by corado » 25 May 2020 14:16

Every time I want to play around after a long time and only want to have one LED blinking for a test e.g. I have problems with mikroe!
This time I just received my Discovery Disco Board and wanted to try toggling all ports.
The board is a STM32F303VCT6
After I soon lost my appetite, as so often happens, because NOTHING works as it should!! I tried the same source code on my STM32L-Discovery and only changed the controller to microe..it worked right away!
Then I connected the STM32F303VCT6 Discovery Board again and changed the controller in Mikroe..NO FUNCTION!!!
But if I now set the wrong controller STM32F303R8, it works and all LEDs flash.
Honestly Mikroe..it is no fun this way

Translated with www.DeepL.com/Translator (free version)

User avatar
filip.grujcic
Posts: 822
Joined: 14 May 2018 08:34

Re: A Bug? again? really Mikroe?!!!

#2 Post by filip.grujcic » 27 May 2020 08:21

Hello,

There is an error in the .mlk file for the MCU you are using (STM32F303VC) in the RAM address range.
Open the STM32F303VC.mlk file with any text editor (it's located in: ...\Mikroelektronika\mikroPascal PRO for ARM\Defs)
and alter the RAM node, so it looks like the following:

Code: Select all

<RAM>
	<MIN_ADDR>0x20000000</MIN_ADDR>
	<MAX_ADDR>0x20009FFF</MAX_ADDR>
</RAM>
Save the file, open the compiler and change the selected MCU to some other and then change it back to STM32F303VC, press Alt + F9 to rebuild your project and it should fix the problem.
I apologize for the inconvenience caused by this issue.

Kind regards,
Filip Grujcic

Post Reply

Return to “mikroPascal PRO for ARM General”