Audio (voice) - Stock 9X PCB
Re: Audio (voice) - Stock 9X PCB
I checked my fuses they are ok.
turned off the megasound option and still nothing.
if i keep D3 connected i get no LCD display if I disconnect D3 I get LCD display but no sound.
i will like to use serial better to be able to backup and restore from sd card.
turned off the megasound option and still nothing.
if i keep D3 connected i get no LCD display if I disconnect D3 I get LCD display but no sound.
i will like to use serial better to be able to backup and restore from sd card.
Miguel
Re: Audio (voice) - Stock 9X PCB
I checked my fuses they are ok.
turned off the megasound option and still nothing.
if i keep D3 connected i get no LCD display if I disconnect D3 I get LCD display but no sound.
i will like to use serial better to be able to backup and restore from sd card.
is there a WAY TO USE HYPERTERM to test the megasound board. im able to see the X if i upload the test file. maybe if i could send a few commands to rule out my transmitter.
turned off the megasound option and still nothing.
if i keep D3 connected i get no LCD display if I disconnect D3 I get LCD display but no sound.
i will like to use serial better to be able to backup and restore from sd card.
is there a WAY TO USE HYPERTERM to test the megasound board. im able to see the X if i upload the test file. maybe if i could send a few commands to rule out my transmitter.
Miguel
- MikeB
- 9x Developer
- Posts: 17990
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Audio (voice) - Stock 9X PCB
With the test code loaded, typing a digit from '1' to '9' should play the corresponding voice file 0001.wav to 0009.wav.
With either the test code or the normal code (parallel or serial), pressing the "Esc" key twice should get some characters back.
The first "Esc" should respond with 'E', the second "Esc" should respond with 'F' then the three characters <cr> <lf> '>'.
These indicate the board is now in PC (and/or back/restore) communication mode.
Typing the 'Z' key should then send back 'z', and return to normal operation.
I've got most of the wiring done ready to test my Megasound board in my '2561 9X tomorrow.
Mike.
With either the test code or the normal code (parallel or serial), pressing the "Esc" key twice should get some characters back.
The first "Esc" should respond with 'E', the second "Esc" should respond with 'F' then the three characters <cr> <lf> '>'.
These indicate the board is now in PC (and/or back/restore) communication mode.
Typing the 'Z' key should then send back 'z', and return to normal operation.
I've got most of the wiring done ready to test my Megasound board in my '2561 9X tomorrow.
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!
Re: Audio (voice) - Stock 9X PCB
ESC twice will give me > prompt, Capital Z displays z and resume the flashing and the 0040,wav
numbers from 1 thru 9 wont do anything.
great im thinking to buy a rotary encoder and a '2561. but i will like to get this going first
numbers from 1 thru 9 wont do anything.
great im thinking to buy a rotary encoder and a '2561. but i will like to get this going first
Miguel
- MikeB
- 9x Developer
- Posts: 17990
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Audio (voice) - Stock 9X PCB
The wav numbers fro 1 to 9 only work if you have wav files 0001.wav to 0009.wav on the SD card.
I've just got my Megasound board installed into my '2561 9X and it seems to be working OK on the serial, including the trims.
I know you have checked the wiring, but it seems that there is something wrong with your serial connection to the main processor, so please check you haven't got the wires crossed.
The wire from processor pin 27, I wired to the processor side of the third resistor up from the crystal, should go to pad 8 on the Megasound, while the wire from processor pin 28, I wired to the processor side of the fourth resistor up from the crystal, should go to pad 7 on the Megasound.
Also please check you don't have a short between these two connections.
Mike.
I've just got my Megasound board installed into my '2561 9X and it seems to be working OK on the serial, including the trims.
I know you have checked the wiring, but it seems that there is something wrong with your serial connection to the main processor, so please check you haven't got the wires crossed.
The wire from processor pin 27, I wired to the processor side of the third resistor up from the crystal, should go to pad 8 on the Megasound, while the wire from processor pin 28, I wired to the processor side of the fourth resistor up from the crystal, should go to pad 7 on the Megasound.
Also please check you don't have a short between these two connections.
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!
Re: Audio (voice) - Stock 9X PCB
Even better, please post a picture of your mainboard showing the connections and also another form your megasound board. That way we have a better idea of what's going on..
João
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
- MikeB
- 9x Developer
- Posts: 17990
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Audio (voice) - Stock 9X PCB
I've found a couple of bugs in the backup and restore code in the Megasound board.
Here are updated hex files for the Megasound: and a combined hex for the serial version with the bootloader. Mike.
Here are updated hex files for the Megasound: and a combined hex for the serial version with the bootloader. 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!
Re: Audio (voice) - Stock 9X PCB
Thanks Mike, those bugs are in the version I have also(from before), even if it is working well?
Still update as soon as possible.. Still working on my little project
João
Still update as soon as possible.. Still working on my little project
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
- MikeB
- 9x Developer
- Posts: 17990
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Audio (voice) - Stock 9X PCB
Yes, one bug was on backup where it didn't format the last couple of bytes being saved properly, the other was on restore and would result in a completely bad restore with the restored model having lots of corruption. It only occured when there was a specific pattern of bytes in the model being restored.
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!
Re: Audio (voice) - Stock 9X PCB
Thanks Mike.. Will update later
João
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: Audio (voice) - Stock 9X PCB
Dear Mike!MikeB wrote:I've found a couple of bugs in the backup and restore code in the Megasound board.
Here are updated hex files for the Megasound: and a combined hex for the serial version with the bootloader. Mike.
The " amod_last_all.zip" = combined paralel version (with bootloader)?
http://rc.emiter.hu/ (MegaSound 9X, GCL-2, FrSky-RSSI-DAC, etc.) Keress fel!
- MikeB
- 9x Developer
- Posts: 17990
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Audio (voice) - Stock 9X PCB
The "amod_last_all.zip" are only the main code WITHOUT bootloader. I'll post a combined file for the parallel version (12MHz) later tonight.
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!
Re: Audio (voice) - Stock 9X PCB
here are some shots of my megasound and trasmitter
uploaded new file nothing happens. backlight flashes for .5sec but no voice
uploaded new file nothing happens. backlight flashes for .5sec but no voice
- Attachments
Miguel
- MikeB
- 9x Developer
- Posts: 17990
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Audio (voice) - Stock 9X PCB
I'm concerned regarding your report that connecting LCD signal D3 causes the LCD to stop working. I can't see any reason this should happen, unless the signal on the Megasound is shorted to something.
Please check the signal on your Megasound. It is the 5th pad on P1, the one furthest from the rectangular pad of P1.
Maybe even post a picture of the processor side of your Megasound.
What you have should work, so I coming down on a board problem.
Mike.
Please check the signal on your Megasound. It is the 5th pad on P1, the one furthest from the rectangular pad of P1.
Maybe even post a picture of the processor side of your Megasound.
What you have should work, so I coming down on a board problem.
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!
- MikeB
- 9x Developer
- Posts: 17990
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Audio (voice) - Stock 9X PCB
HC1969:
Here is the combined parallel version: .
I haven't actually tested this as I've been using the serial version at present.
Mike.
Here is the combined parallel version: .
I haven't actually tested this as I've been using the serial version at present.
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!
Re: Audio (voice) - Stock 9X PCB
it seems to be ok. tested with my meter and there is no shorts.
ever since i bought the magasound board it did the same thing.
now what i found weird is that if i monitor with Hyperterm i can send the ESC and the Z commands. 1 - 9 wont work and i am able to program using mhy ttl to usb adapter
ever since i bought the magasound board it did the same thing.
now what i found weird is that if i monitor with Hyperterm i can send the ESC and the Z commands. 1 - 9 wont work and i am able to program using mhy ttl to usb adapter
Miguel
- MikeB
- 9x Developer
- Posts: 17990
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Audio (voice) - Stock 9X PCB
If you have the standard serial firmware (not the test version), the ESC and Z commands will still work, but the 1-9 won't.
With hyperterminal connected, if you press the left vertical trim, you should see some control characters displayed.
Also, use the Hyperterminal "Send Text File" option to send this text file: Don't edit the file, it has control characters in it.
This should cause the Megasound to play the "welcome" message (0028.wav).
Mike.
With hyperterminal connected, if you press the left vertical trim, you should see some control characters displayed.
Also, use the Hyperterminal "Send Text File" option to send this text file: Don't edit the file, it has control characters in it.
This should cause the Megasound to play the "welcome" message (0028.wav).
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!
Re: Audio (voice) - Stock 9X PCB
with the test file im able to hear the welcome file
with the standard no joy.
ESC & Z only works with test but 1 - 9 dont work with test
nothing work with standard
if i press the left vertical trim nothing happens
also why me fuses read different when they been read with serial port.
1st pic is the fuses read using ttl to seria
2nd is the same file but fuses read using parallel
with the standard no joy.
ESC & Z only works with test but 1 - 9 dont work with test
nothing work with standard
if i press the left vertical trim nothing happens
also why me fuses read different when they been read with serial port.
1st pic is the fuses read using ttl to seria
2nd is the same file but fuses read using parallel
Miguel
- MikeB
- 9x Developer
- Posts: 17990
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Audio (voice) - Stock 9X PCB
The serial bootloader is cut down to the minimum needed to flash a program so the maximum space is available for the program. Since it can't write the fuses, you can't from a running program, there is no fuse support.
I'll have to leave this until tomorrow now, too late here.
Please confirm the standard serial firmware that doesn't respond to ESC or the v1.txt file is the one from a few posts back dated 16-Mar-2015 16:02, and you either used the combined serial file or the amod_lastSer.hex file.
Mike.
I'll have to leave this until tomorrow now, too late here.
Please confirm the standard serial firmware that doesn't respond to ESC or the v1.txt file is the one from a few posts back dated 16-Mar-2015 16:02, and you either used the combined serial file or the amod_lastSer.hex file.
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!
Re: Audio (voice) - Stock 9X PCB
confirmed. either combinedserial nor amod_lasSer. neither ESC or V1.txt works. the only one that works for me is combinedserialtest and just ESC and v1.txt. megasoung is unable to play 1 - 9
Miguel
Re: Audio (voice) - Stock 9X PCB
Mike, just flashed the new amod_ser16 you posted above. coms with the computer are good, backup a model was good. Now after backing up the model, I deleted it, tried to restore, and the radio didn't load the list of the models on the sd card.. the radio just froze. restarted the radio and restore worked first time. Is that normal that after a backup we need to reboot the radio to restore a model?
Thanks
João
Thanks
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: Audio (voice) - Stock 9X PCB
Miguel, please try to disconnect the serial lines to the radio when you connect the voice module to the PC.magnetus wrote:confirmed. either combinedserial nor amod_lasSer. neither ESC or V1.txt works. the only one that works for me is combinedserialtest and just ESC and v1.txt. megasoung is unable to play 1 - 9
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: Audio (voice) - Stock 9X PCB
Disconnected the serial lines to the radio, flashed amod_lastSer.hex via parallel no joy same as before. tried flashing it via serial, no joy.
flsahed combinedserial.hex via serial and parellel same results. no ESC no V1.txt. only way they work is with combinedserialtest.hex
pd. the signature on my megasound processor is 0x1e95f0 as in m328 and not 0x1e9514 as in m328p
flsahed combinedserial.hex via serial and parellel same results. no ESC no V1.txt. only way they work is with combinedserialtest.hex
pd. the signature on my megasound processor is 0x1e95f0 as in m328 and not 0x1e9514 as in m328p
Miguel
- MikeB
- 9x Developer
- Posts: 17990
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Audio (voice) - Stock 9X PCB
The only difference between the 328 and the 328P is the P stands for "picoPower", so the processor uses slightly less power.
I've just realised that the option of typing '1' to '9' in the test vesion only works if it is the parallel version, they don't work in the serial version.
I'm trying to understand why the standard "combinedserial" doesn't respond to ESC and the V1.txt file. There is so little difference between them. My best guess at present is the "combinedserial" is going to the bootloader for some (unknown) reason.
Two things to try please:
1. When powered up, what voltage do you have on the two trims switch signals on P1?
2. With "combinedserial.hex" flashed (using parallel), and hyperterminal connected, after power up, type 'A' 'A' ' ' (AA<space>).
If you get three control character symbols back then the board is in the bootloader.
Mike.
I've just realised that the option of typing '1' to '9' in the test vesion only works if it is the parallel version, they don't work in the serial version.
I'm trying to understand why the standard "combinedserial" doesn't respond to ESC and the V1.txt file. There is so little difference between them. My best guess at present is the "combinedserial" is going to the bootloader for some (unknown) reason.
Two things to try please:
1. When powered up, what voltage do you have on the two trims switch signals on P1?
2. With "combinedserial.hex" flashed (using parallel), and hyperterminal connected, after power up, type 'A' 'A' ' ' (AA<space>).
If you get three control character symbols back then the board is in the bootloader.
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!
Re: Audio (voice) - Stock 9X PCB
You guys might find this info useful.. EePe configurations for flashing the Bootloader and firmware to the voice module.
viewtopic.php?f=5&t=6831&p=94432#p94432
João
viewtopic.php?f=5&t=6831&p=94432#p94432
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: Audio (voice) - Stock 9X PCB
I just tested something that might be of some help.. When I turn the voice module ON while pressing one of the trim switches connected to it, the backlight flashes once quickly and then the module falls into bootloader mode. Backlight is OFF then..
João
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: Audio (voice) - Stock 9X PCB
1- pin 2 has 2.65v pin 3 has 0v. if i move trim up pin 2 goes to 0. trim down pin 3 stays at 0MikeB wrote:The only difference between the 328 and the 328P is the P stands for "picoPower", so the processor uses slightly less power.
I've just realised that the option of typing '1' to '9' in the test vesion only works if it is the parallel version, they don't work in the serial version.
I'm trying to understand why the standard "combinedserial" doesn't respond to ESC and the V1.txt file. There is so little difference between them. My best guess at present is the "combinedserial" is going to the bootloader for some (unknown) reason.
Two things to try please:
1. When powered up, what voltage do you have on the two trims switch signals on P1?
2. With "combinedserial.hex" flashed (using parallel), and hyperterminal connected, after power up, type 'A' 'A' ' ' (AA<space>).
If you get three control character symbols back then the board is in the bootloader.
Mike.
2-typing 'A' 'A' ' ' will reply 3 simbols
i removed the trim lines and still have 2.65v @ pin2 and 0 @ pin3.
checked AAspace in H/T and shows in bootloader mode
i removed the trim lines from my trasnitter and measure the voltages and still the same 2.65 pin2 & 0 pin3
check H/T and board still in bootloader mode
checked continuity to GND and there is no shorts.
Miguel
- MikeB
- 9x Developer
- Posts: 17990
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Audio (voice) - Stock 9X PCB
I certainly don't like the 0V on pin 3, and I'm not too happy with only 2.65V on pin 2, I'd expect the processor supply voltage of around 3.3V. Worth checking the processor is getting 3.3V. You could check the supply voltage on the programming header.
The 0V on pin 3 will force the processor back into the bootloader.
Mike.
Edit: My only other suggestions are to examine the tracks from pins 2 and 3, under a magnifying glass, and look for any possible short to an adjacent track, maybe a tiny whisker of copper not etched away. Check also the processor pins for any fine solder whiskers. If nothing visible, then I coming down on a processor failure.
One other check is how much current is the board consuming, particularly if the processor isn't getting 3.3V
The 0V on pin 3 will force the processor back into the bootloader.
Mike.
Edit: My only other suggestions are to examine the tracks from pins 2 and 3, under a magnifying glass, and look for any possible short to an adjacent track, maybe a tiny whisker of copper not etched away. Check also the processor pins for any fine solder whiskers. If nothing visible, then I coming down on a processor failure.
One other check is how much current is the board consuming, particularly if the processor isn't getting 3.3V
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!
Re: Audio (voice) - Stock 9X PCB
getting 3.22 powered from my transmitter and 4.78 powered from the usbasp.
the previous voltages were read powered by the 9x regulated from the 3.3 v regulator.
powered from usbasp i have 4.78 at pin 2 and 0 at pin3
the previous voltages were read powered by the 9x regulated from the 3.3 v regulator.
powered from usbasp i have 4.78 at pin 2 and 0 at pin3
Miguel
Re: Audio (voice) - Stock 9X PCB
I guess you have nothing connected to pin 3?? Please check for possible short circuits to ground..
I think you might have to carefully lift (desolder) the correct pin from the board and measure it to find out what is happening.. If you do it, be careful not to break it or damage the PCB.
João
I think you might have to carefully lift (desolder) the correct pin from the board and measure it to find out what is happening.. If you do it, be careful not to break it or damage the PCB.
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW