Hi.
I have a problem, I want to run all my code from RAM memory. I try to do it with a scatter file. But after alot of experiments, I think it's cannot be done, because the interrupts vector has to be in the flash. And it's mean that in any interrupt I will 'go' to flash in an interrupt.
So there is another way to run all my code from the RAM? If not how the scatter file should be looked like?
Thnks.
That depends on what processor you have.
But most the ARM chips discussed on this forum has a way to remap the interrupt vectors into RAM.
Much have already been discussed about this, if you use the search function.
Many of the supported processors have Keil examples where one of the targets is running from RAM, to reduce flash wear when testing.
at91sam7x256
and I already search in the form and find nothing work. if you have link for me I will thank you.
But now when you know that you can normally remap the interrupt vectors into RAM - have you checked the datasheet for your processor?
And have you looked if any of the Keil examples has a RAM target?
Sure. And I don't find a thing if you can help me, will be thanks.
I tried for some weeks already.
Hi every one,
i am using C pro. i m new here and want to use the new technick of programing . the problem is that i wanna drive my LCD using code by C pro. here is the program but not working means not appearing the text i wanna print. Second thing is that just boxes in 1st and 3rd rows are glowing. can any body please help me to find the mistake i m doing here.
sbit LCD_RS at bit; sbit LCD_EN at bit; sbit LCD_D4 at bit; sbit LCD_D5 at bit; sbit LCD_D6 at bit; sbit LCD_D7 at bit; sbit LCD_RS_Direction at bit; sbit LCD_EN_Direction at bit; sbit LCD_D4_Direction at bit; sbit LCD_D5_Direction at bit; sbit LCD_D6_Direction at bit; sbit LCD_D7_Direction at bit; char *text; char *sak;
void main() { text = "c POR"; TD=0; Lcd_Init();
Lcd_Cmd(_LCD_CLEAR); Lcd_Cmd(_LCD_CURSOR_OFF); Lcd_out(1, 1, text); Delay_ms(4000); }
What does this have to do with the current topic of discussion; viz, "run all code [for an at91sam7x256] from RAM memory" ?!
"i am using C pro"
What is that? It's not a Keil product - is it?
See: http://www.keil.com/forum/
View all questions in Keil forum