Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
August 19, 2017, 02:04:24 02:04


Login with username, password and session length


Pages: [1]
Print
Author Topic: mbed to Keil uVision5  (Read 3097 times)
0 Members and 1 Guest are viewing this topic.
rBot
Newbie
*
Offline Offline

Posts: 15

Thank You
-Given: 11
-Receive: 1


« on: December 25, 2014, 11:05:05 23:05 »

Hi everyone,

Is there a guide of some sort that explains, in detail (as I obviously need it), how to set up set up uVision 5 to work properly with an ARM STM32F411RE (Nucleo board)?  Like others have stated, the more I read, the more confused I get.   I thought I had it figured out, but apparently not.  How do you know if you are using the right toolchian and have it installed correctly?

Thanks
Logged
Ichan
Hero Member
*****
Offline Offline

Posts: 837

Thank You
-Given: 312
-Receive: 387



WWW
« Reply #1 on: December 26, 2014, 10:32:16 22:32 »

Not in detail, install MDK5 software pack for STM32F4 and Nucleo board - some samples in there.

MDK5 Legacy Support may need to be installed too, for the sample codes.

-ichan

Logged

There is Gray, not only Black or White.
rBot
Newbie
*
Offline Offline

Posts: 15

Thank You
-Given: 11
-Receive: 1


« Reply #2 on: December 29, 2014, 04:22:06 04:22 »

Still can't seem to get uVision to work. . .

I have a STM32F411RE Nucleo board.  I can compile and run the 'Blink-LED' program just fine on mbed.  I'm using uVision 5.13.  When I export the 'Blink-LED' program and try to compile it in uVision, I get the following errors:

Build target 'mbed NUCLEO_F411RE'
compiling main.cpp...
Error: C9511E: Product definition file was not found. The following paths were searched:
 - C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap
 - C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap
 - C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap
 - C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 1 (build 106)
Tool: ArmCC [4d0efa]
linking...
.\build\Nucleo_blink_led.axf: Error: L9511E: Product definition file was not found. The following paths were searched:
 - C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap
 - C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap
 - C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap
 - C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap
.\build\Nucleo_blink_led.axf: Error: L9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 1 (build 106)
Tool: armlink [4d0efa]
Finished: 1 information, 0 warning and 2 error messages.
".\build\Nucleo_blink_led.axf" - 2 Error(s), 0 Warning(s).
Target not created.

I have the following 'packs' installed:
 ARM::CMSIS
Keil:: MDK-Middleware
Keil::STM32F4xx_DFP
Keil::STM32NUCLEO_BSP

If someone could point me in the right direction, I'd greatly appreciate it.

Thanks,
Duane
Logged
Ichan
Hero Member
*****
Offline Offline

Posts: 837

Thank You
-Given: 312
-Receive: 387



WWW
« Reply #3 on: December 29, 2014, 07:18:28 19:18 »

I just notice that the need is to porting in mbed project, never use that one.

A quick googling found this on Keil website: Porting an mbed Project to MDK-ARM, did not read it as i have no interest.

-ichan
Logged

There is Gray, not only Black or White.
CHJAY
Newbie
*
Offline Offline

Posts: 18

Thank You
-Given: 66
-Receive: 43


« Reply #4 on: January 10, 2015, 05:27:21 05:27 »

I have just checked my environment.
please try to install  package "Keil:ARMCortex-DFP".

I use uVision 5.12.0.0 and LPC1114/1115 tho.

chjay
Logged
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