Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 28, 2024, 10:47:35 10:47


Login with username, password and session length


Pages: [1]
Print
Author Topic: ARM rvds toolchain eclipse plugin  (Read 6985 times)
0 Members and 1 Guest are viewing this topic.
dotm
Active Member
***
Offline Offline

Posts: 180

Thank You
-Given: 81
-Receive: 75


$$$


« on: January 06, 2016, 12:22:31 00:22 »

What happened?
I decided to upgrade to eclipse mars and wanted to install the rvds toolchain plugin
(as described here: http://infocenter.arm.com/help/topic/com.arm.doc.dui0330a/CACIFEDD.html)
But http://www.arm.com/eclipse leads to a site stating rvds is legacy and I should upgrade to ds-5 (but amclang does not even support all the cortex devices yet).
Now I'm pissed. Have I missed just the oportunity to get that working without major errorparser hacking in f**ing regex?
Are they crazy? Why is this not available AT ALL anymore?
I'm so close to change over to gcc, since the keil editor kills me.
Does anyone has the plugin downloaded?
Should I change over to GCC? Does this mean I have to use OpenOCD and if, is trace supported? Will i be able to monitor my rtos tasks as I'm used to?
Secondly, the ***ing pack installer from keil breaks the uvision plugin:
http://www.keil.com/forum/58500/#msg190412
Be aware upgrading to uv5. The pack installer sucks hard, example:
  • device is stm32f203
  • pack manager says dfp is up to date
  • I add startup file
  • compilation errors with newest stdlib from st (adc and spi libs)
  • found out symbols are not defined (common symbols like ADC1 !!!)
  • seems like keil pack manager included system_stm32f30x.c
      * @author  MCD Application Team
      * @version V1.0.0
      * @date    04-September-2012
  • not up to date at all! newest version is:
      * @author  MCD Application Team
      * @version V1.2.2
      * @date    14-August-2015
  • any attempt to remove the severely outdated system_stm32f30x.c from keil will remove the startup file as well.
  • had to manually add startup file
Thank you for 2 hours and 15 cigarettes keil.  Angry
« Last Edit: January 06, 2016, 12:25:07 00:25 by dotm » Logged
electrojit
Active Member
***
Offline Offline

Posts: 178

Thank You
-Given: 233
-Receive: 285


« Reply #1 on: January 08, 2016, 03:17:54 15:17 »

Yes its pathetic... I am also searching for the whole RVDS 3.1 compiler and eclipse plugin...
Can you share the compiler RVCT 3.1 if you have it?

Regards,
electrojit
Logged
dotm
Active Member
***
Offline Offline

Posts: 180

Thank You
-Given: 81
-Receive: 75


$$$


« Reply #2 on: January 25, 2016, 06:25:53 18:25 »

Yes its pathetic... I am also searching for the whole RVDS 3.1 compiler and eclipse plugin...
Can you share the compiler RVCT 3.1 if you have it?

Regards,
electrojit

I actually abandonned uvision for good. I'm now working on ARM GCC and eclipse and guess what, its nice and smooth. Has its own packs manager, a nice debugger and all the eclipse features are now indispenseable.
I'd say forget about Keil, never again.
Logged
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2420

Thank You
-Given: 862
-Receive: 678


Top Topic Starter


« Reply #3 on: January 25, 2016, 07:41:49 19:41 »

how do you create linker scripts and are startup files available? Are you using coocox? can you give more info about your chain and how to duplicate it? Are you using HAL or just stdperiph?
Logged
DarthPic
V.I.P
Junior Member
*****
Offline Offline

Posts: 70

Thank You
-Given: 715
-Receive: 67



« Reply #4 on: January 26, 2016, 06:14:55 18:14 »

I use system workbench for STM32 that is 100% compatible with stm32f4 and stm32f7.
It's eclipse based and everything work very fine  Grin
You can get info here : http://www.openstm32.org/System+Workbench+for+STM32
It's free and like dotm i no more use Keil MDK  Cheesy

Cheers.
Logged

Theory is when we know everything but nothing work ...
Practice is when everything work but no one know why Wink ...
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2420

Thank You
-Given: 862
-Receive: 678


Top Topic Starter


« Reply #5 on: January 26, 2016, 10:33:18 22:33 »

Actually, I followed this book on how to setup arm gcc environment. I also used his python script to import CubeMX project to eclipse. It compiles OK, but apparently there is sth wrong in his work. Once I start debugging, I can see that trace_printf has issues like the inability to resolve type "va_list", also the debugger runs without stopping, if I stop it, it lands on trace_printf, I read somewhere that this function needs to be manually implemented.

Any body knows what's going on?
Logged
dotm
Active Member
***
Offline Offline

Posts: 180

Thank You
-Given: 81
-Receive: 75


$$$


« Reply #6 on: January 31, 2016, 03:53:43 15:53 »

hey metal.
.) can you provide information about your debugger interface?
.) have you done everything to enable semihosting? (probably this is the problem)
Logged
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2420

Thank You
-Given: 862
-Receive: 678


Top Topic Starter


« Reply #7 on: January 31, 2016, 07:07:56 19:07 »

I should consider only SRAM1 and SRAM2 on STM32F407VGT6. When I first opened the datasheets, I found a table that shows 192KB for this MCU. When I defined the correct RAM size, all went smoothly.
Logged
Buddy
Junior Member
**
 Warned
Offline Offline

Posts: 48

Thank You
-Given: 7
-Receive: 19


« Reply #8 on: February 01, 2016, 05:23:07 05:23 »

What's wrong with Keil IDE?
Any function you need to use but cannot find?
Logged
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2420

Thank You
-Given: 862
-Receive: 678


Top Topic Starter


« Reply #9 on: February 01, 2016, 08:57:01 08:57 »

It's a personal preference, nothing wrong with learning how to use GCC and eclipse. I know how to use keil and debug with it, but I just don't like it.

I used WinAVR since 2008, and then it became AVR-GCC. I know how to handle this environment for AVR. ARM is different and needs a bit more work to get started, after all it is a hobby, I am not interested in arguing which is better and why, so your question is answered no need to argue about this matter here.
« Last Edit: February 01, 2016, 08:05:43 20:05 by metal » Logged
dotm
Active Member
***
Offline Offline

Posts: 180

Thank You
-Given: 81
-Receive: 75


$$$


« Reply #10 on: February 02, 2016, 08:34:29 20:34 »

What's wrong with Keil IDE?
Any function you need to use but cannot find?

  • first of all, the code editor is horrible. or at least compared to eclipse. no code hovers, bad syntax coloring, no code overview..
    think about how easy it is in eclipse to add a doxygen comment block. and how to rearrange function placings inside the code. just drag and drop the fuction in the box to the right.
    there are so many useful plugins (jindent, platuml...)
  • then the new pack manager seems somewhat broken. at least if something goes wrong (i.e. an outdated pack) you have to implement everything manually. (see my post above)
  • no git integration, no doxygen integration..

some positive things:
  • the compiler is great. it has a lot of useful intrinsics and produces very fast code.
  • the linker is good. if you really have to squeeze the last byte out of your controller the callstack analysis and the __forceinline intrinsic are a great help
  • the configuration wizard is an unique and smart feature that you can use to create your own menu-like configurations for your project
  • the debugger works somewhat better at least when using ulink. i've been using eclipse with jlink and its slower and you have to take care to stop the jlink server after every debug session. also there is no real option to program the mcu only, keil has a nice download to flash button.

EDIT: I added a picture for you to see a little bit of the editor greatness of eclipse.
1) a macro expansion or a peek inside a function or the variable declaration automatically shows when clicking on anything.
2) if you mark something, its occurence is marked, very useful
3) the code outline. you can basically drag and drop complete functions here to sort your code.
« Last Edit: February 02, 2016, 08:58:57 20:58 by dotm » Logged
Buddy
Junior Member
**
 Warned
Offline Offline

Posts: 48

Thank You
-Given: 7
-Receive: 19


« Reply #11 on: February 11, 2016, 02:52:46 02:52 »

Hi Dotm, have you used Microsoft Visual Studio + Visual Assist X?
Is it better than Eclipse (I haven't used Eclipse though as I thought it loads slow and sluggish)
Thanks.
Logged
dotm
Active Member
***
Offline Offline

Posts: 180

Thank You
-Given: 81
-Receive: 75


$$$


« Reply #12 on: February 19, 2016, 07:09:29 19:09 »

@buddy:
I see. This seems to be very advanced indeed. But I would have to manually integrate the compiler and the debugger or not?
Logged
Beltza
Junior Member
**
Offline Offline

Posts: 82

Thank You
-Given: 228
-Receive: 42


« Reply #13 on: February 20, 2016, 06:44:09 06:44 »

Try Visual Studio with VisualGDB. It integrates all the necessary stuff.
Logged
Buddy
Junior Member
**
 Warned
Offline Offline

Posts: 48

Thank You
-Given: 7
-Receive: 19


« Reply #14 on: February 20, 2016, 07:43:59 07:43 »

With all the setup in VisualGDB for Keil and it costs money, I don't think it is good for long term.
Dotm, the Visual Studio does not integrate with Keil. So you need to switch screens when programmings.
Logged
dotm
Active Member
***
Offline Offline

Posts: 180

Thank You
-Given: 81
-Receive: 75


$$$


« Reply #15 on: February 22, 2016, 04:46:27 16:46 »

Dotm, the Visual Studio does not integrate with Keil. So you need to switch screens when programmings.
I'm done with Keil anyway. I dont know, may I should give it a try? Will it work with doxygen and git?
Its at least 499 + 99 + 89 Dollars for Visualstudio/Visualassist/VisualGDB.
Could be that its really good then I get hooked and spend money (a lot compared to eclipse which is free).
Logged
Beltza
Junior Member
**
Offline Offline

Posts: 82

Thank You
-Given: 228
-Receive: 42


« Reply #16 on: February 23, 2016, 06:05:38 06:05 »

Use the free edition of Visual Studio.
Logged
Git
V.I.P
Junior Member
*****
Offline Offline

Posts: 65

Thank You
-Given: 94
-Receive: 19



« Reply #17 on: April 08, 2016, 04:49:29 16:49 »

Can anybody, please, give me or point me to clear step by step instructions for setting up GCC for ARM (eabi, whatever) and Eclipse so I can compile and link from inside Eclipse (ie, need an IDE) on Windows 7. I don't have specific interest in the STM, mainly LPC and ATSAM. I cannot find clear info on this anywhere. Any article I find on GCC or Eclipse seems to assume you have a brain 40 years younger than mine and total recall. Would be most grateful, thanks.
Logged
sam_des
Senior Member
****
Offline Offline

Posts: 256

Thank You
-Given: 128
-Receive: 151


« Reply #18 on: April 09, 2016, 06:28:46 06:28 »

@Git

This might help...Although focused on STM32...nevertheless goes step by step from compiler/Eclipse download to setting up OpenOCD..

Quote

BTW, anyone have any opinions about Imagecraft Cortex compiler? Seems pretty cheap & support is awesome. In my experiments with demo, generates somewhat inferior code. Also Code::Blocks is is much faster and less resource hungry compared to Eclipse..

_sam_des
Logged

Never be afraid to do something new. Remember Amateurs built the Ark, Professionals built the Titanic !
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC