mikroC PRO for ARM version 4.7.0 adds support for Cortex®-M7

General discussion on mikroC PRO for ARM.
Author
Message
User avatar
srdjan.misic
mikroElektronika team
Posts: 296
Joined: 11 Feb 2014 15:55

mikroC PRO for ARM version 4.7.0 adds support for Cortex®-M7

#1 Post by srdjan.misic » 24 Dec 2015 19:22

mikroC PRO for ARM version 4.7.0 adds support for Cortex®-M7

Image

Version 4.7 of mikroC for ARM was the perfect time to add
support for Cortex®-M7 - introducing our users to an entirely new
category of performance for 32-bit MCUs.

Support for a total of 99 chips has been added in this new version
of ARM compilers but the spotlight is on those from the STM32F7
series.

Take the STM32F746 on the new MCU card for EasyMx PRO as an
example. This fully ARMed and operational MCU card can deliver 1082
CoreMark/462 DMIPS at 216 MHz fCPU
, with 1 MB of Flash and 320
KB of RAM
.

Image

According to ST, it's the maximum theoretical performance of the
Cortex-M7
, which in itself is the leading M Cortex offering.

M0, M3, and M4 have not been neglected, and are included in the update
as well. All the chips have ICD support (thanks to the new mikroProg
firmware
).

New examples, library and bug fixes are a given. You can see them
listed in the what's new tab on your favorite compiler page.

Download the latest version from your compilers landing page
(mikroC, mikroBasic or mikroPascal) and hang on to your
seat to experience highest-performing MCUs yet..

Yours sincerely,
MikroElektronika

Toley
Posts: 922
Joined: 03 Sep 2008 16:17

Re: mikroC PRO for ARM version 4.7.0 adds support for Cortex

#2 Post by Toley » 24 Dec 2015 21:39

Thank you very much for this Christmas gift. I will be able to try it with my other Christmas gift a brand new STM32F7 Discovery http://www.st.com/web/en/catalog/tools/ ... scovery-pr
Serge T.
Learning is an endeless process but it must start somewhere!

saschech
Posts: 298
Joined: 04 Sep 2012 07:13
Location: Schechingen Germany

Re: mikroC PRO for ARM version 4.7.0 adds support for Cortex

#3 Post by saschech » 24 Dec 2015 22:06

Hello ME-Team

Thank you very much for this Christmas gift.
I find also a support for the new stm32Lxxx serie,
compliment!!!!!!!!

Have a happy new year
Wolfgang

rmteo
Posts: 1330
Joined: 19 Oct 2006 17:46
Location: Colorado, USA

Re: mikroC PRO for ARM version 4.7.0 adds support for Cortex

#4 Post by rmteo » 25 Dec 2015 01:23

EINDHOVEN, The Netherlands and AUSTIN, Texas, Dec. 07, 2015 (GLOBE NEWSWIRE) -- NXP Semiconductors N.V. (NASDAQ:NXPI) and Freescale Semiconductor, Ltd. (NYSE:FSL) today announced the completion of the merger pursuant to the terms of the previously announced merger agreement from March 2015. The merger has created a high performance mixed signal semiconductor industry leader, with combined revenue of over $10 billion. The merged entity will continue operations as NXP Semiconductors N.V. (NASDAQ:NXPI) and has become the market leader in automotive semiconductor solutions and in general purpose microcontroller (MCU) products.
To be truly useful, support for the largest maker of ARM MCUs is needed.
Why pay for overpriced toys when you can have
professional grade tools for FREE!!! :D :D :D

User avatar
aleksa.jovanovic
Posts: 526
Joined: 30 Jun 2015 08:48

Re: mikroC PRO for ARM version 4.7.0 adds support for Cortex

#5 Post by aleksa.jovanovic » 25 Dec 2015 15:03

I am glad you are happy :)

Best regards,
Aleksa

jimmy_sayavong
Posts: 63
Joined: 23 Jul 2008 17:44

Re: mikroC PRO for ARM version 4.7.0 adds support for Cortex

#6 Post by jimmy_sayavong » 25 Dec 2015 21:07

My FT800 libraries were missing after upgrading from ver 4.5.2 to 4.7.0 !!!
Tried to re-install back in but it refused to take it. Something really went wrong here.
How do I fix it? Please help !!

Val Gretchev
Posts: 19
Joined: 16 Apr 2012 22:01
Location: Whitby, Ontario, Canada

Re: mikroC PRO for ARM version 4.7.0 adds support for Cortex

#7 Post by Val Gretchev » 26 Dec 2015 15:46

After installing mikroC 4.7.0, UARTx_Init_Advanced(9800, etc. sets an incorrect baud rate. Have to set registers manually.

Register and bit name changes in SYSTICK -
Before, Now,
NVIC_SYSTICKRVR, STK_LOAD
NVIC_SYSTICKCVR, STK_VAL
ENABLE_SYSTICKCSR_bit, ENABLE_STK_CTRL_bit

Toley
Posts: 922
Joined: 03 Sep 2008 16:17

Re: mikroC PRO for ARM version 4.7.0 adds support for Cortex

#8 Post by Toley » 26 Dec 2015 18:00

Hi mikroe team, sorry for my ignorance but can you tell me what is exactly a CEC1302?

edit: Is it means that Microchip have now some ARM core?
Last edited by Toley on 26 Dec 2015 22:24, edited 1 time in total.
Serge T.
Learning is an endeless process but it must start somewhere!

jimmy_sayavong
Posts: 63
Joined: 23 Jul 2008 17:44

Re: mikroC PRO for ARM version 4.7.0 adds support for Cortex

#9 Post by jimmy_sayavong » 26 Dec 2015 18:16

I ended up re-installing v4.5.2 back on my computer
to get things up and running. I do NOT think the 4.70 is ready
for prime time yet !!

User avatar
aleksa.jovanovic
Posts: 526
Joined: 30 Jun 2015 08:48

Re: mikroC PRO for ARM version 4.7.0 adds support for Cortex

#10 Post by aleksa.jovanovic » 28 Dec 2015 11:32

@jimmy_sayavong :
I ended up re-installing v4.5.2 back on my computer
to get things up and running. I do NOT think the 4.70 is ready
for prime time yet !!
Could you please describe what was happening when you tried to install the FT800 library?
I have successfully installed it on the new version


@Val Gretchev :
After installing mikroC 4.7.0, UARTx_Init_Advanced(9800, etc. sets an incorrect baud rate. Have to set registers manually.

Register and bit name changes in SYSTICK -
Before, Now,
NVIC_SYSTICKRVR, STK_LOAD
NVIC_SYSTICKCVR, STK_VAL
ENABLE_SYSTICKCSR_bit, ENABLE_STK_CTRL_bit
Could you please tell me which MCU did you use?
How does the baud rate behave in the new version?
Did this work on the previous version?

Best regards,
Aleksa

jimmy_sayavong
Posts: 63
Joined: 23 Jul 2008 17:44

Re: mikroC PRO for ARM version 4.7.0 adds support for Cortex

#11 Post by jimmy_sayavong » 28 Dec 2015 19:46

It said "the libraries have already been installed".
But when l opened a project it showed NO FT800 libraries.

Toley
Posts: 922
Joined: 03 Sep 2008 16:17

Re: mikroC PRO for ARM version 4.7.0 adds support for Cortex

#12 Post by Toley » 28 Dec 2015 20:00

Hi jimmy_sayavong,

When you do a compiler update the libraries are not automaticaly installed on new version. You have to uninstall it and reinstall it with Package Manager. I know it's not very user friendly but this is how it works.
Serge T.
Learning is an endeless process but it must start somewhere!

Val Gretchev
Posts: 19
Joined: 16 Apr 2012 22:01
Location: Whitby, Ontario, Canada

Re: mikroC PRO for ARM version 4.7.0 adds support for Cortex

#13 Post by Val Gretchev » 29 Dec 2015 00:41

Sorry, I jumped to the conclusion that the baud rate register was not being set correctly. Now I see that the RE bit in USART_CR1 register is not set preventing the receive portion to function. The transmitter is working fine.

I am using a mikromedia for STM32 M4 ARM with internal 16 MHz oscillator and PLL set for 168 MHz.

/**************************************************************************************************
This function sets the baud rate. */
void UART2_SetBaud(void) {

/*
// Set registers directly (this works fine)

GPIODEN_bit = 1; // Set GPIOD clock enable bit

GPIOD_MODER |= 0x00002800; // Set port D MODER bits 5 and 6 to 10: alternate function mode
GPIOD_AFRL |= 0x07700000; // Select alternate function 0111: AF7 for bits 5 and 6

USART2EN_bit = 1; // Set USART2 clock enable bit
USART2_CR1 |= 0x0000200C; // Set UE, TE, and RE in USART2 control register 1

USART2_BRR = 0x00001117; // Set baud rate register for 9600 with 42MHz on APB1
*/
//
// Configure UART2 for 9600 baud, 8-bits, no parity, 1 stop bit on pins PD5 (TX) and PD6 (RX)
UART2_Init_Advanced(9600, _UART_8_BIT_DATA, _UART_NOPARITY, _UART_ONE_STOPBIT, &_GPIO_MODULE_USART2_PD56);
USART2_CR1 |= 0x00000004; // Had to add this with mikroC version 4.7.0
//
NVIC_IntEnable(IVT_INT_USART2); // Enable interrupt vector

GPIO_Config(&GPIOD_BASE, _GPIO_PINMASK_4, _GPIO_CFG_DIGITAL_OUTPUT); // UART-CTSn-Out
GPIO_Config(&GPIOC_BASE, _GPIO_PINMASK_2, _GPIO_CFG_DIGITAL_INPUT); // UART-RTSn-In
GPIO_Config(&GPIOA_BASE, _GPIO_PINMASK_8, _GPIO_CFG_DIGITAL_OUTPUT); // UART-CBUS3-Out
GPIO_Config(&GPIOD_BASE, _GPIO_PINMASK_8, _GPIO_CFG_DIGITAL_INPUT); // UART-CBUS4-In

}

jimmy_sayavong
Posts: 63
Joined: 23 Jul 2008 17:44

Re: mikroC PRO for ARM version 4.7.0 adds support for Cortex

#14 Post by jimmy_sayavong » 29 Dec 2015 00:45

Yep, it works now.
Like you said, I had to physically "uninstall" version 4.5.2 completely from my PC and then installed ver 4.7.0, followed by installing FT800 library. Thanks for your help.

JIMMY

hurolura
Posts: 22
Joined: 10 Sep 2014 15:25

Re: mikroC PRO for ARM version 4.7.0 adds support for Cortex

#15 Post by hurolura » 30 Dec 2015 13:08

Any library bug fix list ?

As the I2C library behavior changed in case of errors ?
Until now, if any I2C error occurs, the code just stay stucked without any recovery or error warning possibility.
No timeout is possible to get feedback about I2C communication error.

Post Reply

Return to “mikroC PRO for ARM General”