Events in Pi logs ?

Support for the UPS PIco HV3.0A

Events in Pi logs ?

Postby semoypi » Mon Mar 27, 2017 11:52 am

Hi,

I want to know if it is possible to ask the Pico to send events messages in logs of Pi.
For example, when the power mode change, when the battery is charged, ...

Not only when FSSD is activated.

Thanks
1x Raspi Pi 3 / PIco hv3.0A Stack with LiFePO4 Battery 4000 mAh
1x Raspi Pi 2 / HiFiBerry DAC+
semoypi
 
Posts: 13
Joined: Wed Jan 11, 2017 10:02 am
Location: France

Re: Events in Pi logs ?

Postby Pimaster » Mon Mar 27, 2017 12:54 pm

Hi,
It is not promised ;-), however we have already internal mechanism to generate an Interrupt on event as also events (up to 16) tracker, so you not need to check everything if something happens, as you will receive an interrupt and will need to check only one variable to see what has been changed from previous state.
This option will be activated in one of our future firmware, when we close everything we promised (in about 3-4 weeks).
Warmest Regards
PiM
---
Designing with Mentor Graphics PADS - www.pads.com
Please read and follow the PiForum rules
http://www.forum.pimodules.com/viewtopic.php?f=13&t=196
---
Pimaster
Site Admin
 
Posts: 1584
Joined: Fri Sep 14, 2012 7:50 am

Re: Events in Pi logs ?

Postby semoypi » Mon Mar 27, 2017 1:02 pm

Cool !!!
I'm waiting...
1x Raspi Pi 3 / PIco hv3.0A Stack with LiFePO4 Battery 4000 mAh
1x Raspi Pi 2 / HiFiBerry DAC+
semoypi
 
Posts: 13
Joined: Wed Jan 11, 2017 10:02 am
Location: France

Re: Events in Pi logs ?

Postby semoypi » Mon Jun 26, 2017 4:57 pm

Hi PiMaster,

Is the event mechanism integrated in the 0x38 version that can be downloaded right now ?

Nothing seen in the doc .....
1x Raspi Pi 3 / PIco hv3.0A Stack with LiFePO4 Battery 4000 mAh
1x Raspi Pi 2 / HiFiBerry DAC+
semoypi
 
Posts: 13
Joined: Wed Jan 11, 2017 10:02 am
Location: France

Re: Events in Pi logs ?

Postby Pimaster » Mon Jun 26, 2017 5:24 pm

It is in the 0x40, that will be release very soon, doing the final testing
Warmest Regards
PiM
---
Designing with Mentor Graphics PADS - www.pads.com
Please read and follow the PiForum rules
http://www.forum.pimodules.com/viewtopic.php?f=13&t=196
---
Pimaster
Site Admin
 
Posts: 1584
Joined: Fri Sep 14, 2012 7:50 am

Re: Events in Pi logs ?

Postby 5of9 » Fri Sep 15, 2017 2:48 pm

Will there be a voltage drop event in the 0x40, so if input voltage drops from 12,5v to 12,0v it starts the PI? Would be good for my car PI so it boots in the moment the doors get unlocked and not to late at ignition on...
5of9
 
Posts: 2
Joined: Wed Sep 13, 2017 5:37 pm

Re: Events in Pi logs ?

Postby Pimaster » Sun Sep 24, 2017 2:52 pm

semoypi wrote:Hi,

I want to know if it is possible to ask the Pico to send events messages in logs of Pi.
For example, when the power mode change, when the battery is charged, ...

Not only when FSSD is activated.

Thanks

Hi,
The following logs are implemented when RS232 is activated, coming more soon
Code: Select all
#define   _FWVERSION    0xF4
rom char *mess_tab[]={   
                        "Firmware Date:24.09.2017 Release:0xF4",
                        "Entering LPR Mode",
                        "Quiting LPR Mode due to powering conditions change",
                         "I2C set to Default Values",
                        "STA Timer hardware reset the system",
                        "Wrong data entered to the ETR SAS",
                        "ETR SAS selected is now:",             
                        "Li-Ion",                 
                        "Quiting LPR Mode due to FSSD pressed or RPi activity",
                        "RTC has been updated from/to the RPi",
                        "Battery Charger:",
                        "ON",
                        "OFF",
                        "Writting Setup to EEPROM",
                        "Factory Defaults Setting up Procedure",
                        "Erasing EEPROM",
                        "EEPROM Erased",
                        "STA Timer disabled",
                        "LiFePO4",
                        "LiPO",
                        "System Started",
                        "RTCC Reset to default values",
                        "System Battery Type:",
                        "ETR SAS activated",
                        "ETR SAS de activated",
                        "Low (2.9V) Battery (LiFePO4)-FSSD UPS PIco",
                        "Cable connections detect restarting RPI",
                        "Low (3.4V) Battery (LiPO) FSSD UPS PIco",
                        "FSSD Key Pressed",
                        "Raspberry Pi is not running",
                        "UPS PIco is battery Powered",
                        "UPS PIco is cable Powered",
                        "FAN OFF",
                        "FAN ON",
                        "FAN AUTO",                 
                        "FAN Threshold set to 35 Celsius",                 
                        "Battery Running time set to unlimited - battery level is lower than 3.5V or 2.8V",
                        "XBMC disabled",
                        "FAN Speed set to 50",
                        "Running on Battery Time set to default 60 seconds",
                        "PIco Serial Port is disabled (available) for other Raspberry Pi applications",
                        "FSSD procedure Initiated",
                        "FSSD procedure Completed",
                        "Factory Setup Requested"
                     };
Warmest Regards
PiM
---
Designing with Mentor Graphics PADS - www.pads.com
Please read and follow the PiForum rules
http://www.forum.pimodules.com/viewtopic.php?f=13&t=196
---
Pimaster
Site Admin
 
Posts: 1584
Joined: Fri Sep 14, 2012 7:50 am

Re: Events in Pi logs ?

Postby semoypi » Tue Sep 26, 2017 12:24 pm

I Pimaster,

As I do not have the rs232, I'll wait.

Thanks
1x Raspi Pi 3 / PIco hv3.0A Stack with LiFePO4 Battery 4000 mAh
1x Raspi Pi 2 / HiFiBerry DAC+
semoypi
 
Posts: 13
Joined: Wed Jan 11, 2017 10:02 am
Location: France


Return to UPS PIco HV3.0A

Who is online

Users browsing this forum: No registered users and 2 guests