- Posts: 43
Developing a universal module
- nusbr
- Offline
I will Test them tomorrow with a Second Modul. Perhaps it does not work.
Could you post your .ini file?
Please Log in or Create an account to join the conversation.
- blackmoon
- Offline
- Posts: 402
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
As far as the switch goes, all of a sudden I'm getting a reset every 2ms on the AVR. I thought it was coupling related (and it may be) but it really looks like the watchdog (despite being disabled). I've been banging my head against it for a couple days now. It is weird because everything was working fine and now its not.
Please Log in or Create an account to join the conversation.
- nusbr
- Offline
- Posts: 43
Is it not possible to mount the CYRF6936 Modul on the original Place connected? And mount only the other modules on external PCB?
Please Log in or Create an account to join the conversation.
- MassiveOverkill
- Offline
- Posts: 49
Thanks.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
So hopefully now I can actually get the Deviation code functioning properly and get this all turned it.
And MassiveOverkill, yes you can install anything from 1 to 4 modules in the switch. you just need to configure the hardware.ini properly.
Please Log in or Create an account to join the conversation.
- SeByDocKy
- Offline
- Posts: 1016
PhracturedBlue wrote: So I finally figured out why all my modules had stopped working. I was programming for the 84A, but using a 44A. This was setting the stack pointer out of range and generally making everything broken. You can install a hex file for a 44a on an 84a but not vice-versa. That was a huge waste of several days.
So hopefully now I can actually get the Deviation code functioning properly and get this all turned it.
And MassiveOverkill, yes you can install anything from 1 to 4 modules in the switch. you just need to configure the hardware.ini properly.
Good news
Which one is the best? 44A or 84A ?
Please Log in or Create an account to join the conversation.
- ver2go
- Offline
- Posts: 1
www.atmel.com/images/doc8183.pdf
High Endurance, Non-volatile Memory Segments
– 2K/4K/8K Bytes of In-System, Self-programmable Flash Program Memory
• Endurance: 10,000 Write/Erase Cycles
– 128/256/512 Bytes of In-System Programmable EEPROM
• Endurance: 100,000 Write/Erase Cycles
– 128/256/512 Bytes of Internal SRAM
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- nusbr
- Offline
- Posts: 43
I used the 84 Attiny and had problem with devo module. Is this about the same problem?
Could you tell me which hex file is the actually for all 3 Tiny's?
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
www.deviationtx.com/repository/Multi-Module/
This should be used with the latest nightly build c37f0c2 (or newer)
This nightly supports the multi-module for all transmitters.
You must change your hardware.ini to include:
enable-multimod = A13
(I forgot to change the default hardware.ini, it'll be in tomorrow's nightly)
The new code will show a dialog if any module cannot be found and will disable those modules in the transmitter. This will make it easy to know if the switch is working properly.
Make sure you have installed the avr.hex from the above link. Deviation will not work with the original avr.hex I posted previously in this thread.
I have one time seen the A7105 not detect properly. A reboot fixed it, but it may need a better checking routine.
Please Log in or Create an account to join the conversation.
- nusbr
- Offline
- Posts: 43
1. Copied AVR.hex to TX
2. Changed hardware.ini to "enable-multimod = A13"
3. uploaded "programmer-devo8.dfu"to TX
4. Startup TX -> Error Message "ERR: No switch found"
5. Changed Changed hardware.ini to "enable-switch=A13"
6. Startup TX -> Programming O.K
7. Changed hardware.ini to "enable-multimod = A13"
8. uploaded "deviation-devo8-v4.0.1-c37f0c2.dfu"to TX
9. Startup TX -> Missing Modules CYRF6936
Any idee
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- nusbr
- Offline
- Posts: 43
then programmed with "Kopie von hardware.ini" -> programming ok
loaded new software dfu and
used "hardware.ini" -> Missing Modules CYRF6936
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
I'll provide a new dfu with some extra debug to see if we can figure out what is going on. It seems all other modules are properly detected. have you checked that the devo module is seated properly and there are no shorts created while attaching the multi-module?
Have you tried going back to v4.01 (without the multi-module) and ensure the module still works?
Please Log in or Create an account to join the conversation.
- nusbr
- Offline
- Posts: 43
Missing Modules:
CYRF6936
A7105
CC2500
NRF24L01
MultiMod
If i have connecte, there is only the original DEVO 8S Modul (CYRF6936) missing.
I could fly with my Hubsan X4. Also PCB works fine. If i mount the CYRF Module to the original Place and deactivate the others, it works fine.
Is it normal, that the HEX file must be programmed with the entry
enable-switch=A13
and then changed to
enable-multimod=A13
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
If you do that, you need to have this in your hardware.ini:
enable-cyrf6936=S0
has_pa-cyrf6936=1
I know about the programmer issue. I'll provide a new programmer that uses the new hardware.ini.
Please Log in or Create an account to join the conversation.
- nusbr
- Offline
- Posts: 43
Please Log in or Create an account to join the conversation.
- nusbr
- Offline
- Posts: 43
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Development
- Developing a universal module