This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

target memory regards

Hello sir,

I am using 89c55 controller . my code size is 20222 bytes . so while build time it shows error regarding size .

What will be the solution .

regards
raj

Parents
  • Hello sir ,

    Manufacture of Controller ATMEL .
    Controller name AT89C55

    My Plan is to put Pgrogram in extra IC (EPROM) that I am interfacing with AT89c55 .The EPROM has the capacity of 40KB

    So I need to compile the code more than 20 KB in Keil

    Is there any options given in keil if we use the code size is more than the target memory .( here target memory 20 KB)
    If it required what is the option ?

    raj....

Reply
  • Hello sir ,

    Manufacture of Controller ATMEL .
    Controller name AT89C55

    My Plan is to put Pgrogram in extra IC (EPROM) that I am interfacing with AT89c55 .The EPROM has the capacity of 40KB

    So I need to compile the code more than 20 KB in Keil

    Is there any options given in keil if we use the code size is more than the target memory .( here target memory 20 KB)
    If it required what is the option ?

    raj....

Children
  • "Controller name AT89C55"

    Where are the suffix characters; ie, the stuff at the end of the part number?

    It is important that you understand and pay attention to such details!

    "The EPROM has the capacity of 40KB"

    Are you sure??
    That's a very odd size for an EPROM!!

    "Is there any options given in keil if we use the code size is more than the target memory"

    But you don't want to build it for more than the amount of target memory, do you?

    You have increased the target's memory by adding the EPROM - so you just need to build for that size of memory, don't you?!

    "here target memory 20 KB"

    No, it's not!
    You said you've just added a 40K (sic?) EPROM - so the available memory in the target must be at least 40K - mustn't it?!

    You specify the target's memory size in the uVision Project Target options:
    http://www.keil.com/support/man/docs/uv4/uv4_dg_target51.htm

    Or you can set the corresponding Linker options "manually" - see the Linker Documentation