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


Login with username, password and session length


Pages: [1]
Print
Author Topic: ARM LPC2138 newbie  (Read 4657 times)
0 Members and 1 Guest are viewing this topic.
acinonix14
Junior Member
**
Offline Offline

Posts: 53

Thank You
-Given: 71
-Receive: 253


« on: June 04, 2016, 06:03:11 18:03 »

Hello to everyone,

After years developing in 8-bit mcu (AVR,8051, and PIC) I take a decision to counter myself with ARM controllers.

I will try with the LPC2138 with Keil uVision v5.20.

I am not familiar with the Keil IDE and I try to create a simply test LED project.

From Project menu (Project --> New uVision Project ) I create the New Project File name TestLED.uvproj file and the wizard
Asked from me to choose the software pack.
From the tree I see only the arm with the leaf ARM Cortex M0,ARM Cortex M0 plus,
ARM Cortex M3, ARM Cortex M4,ARM Cortex M7.

There is no reference for the NXP arm processors. Ok, I thought that I must install through the pack installer extra nxp libraries.
But the NXP has only LPC1100,LPC1200,LPC1300,LPC1500,LPC1700,LPC1800,LPC4000 and LPC4300 series.

There is no reference for the LPC21xx. On the other side the uVision 4 has of course different steps in the choice of arm controller LPC2138 but it has reference for this explicitly.

Any idea how to build the project with LPC2138 with uVision IDE v5?

All tutorials I found works with uVision IDE 4. No reference for the  uVision IDE v5.


Thanks,







Logged
Top
Senior Member
****
Offline Offline

Posts: 339

Thank You
-Given: 52
-Receive: 1719


« Reply #1 on: June 04, 2016, 07:45:05 19:45 »

Have you installed the legacy support?

http://www2.keil.com/mdk5/legacy/
Logged
bobcat1
Senior Member
****
Offline Offline

Posts: 304

Thank You
-Given: 4285
-Receive: 94


« Reply #2 on: June 05, 2016, 08:32:44 08:32 »

Hi
acinonix14

Finally you decide to move to 32 bit controller why to do it with an old controller who is no longer supported and best on old ARM7 core?

where you can learn the new controller best on Cortex-M far more easy to learn and to use like the STM32

All the best

Bobi
Logged
acinonix14
Junior Member
**
Offline Offline

Posts: 53

Thank You
-Given: 71
-Receive: 253


« Reply #3 on: June 06, 2016, 10:11:25 10:11 »

The MDK v5 needs the legacy support. It is OK now.

Thanks a lot,
Logged
Mega32
Active Member
***
Offline Offline

Posts: 179

Thank You
-Given: 207
-Receive: 37


« Reply #4 on: June 09, 2016, 02:24:56 14:24 »

I would also recommend a newer Cortex-M0/3/4 if starting now.

The cheap STm32F103 boards can be has for less than 3$
Ie. *bay#: 311156408508

Then get a STlinkv2 debugger (clone) , and you're ready to go around 4$.
Ie. *bay#: 381237466793

I'm not using Keil , but are quite sure that the STlinkv2 would be supported for debugging/programming

Mega32
Logged
jumulab
Junior Member
**
Offline Offline

Posts: 77

Thank You
-Given: 91
-Receive: 74


« Reply #5 on: June 26, 2016, 05:55:40 17:55 »

Hi acinonix14
If you has not decided the processor or IDE to work,  another option very recommended is the use of Atmel Cortex M3 processors.
You have the Atmel Studio( free ) from Atmel with integrated support for these family and all other from the same manufacturer.
A good start point is the use of Arduino pcb  ( Arduino DUE, in this case) , where you can get an universe of examples and finished
projects. For the debugging,   can select the Arduino IDE directly to USB port or use the  Segger J-LINK debugger tool under the Atmel Studio
and only need an adapter for the JTAG bus/control.
All these tools are very professional and good ones. Used in comercial environments to design commercial products.
Later you can switch to IAR compiler/debugger usiong always the same J-Link debug probe.
In ebay , there are a lot of pcb, support modules and gadgets.

Regards

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