FrSky Alarms no longer working in newer versions
-
- Posts: 46
- Joined: Mon Jan 09, 2012 9:54 am
- Country: -
FrSky Alarms no longer working in newer versions
Hi there, i have a problem that the Voltage Alarms in the FrSky module are no longer set correctly in the latest versions of the er9x-frsky.
After some research i found out that whatever i set in the alarm settings, the "Alarm Level" bit in the Frame that is sent to the frsky module is never set.
for example this frame is sent if i try to set the alarm level for Analog 1 Alarm 1
7e fc 61 01 00 00 00 00 00 00 7e
the 5th bit of the frame is zero even if i choose alarm level orange, yellow or red, that is why i do not get any acoustic notifications any more....
Is this a bug in the firmware or a setting that i did wrong?
Thanks for your help
Johannes
After some research i found out that whatever i set in the alarm settings, the "Alarm Level" bit in the Frame that is sent to the frsky module is never set.
for example this frame is sent if i try to set the alarm level for Analog 1 Alarm 1
7e fc 61 01 00 00 00 00 00 00 7e
the 5th bit of the frame is zero even if i choose alarm level orange, yellow or red, that is why i do not get any acoustic notifications any more....
Is this a bug in the firmware or a setting that i did wrong?
Thanks for your help
Johannes
- cre8tiveleo
- Posts: 1434
- Joined: Tue Dec 27, 2011 6:13 pm
- Country: -
- Location: Ontario,(GTA North)
- Contact:
FrSky Alarms no longer working in newer versions
What version? There is a warning from Mike that 701 is broken.
---
I am here: http://maps.google.com/maps?ll=44.003067,-79.457256
---
I am here: http://maps.google.com/maps?ll=44.003067,-79.457256
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: FrSky Alarms no longer working in newer versions
Erazz has done a quick build of the fix, r703 should sort the problem.
Mike.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
-
- Posts: 46
- Joined: Mon Jan 09, 2012 9:54 am
- Country: -
Re: FrSky Alarms no longer working in newer versions
thanks for the fast response, unfortunately it is still not working in the r703 from here:
http://code.google.com/p/er9x/source/br ... -frsky.hex
still get only zeros at the 5th byte.
7e fc 55 00 00 00 00 00 00 00 7e
Just checked, with the r656 it works fine.
7e fc 55 00 02 00 00 00 00 00 7e
http://code.google.com/p/er9x/source/br ... -frsky.hex
still get only zeros at the 5th byte.
7e fc 55 00 00 00 00 00 00 00 7e
Just checked, with the r656 it works fine.
7e fc 55 00 02 00 00 00 00 00 7e
-
- Posts: 46
- Joined: Mon Jan 09, 2012 9:54 am
- Country: -
Re: FrSky Alarms no longer working in newer versions
it seems that this is due to the frskyinternalalarm setting, if it is false, a zero for no alarm is transmitted to the frsky module.
menus.cpp: g_eeGeneral.frskyinternalalarm = onoffMenuItem( b, y, PSTR("Int. Frsky alarm"), sub==subN, event ) ;
But where do i set this setting?
menus.cpp: g_eeGeneral.frskyinternalalarm = onoffMenuItem( b, y, PSTR("Int. Frsky alarm"), sub==subN, event ) ;
But where do i set this setting?
- Rob Thomson
- Site Admin
- Posts: 4543
- Joined: Tue Dec 27, 2011 11:34 am
- Country: United Kingdom
- Location: Albury, Guildford
- Contact:
Re: FrSky Alarms no longer working in newer versions
On the main system menu.. you should be able to set the sound to alert mappings?
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
-
- Posts: 46
- Joined: Mon Jan 09, 2012 9:54 am
- Country: -
Re: FrSky Alarms no longer working in newer versions
can't find it...is this only in the speaker version?
- Rob Thomson
- Site Admin
- Posts: 4543
- Joined: Tue Dec 27, 2011 11:34 am
- Country: United Kingdom
- Location: Albury, Guildford
- Contact:
Re: FrSky Alarms no longer working in newer versions
Yes. You need the speaker mod for it to work..
However.. if the speaker mod is not on.. it should still use the regular on module sound?
Rob
However.. if the speaker mod is not on.. it should still use the regular on module sound?
Rob
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
-
- Posts: 46
- Joined: Mon Jan 09, 2012 9:54 am
- Country: -
Re: FrSky Alarms no longer working in newer versions
i think this is the problem, if speaker mode is disabled i am not able to enable the frsky alarm and the default seems to be that it is disabled instead of enabled....
YES, if i switch to speaker mode i can disable the internal alarm which enables the module internal alarm, back to beeper mode the alarm in the frsky module is working again.
So i think internal alarm should be disabled by default if beeper-mode is selected.
uint8_t frskyinternalalarm:1; should be changed to 0 in myeeprom.h: typedef struct t_EEGeneral
YES, if i switch to speaker mode i can disable the internal alarm which enables the module internal alarm, back to beeper mode the alarm in the frsky module is working again.
So i think internal alarm should be disabled by default if beeper-mode is selected.
uint8_t frskyinternalalarm:1; should be changed to 0 in myeeprom.h: typedef struct t_EEGeneral
- Rob Thomson
- Site Admin
- Posts: 4543
- Joined: Tue Dec 27, 2011 11:34 am
- Country: United Kingdom
- Location: Albury, Guildford
- Contact:
Re: FrSky Alarms no longer working in newer versions
Strange..
Can you try enable it...
turn radio off and on...
then
disable it...
turn radio off and on..
Sounds like it has somehow gotten into the wrong mode!
I saw this happen once on my tx when we where developing the sound mod.. but thought the issue had been resolved. At the time Mike added some code to resolve this.
investigation needed
Can you try enable it...
turn radio off and on...
then
disable it...
turn radio off and on..
Sounds like it has somehow gotten into the wrong mode!
I saw this happen once on my tx when we where developing the sound mod.. but thought the issue had been resolved. At the time Mike added some code to resolve this.
investigation needed
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
-
- Posts: 46
- Joined: Mon Jan 09, 2012 9:54 am
- Country: -
Re: FrSky Alarms no longer working in newer versions
Unfortunately i will not have time to check this this week, going for skiing tomorrow morning.
But a said before, the default value of frskyinternalalarm is 1, meaning the FrSky Module Alarm is disabled by default.
The default mode of the er9x sound-system is beeper, which requires the FrSky Module to do the alarm by itself.
This does not fit together well, one option would be to set the default value of frskyinternalalarm to 0 to enable the module alarm or even to enable the module-alarm whenever beeper-mode is selected in the er9x.
Thanks a lot for your help and this great firmware!
Johannes
But a said before, the default value of frskyinternalalarm is 1, meaning the FrSky Module Alarm is disabled by default.
The default mode of the er9x sound-system is beeper, which requires the FrSky Module to do the alarm by itself.
This does not fit together well, one option would be to set the default value of frskyinternalalarm to 0 to enable the module alarm or even to enable the module-alarm whenever beeper-mode is selected in the er9x.
Thanks a lot for your help and this great firmware!
Johannes