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

"error C249: 'DATA': SEGMENT TOO LARGE" with W78E516B 64K ROM

The target device of my program is Winbond W78E516B with 64k Flash ROM and my program size is just 29k, I want to know why there is a error of "CLOCKCAL V1.C(1221): error C249: 'DATA': SEGMENT TOO LARGE" after compiling with Keil C.

Parents
  • One amazing thing about Zeusti's reply is that he did not ask if the OP had any XDATA (inside or outside the chip) I can just imagine the frustration of the OP debugging with the large memory model when no XDATA is present, the simulator will, of course work just fine.

    Ok, here is the rant
    Easy bug to fix.
    Senior Software Archietect

    If a senior Software Archietect consider using the small model a bug, I wonder if I am a to call myself superverysenior.

    I have no doubt that somebody can find or construe some cases where using the large model will be justified, but just picking it to "get enough space" without any considerations is barely forgivable for a junior.

    Erik

Reply
  • One amazing thing about Zeusti's reply is that he did not ask if the OP had any XDATA (inside or outside the chip) I can just imagine the frustration of the OP debugging with the large memory model when no XDATA is present, the simulator will, of course work just fine.

    Ok, here is the rant
    Easy bug to fix.
    Senior Software Archietect

    If a senior Software Archietect consider using the small model a bug, I wonder if I am a to call myself superverysenior.

    I have no doubt that somebody can find or construe some cases where using the large model will be justified, but just picking it to "get enough space" without any considerations is barely forgivable for a junior.

    Erik

Children