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! i tried buliding target in keil in assembly language and it gave a cryptic error.. can anyone help me figure out how to build target or run a assembly language written code in keil... i can well do it in C but unable to figure it out using assembly.... Thanks.
Hi Divyakumar, You appear to be using the RealView ARM tools from the assembler syntax in the snippet that you posted. __main is the entry point to the C library which needs to be called if you have C code in your project. It will eventually call main(). Your fix for this is not valid so. Check to see if you have the "Don't search Standard Libraries" option in the linker tab selected as these are present in these libraries. ro-base is the start address of the read-only section which obviously needs to be specified in some way to the linker. You are using the free downloaded version so this is being obtained from the information in the Target tab. Check that the information in this tab is correct.
hi! 'target tab' ,i think , is the one present in "option for target 'target1'" window which will come from "target1" present in "project workspace" window. if so far i am correct then the "target " tab in "option for target 'target1'" window has "read/only memory areas "on chip " and "off chip" fields and in former ROM1 , ROM2,ROM3 spaces are blank and in latter IROM1 has default 0X0 as starting and 0x2000 for size fields. please help me what should i do to over come the error which says: INVALID VALUR FOR --ro-base and if my location of "target tab" is not correct then please tell me which "targer tab" you are refering to? thankyou
Check the field R/O Base in the Options for Target->Linker Tab. This specifies the value for ro-base that is passed to the linker. This should have been automatically filled in with the information from the Options for Target->Target tab but may have been subsequently changed. If the R/O Base field is blank or contained a non-word aligned value, you will get this particular error.
resp.sir i am learning the arc coding techniques and building of target using "keil development tool." so far i an in position to write code and generate the .hex file but have no idea what are the steps taken to burn the core for the functionality.please help me and also tell me if it needs some software or hardware needed for the process.