Friday, November 24th 2017, 9:21pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

hornb

Beginner

Date of registration: Mar 3rd 2008

Posts: 2

1

Monday, March 3rd 2008, 12:05pm

embOS Runtime Error on using embOSview

I use embOS Version 3.08 with M32C87 Microcontroller.

I want to use embOSview application software.

I implement the interface for embOSview on COM6.
But allways if the COM port receives a character (for
example from a terminal program) the
embOS generates a runtime error 180. This is allways
happen if the OS_OnRx(Data) function is called.
I have no nested Interupts in my application.
I changed the COM port for testing to COM0, but I get the
same problem.

What reasons can generate this problem ?

SEGGER - Til

Super Moderator

Date of registration: Nov 14th 2007

Posts: 261

2

Tuesday, March 4th 2008, 9:18am

Hello hornb,

embOS generates this error if you have nested Rx interrupts.
This could be caused by one of the following cases:

a) Interrups occur to fast (baudrate too high)
b) CPU is too slow
c) Interrupt latency times of other interrupts are too high

Did you test it with the original code?
The Rtosinit.c is already prepared for COM0 and COM1.

Regards,
Til

hornb

Beginner

Date of registration: Mar 3rd 2008

Posts: 2

3

Wednesday, March 5th 2008, 10:53am

Hello Till,



I will test with the original software on COM1 or COM0.



Best regards



hornb