Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Porting SAM-BA applet to IAR

Status
Not open for further replies.

simonsoft

Newbie level 2
Joined
Sep 16, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
England
Activity points
1,298
I am trying build ARM applets for running on AT91SAM7X256 in the SAM-BA environment.

The supplied examples use GCC. I've created an IAR project, and added all the source files in the MAKEFILE. 'isp_startup.s' does not assemble with errors on the lines '.align 4', '.arm', '.section .text', '.global entry', '.space 4*32' and '.word 0x00'. What to I need to do to convert this to IAR compatible assembler?

I also don't know which ICF file to use to get the applet to load in SRAM, and the entry point and 'mailbox' to appear at the locations where SAM-BA expects them. The obvious one in the examples 'SRAM.ICF' generates warnings.

Can anyone advise please

Thanx

Simon
 

You have to do 1 to 1 mapping for assembly things.
I advice you to have both documents for gas and IAR assmbler open together.
--
Amr
 

Yes - OK, but what are the IAR assembler directives that are equivalent?

S
 

Consult IAR assembler guide
--
Amr
 

you heard the old addage that the road to hell is paved with good intentions? Intentions are important, but one needs to have a vision and a means of achieving that vision along with good intentions. As believers, we know we can never change of our own free will. However, we are promised an Advocate, One who will come alongside in our struggle. The Holy Spirit is the effective agent of change in my life. A life yielded to Him can produce wonders and has produced wonders in my life, but a vision is needed, intentions affirmed and a means of daily releasing the will to the transforming power of the Holy Spirit
_________________________________________________________________________________
**broken link removed** | **broken link removed**
 

Sorry, what do you mean?!!!
--
Amr
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top