where can i find CPU special definitions?

General discussion on IDE.
Post Reply
Author
Message
Thomas.Pahl@t-online.de
Posts: 158
Joined: 24 May 2008 15:55
Location: Germany

where can i find CPU special definitions?

#1 Post by Thomas.Pahl@t-online.de » 16 Jul 2022 09:18

how / where to find the definitions that were placed in .mlk files? RAM, ROM, Vectors?

thanks

sgssn
Posts: 35
Joined: 13 Sep 2021 16:24

Re: where can i find CPU special definitions?

#2 Post by sgssn » 17 Jul 2022 08:25

Hi
on the web-page of the manufacturer you will find all uC-specific information. What CPU do you mention?

regards
Gerhard

Thomas.Pahl@t-online.de
Posts: 158
Joined: 24 May 2008 15:55
Location: Germany

Re: where can i find CPU special definitions?

#3 Post by Thomas.Pahl@t-online.de » 17 Jul 2022 12:08

Thanks for answerimg.

But...perhaps I have not expressed clearly.

The problem with the definition files is that they are sometimes not correct or not best suited.

Last time I used STM32F746. The compiler (mikrobasic pro) compiles for flash memory at 0x0800 0000 that is not the best solution. I make it short: I changed the ROM-Adress from 0x0800 0000 to 0x0020 0000 (Same ROM place but via ITCM-Interface). Now compiled programs run with three times the speed.

But to do so in Necto Studio, I need that .mlk files substitute in necto.

janni
Posts: 5373
Joined: 18 Feb 2006 13:17
Contact:

Re: where can i find CPU special definitions?

#4 Post by janni » 17 Jul 2022 16:25

Thomas.Pahl@t-online.de wrote:
17 Jul 2022 12:08
But to do so in Necto Studio, I need that .mlk files substitute in necto.
They're called *.json now and you may find them in NectoStudio directory. Search for compilers\<processor family>\mikroC\core\def.

Thomas.Pahl@t-online.de
Posts: 158
Joined: 24 May 2008 15:55
Location: Germany

Re: where can i find CPU special definitions?

#5 Post by Thomas.Pahl@t-online.de » 18 Jul 2022 07:24

Thanks janni, that was too easy. I could have found that myself :D .

The not-so-good rom adress is still there, but now i can change it.

janni
Posts: 5373
Joined: 18 Feb 2006 13:17
Contact:

Re: where can i find CPU special definitions?

#6 Post by janni » 18 Jul 2022 11:45

Thomas.Pahl@t-online.de wrote:
18 Jul 2022 07:24
The not-so-good rom adress is still there, but now i can change it.
Yeah, everything changed but the errors in libraries and definition files :( .

Thomas.Pahl@t-online.de
Posts: 158
Joined: 24 May 2008 15:55
Location: Germany

Re: where can i find CPU special definitions?

#7 Post by Thomas.Pahl@t-online.de » 18 Jul 2022 14:39

Yes, but today i have some understanding. It is a great task to create an ide for 6 µCs. That is absolut unique. And perhaps one day basic and pascal will be integrated too.
Something like that was never before. And those little issues... We should have someting to write in the forum. :D

I am shure, Necto will become a great thing.

janni
Posts: 5373
Joined: 18 Feb 2006 13:17
Contact:

Re: where can i find CPU special definitions?

#8 Post by janni » 18 Jul 2022 19:45

I admire your optimism but judging by the low activity on forums and the desperate change in Necto compilers licensing, mE lost a lot of customers by ignoring them for several years. It'll take a lot of effort to earn their trust back.

Code: Select all

 And perhaps one day basic and pascal will be integrated too.
I personally doubt that. mE lacks the resources to keep that many compilers alive, and even if they'll ever have enough and start thinking, they'll follow with Phyton which slowly replaces C.

Post Reply

Return to “IDE General”