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

need a compiler which can support code size upto 128KB

Hello. my name is santosh. i need some help in selecting a compiler. i am developing an embedded application which is crossing 64KB code size and i am using AT89C51RE2 microcontroller which is having (will support) 128 Kbytes of on-chip ROM (code memory).
My problem is, when i am compiling the code, target is not created i.e. hex file is not generating, becoz my compiler supports maximum 64 KBytes. So, plz suggest me a right compiler which should support uoto 128 Kbytes and also tell me how i obtain from keil.

Thanks and regards,
santosh.

Parents
  • hello all. thanks for your valuable suggestions. and i am sorry, that i could not respond u all immediately b'coz i was out of town in past 3 days.
    ok, coming to subject, from your words, i understood that i have to replace existing architecture with new microcontroller which can support >64Kytes.
    but it is not possible to change hardware b'coz i am working under an organization and developing the application officially. ofcourse i will consider your suggestions and i am planning implement it for next version of our application (project).
    but for the current version, it is not possible to change hardware design, b'coz we have seperate hardware design team and it is already brought up into PCB board and some other sections of application are working on this hardware PCB.
    so, finally i feel compiler/IDE is the only tool which resolve this issue for current version of my application. so, plz if possible suggest me a good compiler which can support >64Kbytes of code.

    thanks and regards,
    santosh.

Reply
  • hello all. thanks for your valuable suggestions. and i am sorry, that i could not respond u all immediately b'coz i was out of town in past 3 days.
    ok, coming to subject, from your words, i understood that i have to replace existing architecture with new microcontroller which can support >64Kytes.
    but it is not possible to change hardware b'coz i am working under an organization and developing the application officially. ofcourse i will consider your suggestions and i am planning implement it for next version of our application (project).
    but for the current version, it is not possible to change hardware design, b'coz we have seperate hardware design team and it is already brought up into PCB board and some other sections of application are working on this hardware PCB.
    so, finally i feel compiler/IDE is the only tool which resolve this issue for current version of my application. so, plz if possible suggest me a good compiler which can support >64Kbytes of code.

    thanks and regards,
    santosh.

Children
  • No, I didn't say that!

    I said that it's something to which you should give serious consideration, but I very carefully didn't say that it was an absolute necessecity!

    "it is not possible to change hardware b'coz i am working under an organization and developing the application officially"

    The fact that it's a commercial development is not a reason not to do it!
    In fact, precisely because it's a commercial development, someone in the organisation needs to carefully consider how muach it is going to cost the organisation - in terms of development time, added complexity, etc, etc...

    "it is not possible to change hardware design, b'coz we have seperate hardware design team"

    Again, that does not follow!
    If you have a separate hardware team then, surely, it is their job to develop appropriate hardware?!

    Again, someone in the organisation needs to take an overview on this - it would be stupid to "save" (sic) one man-week of hardware time at the cost of two man-weeks of software time!!
    (those are just random example figures - I'm not saying they actually relate to this issue).

    " i feel compiler/IDE is the only tool which resolve this issue for current version"

    You may be right - but you (or someone in your organisation) really need to do a proper analysis to be sure!

    "suggest me a good compiler which can support >64Kbytes of code"

    If you ask on the Keil forum, there's obviously only going to be one answer here, isn't there?!!

    You have already been given that answer!

  • It's great if the hw team thinks they have the hardware up and running.

    But one important fact is that smaller microcontrollers have very low hardware binding - they need power and potentially an external oscillator. Then most of the rest is basically GPIO signals, or pins that may be used as UART, SPI, I2C, ...

    As long as the external signals have the same voltages, it's quite easy to keep most of the external electronics but to slap in a different processor. People don't tape their PCB anymore, so they don't need to start from scratch with the hw design. Just make sure that the dedicated pins gets correctly allocated to whatever special hardware there are on the board.

    The big issue - who did the prestudy that resulted in the selection of the current processor? Anyone did a serious attempt at guestimating memory needs? And having two teams means that the sw developer(s) can start to program long before there is hardware. That should quickly show if the software grows in a dangerous way in regards to variable or code space. The only factor that may be hard to figure out beforehand is the CPU speed needed. But the Keil simulator can help out greatly there.