Jumper T8SG - First TX stock running on Deviation

More
05 Sep 2017 15:26 #64200 by dc59
Replied by dc59 on topic New TX from Banggood

vlad_vy wrote:
So I need use other approach.

dc59, can you test next attempt?


Perfect !! :cheer:

Attachments:

Please Log in or Create an account to join the conversation.

More
05 Sep 2017 15:32 - 06 Sep 2017 05:08 #64201 by vlad_vy
Replied by vlad_vy on topic New TX from Banggood
"hardware.ini" is incorrect since T8SG has PA for cyrf6936
; enable-cyrf6936 = B12
has_pa-cyrf6936 = 0

Corrected version with:
; enable-cyrf6936 = B12
; has_pa-cyrf6936 = 1


File deleted...
Last edit: 06 Sep 2017 05:08 by vlad_vy.

Please Log in or Create an account to join the conversation.

More
05 Sep 2017 15:37 #64202 by vlad_vy
Replied by vlad_vy on topic New TX from Banggood
Now I don't understand how T8SG work with 4in1 module.

At source for Jumper T8SG (deviation-0ac6094.rar) "hardware.ini":
;Only useful for transmitters with an after-market vibration motor
;enable-haptic=1
;
;switch_types: 3x2, 3x1, 2x2
;extra-switches=
;
;Audio player connected to UART (Devo12/S internally, others via trainer port): audiofx, dfplayer
;voice=
;
;Enable if audio device is wired to uart5 instead of ppm on devo7e-256
;voice-uart5=1
;
;button_types: trim-all, trim-(left|right)-(up|down|both)
;May occur more than once if necessary.
;extra-buttons=
;
[modules]
; there is no need to enable the cyrf6936 module unless
; it is wired to an alternate port. It is Enabled automatically otherwise
; enable-cyrf6936 = B12
; has_pa-cyrf6936 = 1
; enable-a7105    = A13
; has_pa-a7105    = 1
; enable-cc2500   = A14
; has_pa-cc2500   = 1
; enable-nrf24l01 = A14
; has_pa-nrf24l01 = 1
; enable-multimod = A13

Please Log in or Create an account to join the conversation.

More
05 Sep 2017 15:57 - 05 Sep 2017 16:24 #64204 by vlad_vy
Replied by vlad_vy on topic New TX from Banggood
dc59, have you all protocols enabled? With the exception of Devo, DSM2/DSMX, and Nine Eagles (based on cyrf6936).

Can you provide real/working "hardware.ini" from T8SG?
Last edit: 05 Sep 2017 16:24 by vlad_vy.

Please Log in or Create an account to join the conversation.

More
05 Sep 2017 17:25 #64205 by PhracturedBlue
Replied by PhracturedBlue on topic New TX from Banggood
Vlad,
I haven't looked at it yet, but do you know if we can detect the LCD driver by querying its registers? It is possible we could not create a new target for this Tx if it is only that change, assuming we can detect the case. I think we'll probably need a new target eventually anyway, but if we can get by without one for now, I might prefer that.

Please Log in or Create an account to join the conversation.

More
05 Sep 2017 18:13 - 05 Sep 2017 18:14 #64208 by vlad_vy
Replied by vlad_vy on topic New TX from Banggood
I don't see any register for identification. All control register are for write only, and one register for reading current status.

Moreover, we need different makefile for customizing hardware.ini. It will differ from devo7e-256.
Last edit: 05 Sep 2017 18:14 by vlad_vy.

Please Log in or Create an account to join the conversation.

More
05 Sep 2017 20:27 #64209 by victzh
Replied by victzh on topic New TX from Banggood
I'm all for not creating another target and autodetecting it instead. If it can be autodetected, then you can ignore config file settings for radio and avoid extra target for ini file only.

Please Log in or Create an account to join the conversation.

More
05 Sep 2017 21:01 #64210 by victzh
Replied by victzh on topic New TX from Banggood
Unfortunately UC1705 and its prototype NT7538 do not have any identification commands. On the other hand, there can be differences in behavior, either in controller or in other physical connections. Needs to be explored more, and if this is a prototype, Banggood should be notified to change something just for the purpose of easier configuration.

Please Log in or Create an account to join the conversation.

More
05 Sep 2017 21:13 #64211 by PhracturedBlue
Replied by PhracturedBlue on topic New TX from Banggood

victzh wrote: Unfortunately UC1705 and its prototype NT7538 do not have any identification commands. On the other hand, there can be differences in behavior, either in controller or in other physical connections. Needs to be explored more, and if this is a prototype, Banggood should be notified to change something just for the purpose of easier configuration.

Possible ways to ID Tx:
The bootloader is likely different since they don't show the walkera logo on boot. I'm guessing they made some minor changes to bypass the screen initialization.
They may use a different flash chip. I believe these do have unique Id for each vendor. This may not work, since some users of the 7e-256 may swap the flash too, in which case we have no idea what to expect.

I think we will likely end up with a unique target eventually, because they've already indicated a willingness to rev the hardware based on feedback, and at some point it will likely be different enough. What I would rather not have is separate targets for 'rev1', 'rev2' etc. Until we get a better feel for their mode of work, I'd rather hold off on creating the new target. Probably at a minimum until some samples are available, and we can see what options we might have.

Please Log in or Create an account to join the conversation.

More
05 Sep 2017 21:39 - 05 Sep 2017 21:58 #64213 by dc59
Replied by dc59 on topic New TX from Banggood

vlad_vy wrote: dc59, have you all protocols enabled? With the exception of Devo, DSM2/DSMX, and Nine Eagles (based on cyrf6936).

Can you provide real/working "hardware.ini" from T8SG?


Here you go :)

;Only useful for transmitters with an after-market vibration motor
;enable-haptic=1
;
;switch_types: 3x4, 3x3, 3x2, 3x1, 2x8, 2x7, 2x6, 2x5, 2x4, 2x3, 2x2, 2x1, potx2, potx1
;May occur more than once if necessary.
;Add nostock if stock FMOD and HOLD switches have been removed.
extra-switches = nostock
extra-switches = 3x4
; extra-switches = 2x2
extra-switches = potx2
;
;Audio player connected to UART (Devo12/S internally, others via trainer port): audiofx, dfplayer
;voice=
;
;Enable if audio device is wired to uart5 instead of ppm on devo7e-256
;voice-uart5=1
;
;button_types: trim-all, trim-(left|right)-(up|down|both)
;May occur more than once if necessary.
;extra-buttons=
;
[modules]
; there is no need to enable the cyrf6936 module unless
; it is wired to an alternate port. It is Enabled automatically otherwise
enable-cyrf6936 = B12
has_pa-cyrf6936 = 1
enable-a7105 = A13
has_pa-a7105 = 1
enable-cc2500 = A14
has_pa-cc2500 = 1
enable-nrf24l01 = A15
has_pa-nrf24l01 = 1
; enable-multimod = A13



Edit : I send you a PM. :cheer:

File Attachment:

File Name: hardware.ini
File Size:1 KB
Attachments:
Last edit: 05 Sep 2017 21:58 by dc59.

Please Log in or Create an account to join the conversation.

More
05 Sep 2017 22:04 #64214 by Moeder
Replied by Moeder on topic New TX from Banggood
I agree with PB and victzh in trying to stick with 7e-256 for this release.

I was scanning through the data sheets for both UC1705 and NT7538 and noticed, that the behavior of the status register "enable" (or ON/OFF) when read out seems inverted between the two drivers. This could be used to differentiate between the two displays. Or maybe I'm just reading it wrong as it's late or the translation of the data sheet is bad or...:silly:

Maybe vlad could make a test build based on this? I'm too busy the next couple of days.
Attachments:

Please Log in or Create an account to join the conversation.

More
06 Sep 2017 00:24 #64215 by RoGuE_StreaK
Replied by RoGuE_StreaK on topic New TX from Banggood
So is Jumper the same company or different to the one making laptops on geekbuying?
https://www.geekbuying.com/search?keyword=jumper

Please Log in or Create an account to join the conversation.

More
06 Sep 2017 02:06 #64218 by dc59
Replied by dc59 on topic New TX from Banggood

RoGuE_StreaK wrote: So is Jumper the same company or different to the one making laptops on geekbuying?
https://www.geekbuying.com/search?keyword=jumper


It's different company.
Actually, Jumper is not T8SG's company name , it's their RC transmitter product name, just like Walkera's "DEVO".

Please Log in or Create an account to join the conversation.

More
06 Sep 2017 04:41 - 08 Sep 2017 10:27 #64224 by vlad_vy
Replied by vlad_vy on topic New TX from Banggood
dc59, is it stock switch config at "hardware.ini" or you already modded your T8SG?

T8SG build with corrected "hardware.ini"
;Only useful for transmitters with an after-market vibration motor
;enable-haptic=1
;
;switch_types: 3x4, 3x3, 3x2, 3x1, 2x8, 2x7, 2x6, 2x5, 2x4, 2x3, 2x2, 2x1, potx2, potx1
;May occur more than once if necessary.
;Add nostock if stock FMOD and HOLD switches have been removed.
  extra-switches = nostock
  extra-switches = 3x4
; extra-switches = 2x2
  extra-switches = potx2
;
;Audio player connected to UART (Devo12/S internally, others via trainer port): audiofx, dfplayer
;voice=
;
;Enable if audio device is wired to uart5 instead of ppm on devo7e-256
;voice-uart5=1
;
;button_types: trim-all, trim-(left|right)-(up|down|both)
;May occur more than once if necessary.
;extra-buttons=
;
[modules]
; there is no need to enable the cyrf6936 module unless
; it is wired to an alternate port. It is Enabled automatically otherwise
; enable-cyrf6936 = B12
; has_pa-cyrf6936 = 1
  enable-a7105    = A13
  has_pa-a7105    = 1
  enable-cc2500   = A14
  has_pa-cc2500   = 1
  enable-nrf24l01 = A15
  has_pa-nrf24l01 = 1
; enable-multimod = A13


File deleted...
Last edit: 08 Sep 2017 10:27 by vlad_vy.

Please Log in or Create an account to join the conversation.

More
06 Sep 2017 05:13 #64225 by dc59
Replied by dc59 on topic New TX from Banggood

vlad_vy wrote: dc59, is it stock switch config at "hardware.ini" or you already modded your T8SG?


Just config hardware.ini file, I don't mod. anything. :)

Please Log in or Create an account to join the conversation.

More
06 Sep 2017 05:29 - 06 Sep 2017 05:29 #64227 by vlad_vy
Replied by vlad_vy on topic New TX from Banggood
dc59, can you test T8SG build, and replace original "hardware.ini" with new corrected version?
Last edit: 06 Sep 2017 05:29 by vlad_vy.

Please Log in or Create an account to join the conversation.

More
06 Sep 2017 05:30 #64228 by dc59
Replied by dc59 on topic New TX from Banggood
No problem! I will do it after work. :)

Please Log in or Create an account to join the conversation.

More
06 Sep 2017 05:42 #64229 by vlad_vy
Replied by vlad_vy on topic New TX from Banggood
I agree with trying to stick with 7e-256 for this release. I'm just playing with a separate target for T8SG.

Please Log in or Create an account to join the conversation.

More
06 Sep 2017 06:30 - 06 Sep 2017 07:02 #64231 by vlad_vy
Replied by vlad_vy on topic New TX from Banggood
Devo7e, "lcd.c"
int c = contrast * 12 + 76; //contrast should range from ~72 to ~200 (contrast = 0 - 10)

NT7538 has 6bit "Electronic Volume", the same thing for UC1705, so it looks strange to adjust the contrast beyond the range 0-63, with default value 32.

More logical will be:
int c = contrast * 6; //contrast should range from 0 to 63

Is it possible that Devo7e LCD use other LCD driver chip?
Last edit: 06 Sep 2017 07:02 by vlad_vy.

Please Log in or Create an account to join the conversation.

More
06 Sep 2017 12:11 #64234 by dc59
Replied by dc59 on topic New TX from Banggood

vlad_vy wrote:

Attachment not found


I tried to use this build, everything works fine!
I format USB drive to clean all data and copy all files from "deviation-t8sg-v5.x.x-2017-09-06.zip" , no problem at all. :cheer:

Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.210 seconds
Powered by Kunena Forum