Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: jbliesener

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    460

    Looking at the memory map, I see there's a 1K...

    Looking at the memory map, I see there's a 1K memory block called "__malloc_av". That seems to be related to newlib's mallocr function, which uses, by default, a 4K page size. There's another,...
  2. Replies
    1
    Views
    460

    malloc fails on Teensy LC

    WARNING: THIS IS A VERY TECHNICAL POST, LOOKING DEEP INTO TEENSY'S RUNTIME LIBRARY

    Running Teensyduino 1.41 on Arduino 1.8.1 (Arduino version shouldn't make too much of a difference, as the...
  3. Check out Rob's Youtube channel at...

    Check out Rob's Youtube channel at https://www.youtube.com/channel/UCH0Hn9fKd5f3CfYmYIssGTg/featured
  4. Very fun project. Glad I could help.

    Very fun project. Glad I could help.
  5. Replies
    1
    Views
    1,687

    How to request new USB configs?

    Is there any suggested procedure for requesting another USB configuration to be added to boards.txt?

    From what I see in this thread, it requires some synced changes to usb_desc.h and to...
  6. Replies
    2
    Views
    1,725

    New discoveries - gets even weirder...

    Tracking it down further. raflyer gave an important clue. It also seems to have to do with the initial delay(5000) statement from line 7 in the sketch. Reducing this delay() brings the sketch alive. ...
  7. Replies
    2
    Views
    1,725

    Just to add versions: X-Plane 10.45 (doesn't...

    Just to add versions:

    X-Plane 10.45 (doesn't seem to matter)
    X-Plane-plugin from Github
    Arduino 1.6.9 (same problem with 1.6.5)
    Teensyduino 1.29beta (same problem with 1.27)

    Teensy 3.1 or...
  8. Replies
    63
    Views
    41,766

    OK, thank you, Paul. I've posted the issue...

    OK, thank you, Paul.

    I've posted the issue (https://forum.pjrc.com/threads/34536-Flightsim-USB-Stack-Teensy-freezing?p=104612#post104612), together with a minimal sketch that doesn't require any...
  9. Replies
    2
    Views
    1,725

    Flightsim USB Stack, Teensy freezing

    I'm stuck with a problem that I believe to be in the USB flightsim stack. The attached minimal sketch demonstrates the issue. It doesn't require any additional hardware and only needs X-Plane with...
  10. Replies
    63
    Views
    41,766

    Paul, I've just sent you a personal mail with a...

    Paul, I've just sent you a personal mail with a very specific issue (maybe timing related) in the Flightsim USB stack. If you want, I can repeat it here, but I'm not sure if the required level of...
  11. Replies
    16
    Views
    3,006

    Rob, for a systematical debugging, I suggest a...

    Rob,

    for a systematical debugging, I suggest a multi-level approach:


    Limit your output rate. A delay is one thing, but even better to transmit data through USB only if something has changed....
  12. Replies
    52
    Views
    9,996

    Just one question: do you guys put the Teensy in...

    Just one question: do you guys put the Teensy in one of the power-down modes (VLLS3 and deeper)?

    The new bootloader chip comes with a code that allows software-based debugging, but effectively...
  13. Replies
    11
    Views
    2,511

    @defragster You won't download directly from that...

    @defragster You won't download directly from that link. It's a base address of the update site that you specify in Eclipse's "Install new software" dialog and Eclipse will do the rest.

    FYI, my...
  14. Replies
    11
    Views
    2,511

    @defragster The latest quick series of changes in...

    @defragster The latest quick series of changes in Arduino required had considerable impact on both Teensyduino and the ArduinoEclipse plugin, so the 2.2.0 branch won't run with Arduino 1.6.5.

    You...
  15. Replies
    26
    Views
    8,997

    That's what I was about to suggest, but you were...

    That's what I was about to suggest, but you were faster than I :).

    I have another exercise for you: right now, on startup the four instruments zero one after the other. First NAV1, then NAV2,...
  16. Replies
    26
    Views
    8,997

    See, that's what I said about looking at the...

    See, that's what I said about looking at the whole sketch. This definitely won't move. It's about local and global variables. Maybe, you don't know that concept yet.

    Some variables need to be...
  17. Replies
    26
    Views
    8,997

    Aaaand, we have another problem. Thinking about...

    Aaaand, we have another problem. Thinking about it, the negative and positive moves will take the currentPosition out of the valid range when the compass crosses zero. Easy to see: start with a zero...
  18. Replies
    26
    Views
    8,997

    Sorry, Rob, first there were several typing error...

    Sorry, Rob, first there were several typing error on my behalf.

    It was late and I didn't look close. Yes, it should have been cwSteps and ccwSteps. The code shouldn't even have compiled, as...
  19. Replies
    26
    Views
    8,997

    Rob, some comments: Your code doesn't...

    Rob, some comments:



    Your code doesn't show how and where the currentPosition variable gets its value from. However, the first line of the code above converts currentPosition from steps to...
  20. Replies
    26
    Views
    8,997

    For the 360 -> 0 transition on the compass,...

    For the 360 -> 0 transition on the compass, there's a simple solution. There are always two ways to get from a current position to a target position: clockwise (positive) and counterclockwise...
  21. Replies
    3
    Views
    1,302

    Can you tell us the range of the values that are...

    Can you tell us the range of the values that are written by Serial.println? Maybe you could also try output the angle you're actually writing to fmotor.
  22. Replies
    26
    Views
    8,997

    Wow, good to hear, Rob. I'm impressed. Seems...

    Wow, good to hear, Rob. I'm impressed. Seems you've made your way through the software jungle.

    Kudos.
  23. Replies
    6
    Views
    2,205

    The "target" folder of the Github repository...

    The "target" folder of the Github repository holds a fully compiled binary for all architectures (Windows, Linux and OSX, all in 32 and 64 bits). X-Plane calls this a "fat plugin", it's a specific...
  24. Replies
    6
    Views
    2,205

    Although I believe that your problem is...

    Although I believe that your problem is unrelated, the plugin on the PJRC site (http://pjrc.com/teensy/td_flightsim.html) is a bit outdated. Teensyduino version 1.25 brought some improvements on the...
  25. Replies
    11
    Views
    2,511

    I admire stevech's experience and his...

    I admire stevech's experience and his contributions are always worth considering, however, I find Arduino Eclipse (http://eclipse.baeyens.it/) worth trying - as long as you don't have any spaces in...
  26. Replies
    16
    Views
    8,339

    I ordered my T3.2 on Monday and I'm anxiously...

    I ordered my T3.2 on Monday and I'm anxiously waiting for it to arrive. Robin beat every record in shipping it: The time between the order and shipping confirmations was 40 minutes!!!

    The thing is...
  27. Replies
    17
    Views
    3,613

    ...as well as on the Teensy 3.1:...

    ...as well as on the Teensy 3.1: https://github.com/micropython/micropython/tree/master/teensy

    RAM and FLASH are a limiting factor, though...

    I found the Esprunio pico...
  28. Replies
    5
    Views
    2,986

    No, I'm not talking about Teensyduino libraries....

    No, I'm not talking about Teensyduino libraries. I'd be happy to run the Kinetis SDK libraries, but I don't know how to configure the basic processor settings in KDE Studio, especially clocking....
  29. Replies
    5
    Views
    2,986

    stevech, I tried as well, didn't like it...

    stevech,

    I tried as well, didn't like it either. But did you make it up to a usable project template that we can use on the Teensy? I managed to understand the pin mapping module, but my troubles...
  30. Replies
    8
    Views
    8,162

    And is there any place on Github where I can...

    And is there any place on Github where I can contribute a new example for the FlightSim classes (File > Examples > Teensy > USB_FlightSim > ...)? I would like to demonstrate the usefulness of the...
  31. Replies
    7
    Views
    2,302

    Rob, I can't reply to your private message. The...

    Rob, I can't reply to your private message. The forum software tells me that you're out of quota and have to delete some private messages before I can send you more.
  32. Replies
    559
    Views
    199,726

    Does that indicate that you're inclined towards...

    Does that indicate that you're inclined towards defragster's suggestion?



    If so, I'd vote for 1.27mm pitch to facilitate hand-soldering. Or two rows with 1.27mm pitch and 2.54mm distance...
  33. Just to replicate what was published on other...

    Just to replicate what was published on other threads, for those that follow only this one.

    I have done some work on the X-Plane plugin and USB controls. The current version fixed the exit crash...
  34. Replies
    15
    Views
    5,491

    Good to know, Rob. If anybody's interested, the...

    Good to know, Rob. If anybody's interested, the code is available in two Github repositories:



    https://github.com/jbliesener/cores contains the patches to the Teensy core library
    ...
  35. Good to know, Rob. If anybody's interested, the...

    Good to know, Rob. If anybody's interested, the code is available in two Github repositories:



    https://github.com/jbliesener/cores contains the patches to the Teensy core library
    ...
  36. Replies
    559
    Views
    199,726

    @jasper: The idea of the high density connector...

    @jasper: The idea of the high density connector came from defragster, I don't deserve those credits...

    In message 235, Paul has indicated that he doesn't like the idea too much. However, seeing...
  37. Replies
    8
    Views
    1,499

    The ones that Micro Center sells as their own...

    The ones that Micro Center sells as their own brand at the checkout desk ($3.99 for 4GB) always surprise me. I bought a bunch of 10 for my Cansat project and I had at least 3 different error modes....
  38. Replies
    559
    Views
    199,726

    +1 for JTAG. Actually, a quick survey around here...

    +1 for JTAG. Actually, a quick survey around here gives +5.

    Maybe, 4 PWMs aren't sufficient for the drones and robotics folks, they might complain. I also find a second I2C far more important than...
  39. Replies
    13
    Views
    3,601

    The problem with the MCP4725 is that you can only...

    The problem with the MCP4725 is that you can only have two of them on the I2C bus, as their address is almost fixed. You only have one bit (A0) that you can set either to high or to low. Therefore,...
  40. Replies
    13
    Views
    3,601

    That would be my question as well. I know Rob's...

    That would be my question as well. I know Rob's building a 737 flight simulator and I guess it's one of the instruments. Sorry that I'm questioning your use case here, but I'd really like to know...
  41. Replies
    559
    Views
    199,726

    Paul, could you post the ALREADY ASSIGNED pins as...

    Paul, could you post the ALREADY ASSIGNED pins as well, please? I guess the mapping is different on the K66, so it would be interesting to know what alternate assignments are possible...
  42. I agree. However, the serial number suggests that...

    I agree. However, the serial number suggests that it's a very new one.
  43. @AbeOwitz, yes, the hex file you sent runs on...

    @AbeOwitz,

    yes, the hex file you sent runs on my Teensy 3.1 without any problem. It blinks the LED and prints "Hello World" every 400 ms.

    I know that you guys double and triple checked it all,...
  44. Replies
    559
    Views
    199,726

    http://www.freescale.com/webapp/sps/site/prod_summ...

    http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=K66_180
  45. Replies
    559
    Views
    199,726

    Thank you, Paul. Now we know what we can expect....

    Thank you, Paul. Now we know what we can expect.



    That's fine. Note, though, that you didn't promise any specific year for Christmas... ;)



    Uh, that might be a bummer. Maybe you could add...
  46. Replies
    3
    Views
    1,393

    Rob, one more thing. Try to avoid the delay()...

    Rob, one more thing. Try to avoid the delay() function in updateGsDeviation(). It might interfere with your other controls and reduces their update rate.

    You could use something like this. Check...
  47. Thank you Paul, from my side as well. The...

    Thank you Paul, from my side as well.

    The other question is: WHY did the Op-Amp fail? Maybe it's worth looking for the root cause...
  48. Replies
    3
    Views
    1,393

    Rob, analogWriteResolution() is global for all...

    Rob,

    analogWriteResolution() is global for all pins. So, if you set it in updateEgt1Gauge(), it will interfere with the values you write in updateGsDeviation() and updateCourseDeviation().

    You...
  49. I see. So you want to identify different roles. ...

    I see. So you want to identify different roles.

    You COULD do this by changing the product name. There are some things to keep in mind, though:


    These two threads explain how to do it:...
  50. You can use the serial number, which is unique...

    You can use the serial number, which is unique and pre-programmed on every Teensy. No need to change anything. This thread (https://forum.pjrc.com/threads/25522-Serial-Number-of-Teensy-3-1) explains...
Results 1 to 50 of 165
Page 1 of 4 1 2 3 4