Search found 16824 matches

by MikeB
Sat Jun 01, 2013 8:24 pm
Forum: er9x
Topic: Voice (Megasound) Serial Update
Replies: 310
Views: 99981

Re: Voice (Megasound) Serial Update

Baud rate should be OK then, but may be worth checking. At 38400 baud, a single bit is very close to 26uS. Perhaps you could look at this on the data in both directions, if only to rule it out. You should, at least, be able to see if the bit time is the same on TX and RX data. You will also see what...
by MikeB
Sat Jun 01, 2013 7:51 pm
Forum: er9x
Topic: Voice (Megasound) Serial Update
Replies: 310
Views: 99981

Re: Voice (Megasound) Serial Update

No need to worry too much with that test, you've already got past that stage. THe hex values that you see: 06 - ACK - packet received OK 18 - CAN - cancel, 2 in sucession aborts the transfer 61 - ABORT, echoed back after ABORT received from PC 15 - NAK - negative acknowledge, packet not OK. I'm wond...
by MikeB
Sat Jun 01, 2013 7:10 pm
Forum: Hardware
Topic: New 9x Voice Mod questions
Replies: 22
Views: 12400

Re: New 9x Voice Mod questions

Which board do you want to make, the one in the picture above (surface mount) or the one I designed (through hole, double sided)?

Mike.
by MikeB
Sat Jun 01, 2013 7:06 pm
Forum: er9x
Topic: Voice (Megasound) Serial Update
Replies: 310
Views: 99981

Re: Voice (Megasound) Serial Update

Good you've got it to update, but there is still some issue clearly as to why it seems to stay in the bootloader sometimes. Flashing the program uses the bootloader, so the board will be silent. Using the Serial SD uses the loaded program so you want it talking! With the loaded program, connect your...
by MikeB
Sat Jun 01, 2013 3:56 pm
Forum: er9x
Topic: er9x development
Replies: 3179
Views: 1462462

Re: er9x development

I've left the curve main menu alone, I have, however "streamlined" the individual curve editor. Expo/dual rates should now allow the switches to be edited, and I've removed the blinking. Fixed a bug in the switches warning screen where pressing a key didn't cancel the alarm. er9x-frsky.zip...
by MikeB
Sat Jun 01, 2013 3:19 pm
Forum: er9x
Topic: Voice (Megasound) Serial Update
Replies: 310
Views: 99981

Re: Voice (Megasound) Serial Update

jhsa wrote:I canßt also make it work in eepe linux.
I did have it working in linux, but it is in a virtualBox under windows so not a true test. I don't have a native linux system.

Mike.
by MikeB
Sat Jun 01, 2013 3:14 pm
Forum: er9x
Topic: Voice (Megasound) Serial Update
Replies: 310
Views: 99981

Re: Voice (Megasound) Serial Update

I know, sometimes you completely lose track of what connects to what and what you have tried. FTDI - logic level, non-inverted, use pads 7 and 8. RS232 - RS232 level, inverted, use pads 5 and 6. Try the following using cutecom, FTDI to pins 7 and 8. http://openrcforums.com/forum/viewtopic.php?f=5&am...
by MikeB
Sat Jun 01, 2013 1:54 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKY9X Coding
Replies: 4540
Views: 1974214

Re: ERSKY9X Coding

A1, A2 etc are simply names to fill up the directory. The whole EEPROM disk is a big fiddle. it just provides all the information to look like a disk drive with a single useable file that is the EEPROM. I'm not sure whether you can write back over the data as a file. The file needs to be modified in...
by MikeB
Sat Jun 01, 2013 1:39 pm
Forum: er9x
Topic: Voice (Megasound) Serial Update
Replies: 310
Views: 99981

Re: Voice (Megasound) Serial Update

Right, the FTDI is logic, not inverted, pins 5 and 6 are for RS232 inverted, however, the FTDI would hold the signal high when the line is idle, which is consistent with the collector being low. Also it looks like this was recognised by the bootloader on power up as it stayed silent. Seems like that...
by MikeB
Sat Jun 01, 2013 11:21 am
Forum: er9x
Topic: Voice (Megasound) Serial Update
Replies: 310
Views: 99981

Re: Voice (Megasound) Serial Update

Here's a useful test: Using the RS232 connection, connect to the serial using a terminal program (38400 baud). Turn on the Tx and make sure you get some voice output. On the terminal program type "0 ". That's the zero key followed by the space key. This is the sequence that puts the Megaso...
by MikeB
Fri May 31, 2013 11:56 pm
Forum: er9x
Topic: Voice (Megasound) Serial Update
Replies: 310
Views: 99981

Re: Voice (Megasound) Serial Update

Yes I do.

Mike.
by MikeB
Fri May 31, 2013 11:47 pm
Forum: er9x
Topic: Voice (Megasound) Serial Update
Replies: 310
Views: 99981

Re: Voice (Megasound) Serial Update

Jhsa: I'm just asking the serial code to list serial devices available, that's what it gives me, so that's what I list. I don't have a FTDI device, and my lubuntu is running in a VirtualBox, so is a bit different anyway. I may need to check for ttyUSBx and add the .dev. in front. Flaps: Do you hae a...
by MikeB
Fri May 31, 2013 11:41 pm
Forum: er9x
Topic: er9x development
Replies: 3179
Views: 1462462

Re: er9x development

Kaos: You say (expo), "once in the graph mode". The test version above only has the graph mode. I need to ask, are you certain you have loaded that version? The voice mod uses the pin that normally controls the backlight, wiht the backlight being controlled by the voice board. ReSt: You mi...
by MikeB
Fri May 31, 2013 10:41 pm
Forum: Hardware
Topic: New 9x Voice Mod questions
Replies: 22
Views: 12400

Re: New 9x Voice Mod questions

I think it's JP2 on there, my board is all through hole components.

Those are all manufacturing files. I used Eagle 4.16, I'll try to find time to post the files, if I haven't already done so in that large thread!

Mike.
by MikeB
Fri May 31, 2013 10:37 pm
Forum: er9x
Topic: er9x development
Replies: 3179
Views: 1462462

Re: er9x development

The main change is the expo/dual rate menu. Does that work OK and seem a good presentation.
Otherwise, do you notice anything else not working OK, I've a number of changes that all look OK but save some flash space.

Mike.
by MikeB
Fri May 31, 2013 10:32 pm
Forum: er9x
Topic: Voice (Megasound) Serial Update
Replies: 310
Views: 99981

Re: Voice (Megasound) Serial Update

Try the "hold PAD 7 to 0V on power up" to see if that keeps the board in the bootloader.

Do you have a terminal program you can run? IF so, I might be able to come up with some tests you can try.

Mike.
by MikeB
Fri May 31, 2013 10:03 pm
Forum: er9x
Topic: Voice (Megasound) Serial Update
Replies: 310
Views: 99981

Re: Voice (Megasound) Serial Update

I would guess the arduino nano includes a bootloader that runs at 115200 baud. The bootloader in the Megasound board runs at 38400 baud. This is really frustrating for both Flaps and us, it really should work. At the risk of stating some obvious checks, have you checked the processor pins for the se...
by MikeB
Fri May 31, 2013 9:22 pm
Forum: Hardware
Topic: New 9x Voice Mod questions
Replies: 22
Views: 12400

Re: New 9x Voice Mod questions

The voice board only works with a SD card. You CANNOT use a USB memory stick. Haptic is done using a different hardware mod. I think all the custom boards include voice output so do NOT need this mod. Which version of Eagle? Build data for my board is here: http://openrcforums.com/forum/viewtopic.ph...
by MikeB
Fri May 31, 2013 9:08 pm
Forum: er9x
Topic: Voice (Megasound) Serial Update
Replies: 310
Views: 99981

Re: Voice (Megasound) Serial Update

Read the post! She said "I even dragged out some RS232 bits and gave that a go without any luck.".

Mike.
by MikeB
Fri May 31, 2013 9:07 pm
Forum: Hardware
Topic: ATMega64 pins dying???
Replies: 26
Views: 13140

Re: ATMega64 pins dying???

Look closely below the chip. There is something between the tracks from pins 3 and 4, in close up it is shiny. It looks to mee like a fault in the PCB manufacturing that could short these two pins together.
Try, using a very sharp knife, clearing this from between the tracks.

Mike.
by MikeB
Fri May 31, 2013 8:53 pm
Forum: er9x
Topic: Voice (Megasound) Serial Update
Replies: 310
Views: 99981

Re: Voice (Megasound) Serial Update

I just tested using eepe to flash the program and it worked fine. This should work, so back to basics. Really silly questions almost, but let's just check. Is your megasound board connected to your 9X? If yes, is the Tx switched on? If no, do you have the board powered? Do you have a SD card plugged...
by MikeB
Fri May 31, 2013 8:31 pm
Forum: er9x
Topic: er9x development
Replies: 3179
Views: 1462462

Re: er9x development

No, M64 version.

Mike.
by MikeB
Fri May 31, 2013 8:06 pm
Forum: er9x
Topic: Voice (Megasound) Serial Update
Replies: 310
Views: 99981

Re: Voice (Megasound) Serial Update

Are you now connecting to pins 7 and 8?
Are pins 7 and 8 also connected to the M64?
I'm assuming the FTDI TXD signal is the data output. If they think it's a modem, it will be an input!

Mike.
by MikeB
Fri May 31, 2013 7:17 pm
Forum: er9x
Topic: Voice (Megasound) Serial Update
Replies: 310
Views: 99981

Re: Voice (Megasound) Serial Update

I'm guessing now (not familiar with linux or FTDI), but you could try /dev/ttyUSB0 after the -P.

Mike.
by MikeB
Fri May 31, 2013 6:41 pm
Forum: er9x
Topic: er9x development
Replies: 3179
Views: 1462462

Re: er9x development

So, after all this tidying up I seem to have a flash saving of 1700 bytes. As long as users are happy with the changed presentation we should be OK! Any comments so far from those who have downloaded the test version above? The change to the curve editing screen is to only allow editing by stepping ...
by MikeB
Fri May 31, 2013 6:35 pm
Forum: er9x
Topic: Voice (Megasound) Serial Update
Replies: 310
Views: 99981

Re: Voice (Megasound) Serial Update

On my original circuit I included non-inverted, logic level connections as well as the (pseudo) inverted RS232 connections. You should be able to use the pads 7 and 8 that go to the M64 processor on the main board for programming and/or serial SD use. The M64 doesn't do anything with them (yet), and...
by MikeB
Fri May 31, 2013 5:56 pm
Forum: er9x
Topic: er9x development
Replies: 3179
Views: 1462462

Re: er9x development

Yes, just done it!

Mike.
by MikeB
Fri May 31, 2013 5:55 pm
Forum: er9x
Topic: Voice (Megasound) Serial Update
Replies: 310
Views: 99981

Re: Voice (Megasound) Serial Update

I reckon you need the following command line to update the firmware in the Megasound board: avrdude -p m328p -b 38400 -P ttyUSB0 -c arduino -U flash:w:amod_last.hex:i -u The bootloader in the Megasound board "looks like" an arduino programmer, connected over a serial port at 38400 baud. Yo...
by MikeB
Fri May 31, 2013 4:44 pm
Forum: er9x
Topic: Voice (Megasound) Serial Update
Replies: 310
Views: 99981

Re: Voice (Megasound) Serial Update

I've made eepe search for "available" serial ports. Under windows it lists only those physically available. Under linux, it seems to list a lot of ports like ttys0. If you select the burn menu, then SerialSD, you get the drop down list of ports. Do you have TTYUSB in that list?

Mike.
by MikeB
Fri May 31, 2013 1:36 pm
Forum: er9x
Topic: er9x development
Replies: 3179
Views: 1462462

Re: er9x development

On a flash saving view, the curve editing menu allows two different ways of editing (how many know this?). Either go down to the entry to edit, then use LEFT and RIGHT to change it, or, press RIGHT when on EDIT, then you get the points marked on the graph, use RIGHT and LEFT to select a point, then ...

Go to advanced search