embOS with M32C

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • embOS with M32C

    Hello,
    I downloaded the embOS trial for M16C80 & M32C and Renesas NC308 (V540 and HEW 4), but the startup code seems to be corrupt.
    If I step through the startup code with my E8 OnChip debugger, the device holds on the Command

    BCOPY data_NEI_top,data_NE_top,data_NE

    BCOPY .macro FROM_,TO_,SECT_
    mov.l #FROM_ ,A0
    mov.l #TO_ ,A1
    mov.w #sizeof SECT_ , R3
    smovf.b <<--- This is the command the divice holds on
    .endm

    Can anyone help me please?
  • Hello,

    Right now, we don't have an idea, why the code does not work with your Emulator.
    The startup delivered with embOS is the standard startup file which came from RENESAS.
    We made minor modifications only to export the stack addresses and stack sizes to enable embOS stack check functionality.

    The code you listed is part of the segment initialization cade and that should run as is.

    Could you try to run the code using the simulator?
    Which CPU did you select?
    Are the memory settings correct for your CPU?

    Regards,
    Armin