Friday, April 20th 2018, 3:14am UTC+2

You are not logged in.

  • Login
  • Register

coco

Unregistered

1

Monday, January 7th 2008, 5:54pm

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?

Date of registration: Dec 20th 2007

Posts: 26

2

Wednesday, January 9th 2008, 1:36pm

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

Similar threads