/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Mirrored Image on LCD-Display after Debug->Run

Username:     
Password:     
             

Forum

# 1   2008-04-11 10:44:22 Mirrored Image on LCD-Display after Debug->Run

halbstein
New member
Registered: 2008-04-10
Posts: 5

Mirrored Image on LCD-Display after Debug->Run

does anyone have the same problem? and a solution?

Offline

 

# 2   2008-04-12 06:39:16 Mirrored Image on LCD-Display after Debug->Run

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Mirrored Image on LCD-Display after Debug->Run

We had this problem with the very first primers (i.e. CircleOS versions), generally at the power up. It has been fixed by inserting a loop to postpone the LCD initialization at the very beginning of the main function.
You could try to increase the duration of this loop in the CircleOS. It means that you should recompile CircleOS and copy the executbale (ELF file) in the LIB directory where is taken.
It seems that some LCD controllers have a longer reset time.

Offline

 

# 3   2008-04-14 12:05:06 Mirrored Image on LCD-Display after Debug->Run

halbstein
New member
Registered: 2008-04-10
Posts: 5

Re: Mirrored Image on LCD-Display after Debug->Run

Thank you for your reply.
very first primers.. hmm... i got them fresh from the distributer Farnell last week...
Is there any totorial how to recompile the CircleOS on the net?

Offline

 

# 4   2008-04-14 15:10:28 Mirrored Image on LCD-Display after Debug->Run

lionel
Member
From: Grenoble, France
Registered: 2007-07-24
Posts: 71
Website

Re: Mirrored Image on LCD-Display after Debug->Run

Simply download the CircleOS sources here, open the Ride7 project and select 'Project'->'Build Project', then follow the readme_sources.txt file provided with the sources.

Lionel

Offline

 

# 5   2008-04-15 07:13:13 Mirrored Image on LCD-Display after Debug->Run

halbstein
New member
Registered: 2008-04-10
Posts: 5

Re: Mirrored Image on LCD-Display after Debug->Run

thank you! i will try that

Offline

 

# 6   2008-05-06 14:50:18 Mirrored Image on LCD-Display after Debug->Run

mkirsch
New member
Registered: 2008-05-05
Posts: 1

Re: Mirrored Image on LCD-Display after Debug->Run

Hello
i also got some farnel primer devices a few days ago. they show the same problem. After starting any application with circleos everythink is mirrored.
Really strange!!

i should mention that if i make a real poweron reset everythink is fine but after a software reset and therefore also if i want to debug the problem is there again.

Last edited by mkirsch (2008-05-06 14:55:47)

Offline

 

# 7   2008-05-09 16:43:31 Mirrored Image on LCD-Display after Debug->Run

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Mirrored Image on LCD-Display after Debug->Run

Perhaps the Cirlcle.elf you are loading is an old one (see the second post above). Try with "V1.7".

Offline

 

# 8   2008-06-05 15:43:51 Mirrored Image on LCD-Display after Debug->Run

Manitux
New member
Registered: 2008-05-11
Posts: 3

Re: Mirrored Image on LCD-Display after Debug->Run

I have the same problem, but only since I switched over to "V1.7". I bought 3 of it but only one had these problems.
In "V1.15" it was normal. But I did not verify this again.
I guess that - if it is really a timing problem with the LCD - a newer release of the OS should have the modifikation implemented.

Offline

 

# 9   2008-06-05 18:57:43 Mirrored Image on LCD-Display after Debug->Run

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Mirrored Image on LCD-Display after Debug->Run

At the very beginning of the main function, there is a call to the starting_delay function.
Could you try to increase the delay value?
Thanks
Francis

Offline

 

# 10   2008-06-06 16:04:16 Mirrored Image on LCD-Display after Debug->Run

Manitux
New member
Registered: 2008-05-11
Posts: 3

Re: Mirrored Image on LCD-Display after Debug->Run

I increased the value from 0x10000 to 0x20000 but no change. Will be able to try more on Monday.

Do you have any other suggestion? What about the other users which reported prblems - did the change of the delay solve the issue?

Offline

 

# 11   2008-06-08 17:06:43 Mirrored Image on LCD-Display after Debug->Run

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Mirrored Image on LCD-Display after Debug->Run

We have encountered the same problem with the very first version of CircleOS with some Primers.
It had been fixed by adding at the very beginning of the main function (in CircleOS) the following line:
    starting_delay( 0x10000 );
Please try to increase this value, recompile CircleOS and let me know if it fixes the issue.
Thanks

Offline

 

# 12   2008-07-08 15:31:23 Mirrored Image on LCD-Display after Debug->Run

Manitux
New member
Registered: 2008-05-11
Posts: 3

Re: Mirrored Image on LCD-Display after Debug->Run

Okay. I was absent for some weeks - urgent things in a different project ;-)

But I tried again and increased the timer by <<1 (0x100000) but no change.

Any other ideas?

Manitux

Offline

 

# 13   2008-07-08 17:11:05 Mirrored Image on LCD-Display after Debug->Run

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Mirrored Image on LCD-Display after Debug->Run

At the moment I don't understand the reason why it occurs for your specific Primer.
In the function:
    static void LCD_DisplayRotate( Rotate_H12_V_Match_TypeDef H12 )
the orientation of the display is set depending on the physical orientation given by the MEMS (when you turn your Primer, it should redraw the menus in order to keep it vertical).  The LCD controller (see page 34 of http://www.stm32circle.com/projects/fil … C_v1.4.pdf ) provides all the mirroring capabilities. Therefore, a workaround should be to apply an additional mirroring when setting the MADCTR register (good name for this purpose).

Offline

 

# 14   2008-07-21 13:23:27 Mirrored Image on LCD-Display after Debug->Run

mjscottinnc
New member
Registered: 2008-07-08
Posts: 4

Re: Mirrored Image on LCD-Display after Debug->Run

Has a reason for this error been determined? I have the same problem. this is a new unit and anytime I debug the LCD mirrors. Any solutions out in the world?

Offline

 

Board footer