The Godfather talking
You may crack software. How about me?
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 08, 2016, 12:56:01 12:56


Login with username, password and session length


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

Posts: 48

Thank You
-Given: 53
-Receive: 115


« on: June 04, 2016, 07:03:11 19: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: 325

Thank You
-Given: 38
-Receive: 1633


« Reply #1 on: June 04, 2016, 08:45:05 20:45 »

Have you installed the legacy support?

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

Posts: 151

Thank You
-Given: 1126
-Receive: 29


« Reply #2 on: June 05, 2016, 09:32:44 09: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: 48

Thank You
-Given: 53
-Receive: 115


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

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

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

Posts: 175

Thank You
-Given: 71
-Receive: 38


« Reply #4 on: June 09, 2016, 03:24:56 15: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
V.I.P
Junior Member
*****
Offline Offline

Posts: 45

Thank You
-Given: 65
-Receive: 42


« Reply #5 on: June 26, 2016, 06:55:40 18: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