We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all, i am developing a firmware for ARM7 controller using keil microvision,I have one look up table in my program , i need to put the look up table in particular address in the final executable image, how can i accomplish this,
Thanks And Regards, Kannan
See - you original problem description is too short. There are a lot of facts missing.
You forgot to mention that you only uses assembler.
And you still haven't mentioned why the table must be at a fixed location.
Are there other important facts that we need, to be able to help you?
By the way - creating a pointer in assembler is not harder than creating one in C. Look at the processor-specific include file. All the declarations for SFR are basically declarations of pointers to objects located at fixed addresses.
Hi per, Thanks for your earlier response,actually i dont have much information from my client,what they mentioned in the firmware design document is "put the look up table in 0xc0000060 address". hence i am unable to describe you fully.the look up table has encryption data.
Thanks Kabilan K
But one think you really need to know to do is is: are you expected to place initial (and identical) contents there when the chip is programmed, or is this table expected to contain unique information for each chip?
That affects if your download file should contain data for the area, or if it is enough that the program makes sure nothing else gets stored there.
You can define the table in separate file or a section and put that section/file in a fixed location using sctter loading file. For more description/example on scatter loading you can refer to real view linker manual.
Regards
Suvidh