er9x V2 = mbtx

er9x is the best known firmware. It has a superb range of features and is well supported by the community. Well worth trying out.
User avatar
MikeB
9x Developer
Posts: 16635
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x V2 = mbtx

Post by MikeB » Wed Nov 15, 2017 10:44 pm

Interesting, I can reproduce that sound on my M64 system. The sound is clearly related to the haptic output (I don't have a haptic fitted to my radios) as I changed from HAPTIC3 to HAPTIC2 and the number of "blips" reduced.
Odd that it doesn't happen every time.
Are you certain someting is on the beeper signal (seen with a oscilloscope for example)?

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!


kmargos
Posts: 81
Joined: Mon Jun 05, 2017 7:54 pm
Country: -

Re: er9x V2 = mbtx

Post by kmargos » Thu Nov 16, 2017 3:09 am

I will try to measure in oscilloscope tomorrow. I'm sure it comes in the buzzer line, I remove the beeper wire and it does not happen anymore.

My other TX, which has the W020, uses the piezoelectric in series and controlled by a bc547, also the same occurs. But as it is connected to the BC547, it is possible to hear the noise in the piezoelectric.

See my other video with TX with W020.W020 Piezo noise



Marco.

kmargos
Posts: 81
Joined: Mon Jun 05, 2017 7:54 pm
Country: -

Re: er9x V2 = mbtx

Post by kmargos » Thu Nov 16, 2017 12:40 pm

Hi Mike,

Oscilloscope video Noise in Oscilloscope


Image:
Attachments
noise.gif

kmargos
Posts: 81
Joined: Mon Jun 05, 2017 7:54 pm
Country: -

Re: er9x V2 = mbtx

Post by kmargos » Thu Nov 16, 2017 1:06 pm

DC analysis. haptic 3 (Beeper=NORM)
Attachments
20171116_110345.gif

kmargos
Posts: 81
Joined: Mon Jun 05, 2017 7:54 pm
Country: -

Re: er9x V2 = mbtx

Post by kmargos » Fri Nov 17, 2017 2:25 pm

Mike, in the future is it possible to configure PC0 (PB3), PC4 (PB4), PG5 (PB5) and PB7 (PB7) as extra switches on / off?

Marco.


User avatar
MikeB
9x Developer
Posts: 16635
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x V2 = mbtx

Post by MikeB » Fri Nov 17, 2017 3:59 pm

I think I can see what might be causing the problem.
I'll do a change to the source code and test it, but it may have to wait until tomorrow.

PB7, PC0, PC4 and PG5 are all available as switch sources, Are you asking for more switches as in "PB3" and "PB4" push buttons?

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

kmargos
Posts: 81
Joined: Mon Jun 05, 2017 7:54 pm
Country: -

Re: er9x V2 = mbtx

Post by kmargos » Fri Nov 17, 2017 8:22 pm

MikeB wrote:
Fri Nov 17, 2017 3:59 pm
Are you asking for more switches as in "PB3" and "PB4" push buttons?
Mike.
Yes!! more Switches. :D

User avatar
MikeB
9x Developer
Posts: 16635
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x V2 = mbtx

Post by MikeB » Sat Nov 18, 2017 4:48 pm

I think I have fixed the beeper sounding when haptic is running problem, I've just posted a mbtx3.zip on the first post with the fix in.
Adding some more switches as PB3 and PB4 is not a quick job, and, because of the extra code needed, I don't think it should be added to a M64 board.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

kmargos
Posts: 81
Joined: Mon Jun 05, 2017 7:54 pm
Country: -

Re: er9x V2 = mbtx

Post by kmargos » Sat Nov 18, 2017 10:30 pm

mbtx3 no more noise !!

Thanks Mike !!!

Marco.

kmargos
Posts: 81
Joined: Mon Jun 05, 2017 7:54 pm
Country: -

Re: er9x V2 = mbtx

Post by kmargos » Mon Nov 20, 2017 7:08 pm

Hi Mike ,


Is it later possible to compile a version for the M64?

Marco.

User avatar
MikeB
9x Developer
Posts: 16635
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x V2 = mbtx

Post by MikeB » Mon Nov 20, 2017 9:46 pm

The files mbtx-frsky.hex and mbtx-frsky-sv.hex (serial voice) in the zip file are for the M64.
Do you need a version that is without the frsky (telemetry) mod?

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

kmargos
Posts: 81
Joined: Mon Jun 05, 2017 7:54 pm
Country: -

Re: er9x V2 = mbtx

Post by kmargos » Mon Nov 20, 2017 10:59 pm

MikeB wrote:
Mon Nov 20, 2017 9:46 pm
Do you need a version that is without the frsky (telemetry) mod?

Mike.
Yes. My friend uses TX without mod. He wants only the serial voice module.

Marco

User avatar
MikeB
9x Developer
Posts: 16635
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x V2 = mbtx

Post by MikeB » Tue Nov 21, 2017 9:38 am

I'll try to build such a version of "V2", it may take a bit of time.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

kmargos
Posts: 81
Joined: Mon Jun 05, 2017 7:54 pm
Country: -

Re: er9x V2 = mbtx

Post by kmargos » Tue Nov 21, 2017 10:34 pm

MikeB wrote:
Tue Nov 21, 2017 9:38 am
I'll try to build such a version of "V2", it may take a bit of time.

Mike.
Ok, take your time.

tks!!!

Marco.

kmargos
Posts: 81
Joined: Mon Jun 05, 2017 7:54 pm
Country: -

Re: er9x V2 = mbtx

Post by kmargos » Wed Nov 22, 2017 3:46 pm

Hi Mike,

I opted to make the mod AIL an THR (FRSKY).

in M64 frsky-sv, I am giving the message "BAD EEPROM", I can not configure trim, pb1 and pb2 by hardware mode (V1 and V2).

User avatar
MikeB
9x Developer
Posts: 16635
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x V2 = mbtx

Post by MikeB » Wed Nov 22, 2017 10:05 pm

The first time your run er9x after flashing between V1 and V2 the EEPROM will show as bad.
If the EEPROM shows as bad every time you flash the firmware, check the fuse settings "Preserve EEPROM".

The M64 does not have enough flash to include all those hardware settings. You have to read the EEPROM into eepe (or eepeV2), make the settings there, then write the EEPROM back.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

kmargos
Posts: 81
Joined: Mon Jun 05, 2017 7:54 pm
Country: -

Re: er9x V2 = mbtx

Post by kmargos » Thu Nov 23, 2017 12:54 am

Hi Mike ,
For M64, Frsky SV.
Bad EEPROM occurs after recording the EEPROM by program V2. Identical to the problem I mentioned earlier.
So I can not configure it.

User avatar
MikeB
9x Developer
Posts: 16635
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x V2 = mbtx

Post by MikeB » Thu Nov 23, 2017 11:42 am

This worked OK for me. My M64 radio doesn't have serial voice, it is on parallel, I just flashed it with mbtx-frsky.hex, let it create the EEPROM, then I could read it OK with eepev2, modify it and write it back.

Make sure you go into settings on eepev2 and change the processor type to M64 in TWO places.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
MikeB
9x Developer
Posts: 16635
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x V2 = mbtx

Post by MikeB » Fri Nov 24, 2017 9:51 am

If you are still having a problem, use the option in eepeV2 to read the EEPROM to a file, then zip the file up and post it for me to look at.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

kmargos
Posts: 81
Joined: Mon Jun 05, 2017 7:54 pm
Country: -

Re: er9x V2 = mbtx

Post by kmargos » Fri Nov 24, 2017 11:31 pm

It was a TX from a friend, I had to give it back. I did not have time to test.


Tks !!

Marco.

kmargos
Posts: 81
Joined: Mon Jun 05, 2017 7:54 pm
Country: -

Re: er9x V2 = mbtx

Post by kmargos » Tue Apr 10, 2018 9:46 pm

Hi Mike,

My friend has a transmitter with atmega64, I installed the serial megasound. I can not get into Hardware to configure PB1 (ext1) and PB2 (ext2).
For both MBTX and R821. The trim (TH) in the Megasound board don't work to.

OBS.continues to appear the "BAD EEPROM" for MBTX.

Tks

Marco.

User avatar
MikeB
9x Developer
Posts: 16635
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x V2 = mbtx

Post by MikeB » Tue Apr 10, 2018 10:14 pm

Is the FrSky mod also done on this radio?
I'll try to post some updates tomorrow, I'll run some tests on them first.
When using the M64, you can only set hardware options from eepeV2, there just isn't enough flash to include it on the radio.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

kmargos
Posts: 81
Joined: Mon Jun 05, 2017 7:54 pm
Country: -

Re: er9x V2 = mbtx

Post by kmargos » Tue Apr 10, 2018 10:47 pm

MikeB wrote:
Tue Apr 10, 2018 10:14 pm
Is the FrSky mod also done on this radio?
I'll try to post some updates tomorrow, I'll run some tests on them first.
When using the M64, you can only set hardware options from eepeV2, there just isn't enough flash to include it on the radio.

Mike
I went back to the previous version "EEPEV1" and now PB1 (EXT1) and PB2 (EXT2) working. It should be some bug in version 2.
I have not yet made the modification to the FRSKY (keys) ... I just installed the serial audio.

Will you have the bug fix "minutes and minute"?

Tks!!

Marco.

User avatar
MikeB
9x Developer
Posts: 16635
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x V2 = mbtx

Post by MikeB » Wed Apr 11, 2018 2:56 pm

I've posted an updated mbtx (er9xV2).
I tested this on a M64 with frsky mod (telemetrez) and a parallel megasound board.
Using the included eepeV2 I was able to read and write the EEPROM, and change the setting of PB1.
It does include the minutes/minute voice fix for 1 minute remaining.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

kmargos
Posts: 81
Joined: Mon Jun 05, 2017 7:54 pm
Country: -

Re: er9x V2 = mbtx

Post by kmargos » Thu Apr 12, 2018 1:52 am

MikeB wrote:
Wed Apr 11, 2018 2:56 pm
I've posted an updated mbtx (er9xV2).
I tested this on a M64 with frsky mod (telemetrez) and a parallel megasound board.
Using the included eepeV2 I was able to read and write the EEPROM, and change the setting of PB1.
It does include the minutes/minute voice fix for 1 minute remaining.

Mike
Eepev2 continues with the error "bad eeprom" :( i used mbtx-frsky-sv.hex
i use M64 Fr sky mod (djt serial) and a serial megasound

tks,

Marco

kmargos
Posts: 81
Joined: Mon Jun 05, 2017 7:54 pm
Country: -

Re: er9x V2 = mbtx

Post by kmargos » Thu Apr 12, 2018 2:12 am

See this print...data for EEPEV2 is 2017, november.

Marco.
Attachments
versao.jpg

User avatar
MikeB
9x Developer
Posts: 16635
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x V2 = mbtx

Post by MikeB » Thu Apr 12, 2018 9:49 am

That is the version of eepeV2 I was using.
I have just built a new test version and posted on the first post.
Please try reading the EEPROM from your radio with this one. If you still get a "Bad EEPROM Error", try using the "Burn" menu option "Read EEPROM memory to File", then post the resulting .hex file for me to look at.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

kmargos
Posts: 81
Joined: Mon Jun 05, 2017 7:54 pm
Country: -

Re: er9x V2 = mbtx

Post by kmargos » Thu Apr 12, 2018 1:45 pm

Hi, Mike

I did so, formatted the eeprom when the message "bad eeprom" appears, shortly after I loaded the eeprom in the EEPEV2 and then edited PB1 and PB2, timers, megasound and etc. And now it works. The working eeprom is attached.

Tks,

Marco,
Attachments
Eeprom OK.eepe
(1.83 KiB) Downloaded 116 times

kmargos
Posts: 81
Joined: Mon Jun 05, 2017 7:54 pm
Country: -

Re: er9x V2 = mbtx

Post by kmargos » Thu Apr 12, 2018 2:01 pm

"The following on the MegaSound module:
XPB0 (EXT1 on V1)
XPB1
XPC0
XPD2
XPD3 - used for LV trim
XPD4 - used for LV trim
XPD7 (EXT2 on V1)
Note: Some of these may need the Megasound firmware to be updated to use them."

I can't see XPD7 or EXT2 in the EEPE2.

I think "LV trim" does not work.
Attachments
notext2.png
notext2.png (11.36 KiB) Viewed 3143 times

User avatar
MikeB
9x Developer
Posts: 16635
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: er9x V2 = mbtx

Post by MikeB » Thu Apr 12, 2018 4:39 pm

The LV trim mod is routing the left vertical trim switches to PC0 and PC4 (I didn't add this feature). It is not supported on the M64 for flash space reasons. If you have serial Megasound, then the left vertical trim switches need to be routed to the Megasound board.

I'll look into the switch configuration options on eepeV2 later tonight.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!


Post Reply

Return to “er9x”