Page 15 of 72 FirstFirst ... 510111213141516171819202565 ... LastLast
Results 211 to 225 of 1070

Thread: new $EE tuning thing!

  1. #211
    Fuel Injected! fbody_Brian's Avatar
    Join Date
    Mar 2013
    Location
    Biloxi MS
    Posts
    166
    Quote Originally Posted by steveo View Post
    so the indicator light doesn't function at all with mode4 tcc enable. i can live with that.

    so what i'll probably do in this release is just force the light to be on/off to not confuse people, then in the next release i'll try to patch it so the mode4 override also sets/unsets the status bit.
    a patch would work. Another option would be to have the indicator work from the status bit when on auto, but if you click the tcc on button it overrides and turns the indicator on and vice versa for the tcc off button.
    1994 LT1/4L60E Formula

  2. #212
    Fuel Injected! fbody_Brian's Avatar
    Join Date
    Mar 2013
    Location
    Biloxi MS
    Posts
    166
    compiled against 5.6. It works on linux!!!!

    I compiled eehack 3.5 and it connected with no error.

    I'd like to try to compile 4 if at all possible.
    1994 LT1/4L60E Formula

  3. #213
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,002
    compiled against 5.6. It works on linux!!!!
    holy $#*()^ brian!!! awesome!

    there's like zilch for tuning tools in linux besides megasquirt afaik, this is groundbreaking, since tunerpro non-rt runs so well in wine, it's likely that full-time linux users can tune their LT1s now.

    im a bit worried about delay timing since i've 'tuned around' windows timers being shoddy, so i'll be interested to see if everything works alright.

    how does it look appearance-wise? can you screenshot it?

    a patch would work. Another option would be to have the indicator work from the status bit when on auto, but if you click the tcc on button it overrides and turns the indicator on and vice versa for the tcc off button.
    so this thing is totally independant of the tcc enable routine that sets the flag. this is no big deal, im going to release with a note in the tooltip informing the user. i've decided i dont want to 'light up the light' falsely, since that wont match what's in the log, and wont play back properly. i'd have to falsify data in the datastream, which i can do, but is against my design principles, i want my data to be saved to disk completely unmodified.

    so is what it is until i patch it later, but no more patches in this release.

  4. #214

  5. #215
    Fuel Injected! fbody_Brian's Avatar
    Join Date
    Mar 2013
    Location
    Biloxi MS
    Posts
    166
    Quote Originally Posted by steveo View Post
    holy $#*()^ brian!!! awesome!

    there's like zilch for tuning tools in linux besides megasquirt afaik, this is groundbreaking, since tunerpro non-rt runs so well in wine, it's likely that full-time linux users can tune their LT1s now.

    im a bit worried about delay timing since i've 'tuned around' windows timers being shoddy, so i'll be interested to see if everything works alright.

    how does it look appearance-wise? can you screenshot it?
    I will
    it's 3.5, which doesn't look as good as 4.
    some of the text doesn't fit properly, but it's minor stuff.


    Quote Originally Posted by steveo View Post
    i've decided i dont want to 'light up the light' falsely, since that wont match what's in the log, and wont play back properly. i'd have to falsify data in the datastream, which i can do, but is against my design principles, i want my data to be saved to disk completely unmodified.
    yeah, the more I thought about it the more I think that you're absolutely correct with that decision.
    1994 LT1/4L60E Formula

  6. #216
    Fuel Injected! fbody_Brian's Avatar
    Join Date
    Mar 2013
    Location
    Biloxi MS
    Posts
    166
    trying to compile 4, but It's currently failing
    Code:
     -I. -I. -I../../Qt5.6.0/5.6/gcc_64/mkspecs/linux-g++ -o flash_routine.o flash_routine.cpp
    In file included from datastream.h:7:0,
                     from mainwindow.h:12,
                     from flash_routine.cpp:3:
    config.h:35:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
     #pragma warning(disable: 4100)
     ^
    flash_routine.cpp: In member function ‘void mainWindow::writeflash()’:
    flash_routine.cpp:343:3: error: jump to label ‘FLASH_WRITE_CLEANUP’ [-fpermissive]
       FLASH_WRITE_CLEANUP:
       ^
    flash_routine.cpp:84:12: note:   from here
           goto FLASH_WRITE_CLEANUP;
                ^
    flash_routine.cpp:94:7: note:   crosses initialization of ‘int write_post_delay’
       int write_post_delay = 70;
           ^
    flash_routine.cpp:91:8: note:   crosses initialization of ‘bool enable_compression’
       bool enable_compression = ui->flash_compress->isChecked();
            ^
    flash_routine.cpp:343:3: error: jump to label ‘FLASH_WRITE_CLEANUP’ [-fpermissive]
       FLASH_WRITE_CLEANUP:
       ^
    flash_routine.cpp:66:10: note:   from here
         goto FLASH_WRITE_CLEANUP;
              ^
    flash_routine.cpp:94:7: note:   crosses initialization of ‘int write_post_delay’
       int write_post_delay = 70;
           ^
    flash_routine.cpp:91:8: note:   crosses initialization of ‘bool enable_compression’
       bool enable_compression = ui->flash_compress->isChecked();
            ^
    flash_routine.cpp: In member function ‘void mainWindow::readflash()’:
    flash_routine.cpp:501:3: error: jump to label ‘FLASH_READ_CLEANUP’ [-fpermissive]
       FLASH_READ_CLEANUP:
       ^
    flash_routine.cpp:439:10: note:   from here
         goto FLASH_READ_CLEANUP;
              ^
    flash_routine.cpp:451:7: note:   crosses initialization of ‘int read_floor’
       int read_floor = 0x0D80;
           ^
    flash_routine.cpp:501:3: error: jump to label ‘FLASH_READ_CLEANUP’ [-fpermissive]
       FLASH_READ_CLEANUP:
       ^
    flash_routine.cpp:435:10: note:   from here
         goto FLASH_READ_CLEANUP;
              ^
    flash_routine.cpp:451:7: note:   crosses initialization of ‘int read_floor’
       int read_floor = 0x0D80;
           ^
    flash_routine.cpp:501:3: error: jump to label ‘FLASH_READ_CLEANUP’ [-fpermissive]
       FLASH_READ_CLEANUP:
       ^
    flash_routine.cpp:426:10: note:   from here
         goto FLASH_READ_CLEANUP;
              ^
    flash_routine.cpp:451:7: note:   crosses initialization of ‘int read_floor’
       int read_floor = 0x0D80;
           ^
    flash_routine.cpp:501:3: error: jump to label ‘FLASH_READ_CLEANUP’ [-fpermissive]
       FLASH_READ_CLEANUP:
       ^
    flash_routine.cpp:422:10: note:   from here
         goto FLASH_READ_CLEANUP;
              ^
    flash_routine.cpp:451:7: note:   crosses initialization of ‘int read_floor’
       int read_floor = 0x0D80;
           ^
    flash_routine.cpp:501:3: error: jump to label ‘FLASH_READ_CLEANUP’ [-fpermissive]
       FLASH_READ_CLEANUP:
       ^
    flash_routine.cpp:417:10: note:   from here
         goto FLASH_READ_CLEANUP;
              ^
    flash_routine.cpp:451:7: note:   crosses initialization of ‘int read_floor’
       int read_floor = 0x0D80;
           ^
    flash_routine.cpp:501:3: error: jump to label ‘FLASH_READ_CLEANUP’ [-fpermissive]
       FLASH_READ_CLEANUP:
       ^
    flash_routine.cpp:409:10: note:   from here
         goto FLASH_READ_CLEANUP;
              ^
    flash_routine.cpp:451:7: note:   crosses initialization of ‘int read_floor’
       int read_floor = 0x0D80;
           ^
    flash_routine.cpp:520:3: error: jump to label ‘FLASH_READ_CLEANUP_NO_RST’ [-fpermissive]
       FLASH_READ_CLEANUP_NO_RST:
       ^
    flash_routine.cpp:406:10: note:   from here
         goto FLASH_READ_CLEANUP_NO_RST;
              ^
    flash_routine.cpp:451:7: note:   crosses initialization of ‘int read_floor’
       int read_floor = 0x0D80;
           ^
    flash_routine.cpp:520:3: error: jump to label ‘FLASH_READ_CLEANUP_NO_RST’ [-fpermissive]
       FLASH_READ_CLEANUP_NO_RST:
       ^
    flash_routine.cpp:402:10: note:   from here
         goto FLASH_READ_CLEANUP_NO_RST;
              ^
    flash_routine.cpp:451:7: note:   crosses initialization of ‘int read_floor’
       int read_floor = 0x0D80;
           ^
    flash_routine.cpp:520:3: error: jump to label ‘FLASH_READ_CLEANUP_NO_RST’ [-fpermissive]
       FLASH_READ_CLEANUP_NO_RST:
       ^
    flash_routine.cpp:393:12: note:   from here
           goto FLASH_READ_CLEANUP_NO_RST;
                ^
    flash_routine.cpp:451:7: note:   crosses initialization of ‘int read_floor’
       int read_floor = 0x0D80;
           ^
    Makefile:10022: recipe for target 'flash_routine.o' failed
    make: *** [flash_routine.o] Error 1
    brian@linux-w1cw:~/Downloads/eehack-master>
    I get the same error compiling 4 with both qt5.5 and 5.6
    1994 LT1/4L60E Formula

  7. #217
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,002
    ah, weird, must be a gcc-specific error. i can fix that, though. we just need to move the initializers further up in the function to shut it up (or i could improve my logic so there's no GOTOs in that function, but im lazy and they work fine)

  8. #218
    Fuel Injected! fbody_Brian's Avatar
    Join Date
    Mar 2013
    Location
    Biloxi MS
    Posts
    166
    That would probably be the best solution, but for now I got it to compile adding -fpermissive to the flags

    Attachment 10065
    at least I can test it on my way to work in the morning
    1994 LT1/4L60E Formula

  9. #219
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,002
    brian i've committed a change to my git repository that should fix that compilation issue for you.

    patch

    https://github.com/resfilter/eehack/...b6bd08c803800c

    new tarball

    https://github.com/resfilter/eehack/archive/master.zip

    c++ is really sloppy. im so used to ANSI c, then c++ does stuff like let me initialize variables in a loop. it really increases potential variable scope complexity.. then makes a GOTO freak out.

  10. #220

  11. #221
    Fuel Injected! fbody_Brian's Avatar
    Join Date
    Mar 2013
    Location
    Biloxi MS
    Posts
    166
    well, compiled with no issue, connected with no issue, datalogged with no issue! Next test.... flashing.
    Only issue is saving the log file, and I expect possibly saving any type of file. There seems to be an issue with file extensions on linux. If you don't manually type an extension then it saves without one. I have this same behavior on datamaster under wine.
    Not a huge deal, if you are aware of the behavior. Just have to type it every time. I guess that possibly setDefaultSuffix(const QString & suffix) could be used, but not sure if it will work. I'll do some testing this evening. So far so good though!


    Attachment 10067
    Last edited by fbody_Brian; 12-31-2015 at 05:30 PM.
    1994 LT1/4L60E Formula

  12. #222
    Fuel Injected! fbody_Brian's Avatar
    Join Date
    Mar 2013
    Location
    Biloxi MS
    Posts
    166
    hmm
    about the file extension issue. Reading QT documentation, I see this:

    QFileDialog::getSaveFileName

    On Windows, and OS X, this static function will use the native file dialog and not a QFileDialog.
    So windows native dialog is probably dealing with the suffix, and since it is not specified QFileDialog isn't?
    Just thinking out loud here.
    1994 LT1/4L60E Formula

  13. #223

  14. #224
    Fuel Injected! fbody_Brian's Avatar
    Join Date
    Mar 2013
    Location
    Biloxi MS
    Posts
    166
    Awesome!
    I compiled it against the 5.6 beta release located here:
    http://download.qt.io/development_re....6/5.6.0-beta/
    1994 LT1/4L60E Formula

  15. #225
    Fuel Injected! fbody_Brian's Avatar
    Join Date
    Mar 2013
    Location
    Biloxi MS
    Posts
    166
    and let me just state how fantastic it is to have this as a native binary running on linux!
    Really stoked about that.
    1994 LT1/4L60E Formula

Similar Threads

  1. 1badcell and thats not the only thing
    By 1badcell in forum Introductions
    Replies: 2
    Last Post: 12-31-2013, 02:25 AM
  2. Replies: 6
    Last Post: 11-27-2012, 09:03 PM
  3. Replies: 2
    Last Post: 11-07-2012, 05:26 PM
  4. Minor thing.
    By historystamp in forum GearHead EFI Forum Support
    Replies: 7
    Last Post: 01-22-2012, 12:00 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •