Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » KEIL(ARMCC) to ECLIPSE(GNU ARM) Port (Porting LPC2468 code from Keil IDE to Eclipse IDE)
KEIL(ARMCC) to ECLIPSE(GNU ARM) Port [message #1835852] Tue, 15 December 2020 08:12 Go to next message
Utsav kumar is currently offline Utsav kumarFriend
Messages: 5
Registered: June 2020
Junior Member
Hi,

I am working on porting code from KEIL(ARMCC) to Eclipse(with GNU ARM toolchain). The controller is LPC2468(ARM7TDMI-S) with the following memory available:

FLASH (rx) : ORIGIN = 0x00, LENGTH = 0x80000
RAM (rwx) : ORIGIN = 0x40000000, LENGTH = 0x10000
ERAM (rwx) : ORIGIN = 0xA0000000, LENGTH = 0x200000

They are multiple memory mappings along with RAM/ROM distributed into different sections in the Keil's scatter file (Refer attachment Keil_scatter).

I am able to do whole memory mapping with undistributed RAM and ROM memory regions (Refer LPC2468_ls.ld and LPC2468_startup.S)

My requirement is to do memory mapping the same as done in Keil , but I am facing challenges like how to do ROM to RAM copy for different memory sections, how to map individual files CODE, RW, RO and BSS data to distributed memory regions.

Request you to please provide your suggestions.

Thank you.
Re: KEIL(ARMCC) to ECLIPSE(GNU ARM) Port [message #1835887 is a reply to message #1835852] Tue, 15 December 2020 19:33 Go to previous message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
Have a look at the attached file. It is a zipped Eclipse project of a LPC2468 program which should start up the hardware and do nothing.

Warning: I did not have the hardware to test run it, all bugs are guaranteed.

There is rudimentary documentation which can be created by running Doxygen at the main directory.
  • Attachment: lpc2468.zip
    (Size: 54.06KB, Downloaded 81 times)


--

Tauno Voipio
Previous Topic:Unable to find installed libraries in CDT
Next Topic:Advice on debugging C++ on Linux
Goto Forum:
  


Current Time: Wed Oct 09 16:29:33 GMT 2024

Powered by FUDForum. Page generated in 0.23804 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top