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.

LPC2129 can ...help needed !!!!!

Status
Not open for further replies.

sajeev

Advanced Member level 4
Joined
Apr 29, 2005
Messages
112
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,298
Location
Kerala-India
Activity points
2,197
Hi,
I am using CAN in LPC2129.I want to declare the standard acceptance filter in memory at 0xE0038000;So how to do that?
I have done like this

unsigned int StandardFilter[2] _at_ 0xE0038000; //Declare the standard acceptance filter table


unsigned int GroupStdFilter[2] _at_ 0xE0038008;
unsigned int IndividualExtFilter[2] _at_ 0xE0038010;
unsigned int GroupExtFilter[2] _at_ 0xE0038018;

I am using keil 3RVDS.But I am getting error as

Build target 'Ulink'
compiling main.c...
compiling CAN_RX.c...
CAN_RX.c(31): error: #65: expected a ";"
CAN_RX.c(32): error: #65: expected a ";"
CAN_RX.c(33): error: #65: expected a ";"
CAN_RX.c(34): error: #65: expected a ";"
assembling Startup.s...


When I put a semicolon like this

unsigned int StandardFilter[2] ;
unsigned int GroupStdFilter[2] ;
unsigned int IndividualExtFilter[2];
unsigned int GroupExtFilter[2];

Now the error is gone but I can fix the memmory address as I desired.How to do this?

Regards
Sajeev
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top