/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Primer2 in Debug mode shutting down

Username:     
Password:     
             

Forum

# 1   2009-01-11 14:20:06 Primer2 in Debug mode shutting down

samarkh
Member
From: Gloucester UK
Registered: 2009-01-07
Posts: 84

Primer2 in Debug mode shutting down

Hi,
I bet I've missed a step somewhere, but can someone tell me how, when working my way through SMT32-CircleOS Tutorial, I can stop the Promer 2 from wanting to shut down all the time?

Yours Simon M.

Offline

 

# 2   2009-01-11 14:29:20 Primer2 in Debug mode shutting down

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

Re: Primer2 in Debug mode shutting down

This is a 'feature: when you don't launch any menu/application.... Primer2 will shut down after one minute (perhaps 2?) to save the battery. But it is not supposed to shutdown while an application is running. Let me know if it is the case.

Offline

 

# 3   2009-01-11 15:00:28 Primer2 in Debug mode shutting down

samarkh
Member
From: Gloucester UK
Registered: 2009-01-07
Posts: 84

Re: Primer2 in Debug mode shutting down

Hi Francis (Aren't you allowed any time off by the way?)
I've disconnected the battery as recommended, then pressing the orange button it turns on as expected. Then it asks for the two buttons to be pressed, followed by calibration done, press the screen message. Then promptly starts to shut down! Roughly 27secs from start to finish.
If I'm debugging it is the same.

Yours Simon M.

Offline

 

# 4   2009-01-11 15:13:34 Primer2 in Debug mode shutting down

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

Re: Primer2 in Debug mode shutting down

I send you the beta release by email too. It could help you (I don't see waht could be the cause of the shutting down).

Offline

 

# 5   2009-01-12 08:08:28 Primer2 in Debug mode shutting down

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

Re: Primer2 in Debug mode shutting down

The Primer2 automatically shuts down when the battery is very low. We do that because we must take care of always keeping a minimum of power within a Li-Ion battery.
Please try to recharge the battery, then try again. Thanks.

Offline

 

# 6   2009-01-12 10:28:11 Primer2 in Debug mode shutting down

samarkh
Member
From: Gloucester UK
Registered: 2009-01-07
Posts: 84

Re: Primer2 in Debug mode shutting down

samarkh :

I've disconnected the battery as recommended,

I did this as it in your tutorial, but as you have said, it was written for PRIMER1.

Many Thanks
Simon M

Offline

 

# 7   2009-01-12 10:42:10 Primer2 in Debug mode shutting down

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

Re: Primer2 in Debug mode shutting down

Yes... the nmanagement of the battery in Primer1 was not so good. Primer2  embeds a smart charger, and you don't need to remove the jumper. Anyway, it seems to be a bug (CircleOS should distinguish between 'no battery' and 'low battery'). We are modifying the tutorial to take into account all the 'small details' between Primer1 and Primer2.

Offline

 

# 8   2009-01-12 11:39:16 Primer2 in Debug mode shutting down

samarkh
Member
From: Gloucester UK
Registered: 2009-01-07
Posts: 84

Re: Primer2 in Debug mode shutting down

Thanks Francis

Offline

 

# 9   2009-01-22 21:26:45 Primer2 in Debug mode shutting down

sjoerd
Member
From: Stad aan het Haringvliet
Registered: 2008-09-04
Posts: 65

Re: Primer2 in Debug mode shutting down

Hmm.. seems that my battery is completly dead. When I plug in the usb, the red led lights up for about 75 seconds, then green for 1 second and then red and green at the same time. Voltage level of the battery is about 3.7v so that should be ok.

The led behaviour is the same when I remove the jumper...

Offline

 

# 10   2009-01-23 07:52:03 Primer2 in Debug mode shutting down

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

Re: Primer2 in Debug mode shutting down

'red and green' mean that the battery is not present (or dead). At the moment, we never saw any dead battery. The battery charger used to work very well.
But  3.7V means that the battery is alive...

When you plug USB, a normal beviour is:
  1. red light on (the battery recharger starts a new 'recharging process'
  2. after 1-2 mn, we have a new state: 
         a. green+red (no battery)
         b. red only (recharging is required)
         c. green only (battery was already full).

Offline

 

# 11   2009-01-23 08:59:06 Primer2 in Debug mode shutting down

sjoerd
Member
From: Stad aan het Haringvliet
Registered: 2008-09-04
Posts: 65

Re: Primer2 in Debug mode shutting down

Hmm.. i'll check with the scope what's going on.

Currently, I can only power up the Primer2 with the USB cable connected

Offline

 

Board footer