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

Search:

Type: Posts; User: amensch

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    35
    Views
    13,586

    Hello Paul, Sorry this is so late, 8 years after...

    Hello Paul, Sorry this is so late, 8 years after your post. We're running into an issue with the Teensy 4.0 on a new project. in the above 'simple & cheap' version, should you catch the Teensy...
  2. Replies
    2
    Views
    150

    Sorry Paul, That's what's got me. I'm not sure...

    Sorry Paul, That's what's got me. I'm not sure where the problem is, all looks good. Right up till the loader stops and asks you to hit the Teensy button.
    I guess I need to dig into just what...
  3. Replies
    2
    Views
    150

    Teensy 4.0 command line loader

    This is more of a linux question wrt. the Teensy command line loader. Using the 4.0, and we've recompiled to loader for a Tordex Colibri environment. Had it working great for 3.2. Now, getting...
  4. Replies
    0
    Views
    69

    Wire, I2C & Teensy 4.0

    Hello All,

    Are there any thoughts out there on any of the enhanced versions of Wire.h? This is for a Teensy 4.0 based product we wish to deploy for road testing soon.

    I made the mistake of...
  5. If she doesn;t hum it whilst soldering, send her...

    If she doesn;t hum it whilst soldering, send her a link to "Soldering" a reggae song by Hall & Oats. Definite nice earworm when you flick on the Weller. :)
  6. Thanks KurtE, Will check in on them. Enjoy the...

    Thanks KurtE,
    Will check in on them. Enjoy the jellybeans!
  7. Just to chime in with bigboosted here...... ...

    Just to chime in with bigboosted here...... Good to know Paul. I'm sure you'll get PJRC's people and business through this. Who'd have thought?
  8. Semi-Covid related question? I hate to...

    Semi-Covid related question? I hate to patronize any business that are stayng open (no matter how vital) which are not seriously stepping up their game wrt. their employees, and the general public...
  9. Replies
    20
    Views
    1,953

    Thanks blackletter..... I was wondering if that...

    Thanks blackletter.....
    I was wondering if that were the problem, because I think the version we have installed was last summer. Teensy 4.0 was fall 2019 I think. Will check that out,
    Again,...
  10. Replies
    20
    Views
    1,953

    Teensy 4.0 loader on Linux SBC

    Hello All,
    I'm trying to load a hex file for Teensy 4.0 on a ubuntu IoT SBC. This worked great on the 3.2, but I get an unknown MCU type "imxrt1062" when I modify the command for Teensy 4.0 like...
  11. Reply to defragster's post above.....

    If I understand what you suggest then, I'd set an IRQ timer at say 50mS, and in the IRQ just quickly check SerialX.available and pull out of the serial buffer into the circular buffer. Sort of...
  12. Thanks Defragster.... Here's how I'm looking...

    Thanks Defragster.... Here's how I'm looking at this at the moment... Teensy 4.0 has 5 serial ports. It's a generic case..... suppose one wished to really use that capacity at 'high' data rates...
  13. Thanks defragster. Good to know TeensyDuino...

    Thanks defragster. Good to know TeensyDuino 1.5 is out. Also that calling and passing over the loader is normal.

    I have a bit of a program design question I've been thinking about.....how to...
  14. OK, that's interesting....I closed the teensy...

    OK, that's interesting....I closed the teensy loader, and hit the Verify/Compile checkmark (ctrl-R) at the upper left of the IDE, NOT the upload arrow next to it. The result was that the loader did...
  15. Another update...

    Sure enough, it did appear to link and write the hex file
    18925

    But the other directories were empty. I opened the .hex file and it looked OK (as near as one can tell unless you're at a...
  16. continued from above......

    Follow-up: It appears to be an environment problem? Blinky.ino gives the same error. Namely

    Teensy Loader could not find the file Blinky2.ino

    quitexit status 1
    Error compiling for board...
  17. Dual Teensy Dual LIDAR IoT Frankenstein project

    Hello All,

    Apologies in advance, I know this is something simple stupid.

    Just received the first run of some new PCB's which hold two Teensies, and have connectors for Benewake LIDARS. It...
  18. Replies
    13
    Views
    475

    Thanks KurtE. Great context to move ahead. ...

    Thanks KurtE. Great context to move ahead.
    BTW, you're right on the 400KHz. Playing with that and using 2.5K external pullup resistors I was able to run the Garmin LL3's at 1MHz, But not...
  19. Replies
    13
    Views
    475

    Hmmmm.... closer..... I included Wire.h,...

    Hmmmm.... closer..... I included Wire.h, but am getting errors like:
    error: 'I2C_PULLUP_INT' was not declared in this scope
    Wire.begin(I2C_MASTER, 0x00, I2C_PINS_18_19, I2C_PULLUP_INT,...
  20. Replies
    13
    Views
    475

    Garmin did get the I2C address issue fixed in...

    Garmin did get the I2C address issue fixed in March 2019, so as you mention, there's great flexibility with the T4 to solve this. Startup hiccups from when Garmin bought the LL3 design from the...
  21. Replies
    13
    Views
    475

    Thanks for looking it over. Very good stuff...

    Thanks for looking it over. Very good stuff defragster & mjs513!

    Including Arduino.h did the trick wrt the serial errors! Why did it compile for the T32 and not the T4?

    You're right,...
  22. Replies
    13
    Views
    475

    Right files now included.....

    Sorry guys, I did indeed zip & upload the wrong file(s) 18798 is the monster messy version. I've since put together a combination of the two, bringing over a bit of code at a time to get a...
  23. Replies
    13
    Views
    475

    Teensy 4.0 not compiling Teensy 3.2 code

    Hello All,

    Apologies to professional programmers for how nasty the attached project code 18796 will appear. This project compiles without error for Teensy 3.2 under Arduino IDE 1.8.9 and...
  24. Replies
    179
    Views
    19,696

    How to start a thread?

    Drop one level under the main forum to one of the sub-groups there and a new thread can be started there.
  25. Replies
    2
    Views
    169

    Having a similar problem here migrating working...

    Having a similar problem here migrating working code from T3.2 to T4, except that I get compiler errors like: error: 'Wire' was not declared in this scope
    Wire.begin(I2C_MASTER, 0x00,...
  26. Replies
    179
    Views
    19,696

    This is probably not the best place for this...

    This is probably not the best place for this question...... I'm migrating a project from Teensy 3.2 to Teensy 4.0. The compiler is generating a lot of errors like TFmini.cpp:13: error: 'Serial3'...
  27. Replies
    6
    Views
    817

    Problem solved: After some work with the I2C...

    Problem solved: After some work with the I2C calls & a memory dump to Garmin, they did a firmware update to get the I2C alternate addressing to work. If you wish to run dual LL3 LIDARS on a...
  28. Hello All, Going through this now..... using...

    Hello All,
    Going through this now..... using Teensy 3.2 soldered on to a carrier PCB. Got here through: https://www.pjrc.com/store/ic_mkl02.html
    But what I was hoping to find when I came across...
  29. Thanks for the suggestions all..... will poke at...

    Thanks for the suggestions all..... will poke at them a bit. ;-)
  30. Compiler between Arduino and Visual Studio for Teensy?

    Hello All,
    Does anyone have a recommendation for an IDE/compiler that's a step-up from Arduino, but not necessarily as complex as Visual Studio?
    Thank You,
    -John
  31. Thumbs up! Fellow EE here too..... Fortran...

    Thumbs up! Fellow EE here too..... Fortran and punch card era. I've seen a few posts by folks just getting started that sort of lead me to the instrumentation issues.

    In any event, glad...
  32. Replies
    0
    Views
    253

    LIDARLite library and i2c_t3

    Hello All,
    I've had a bit of trouble switching addresses on the Garmin LIDARLite. It's reading distances marvelously, but to use two on a single I2C bus, thus far making i2c_t3's wire calls has...
  33. Replies
    6
    Views
    817

    Duh. Duh. Duh.

    Duh. Duh. Duh.
  34. Replies
    6
    Views
    817

    Trying something like this... doesn't return the...

    Trying something like this... doesn't return the high and low bytes, rather I think it's hung.......getting out the o-scope.......
    ...... a little more readable.....will work on that.

    ...
  35. Replies
    6
    Views
    817

    Sorry Pete, it's just part of a much larger...

    Sorry Pete, it's just part of a much larger program not really meant to post as 'compiler ready'. The defines for UNIT_ID_HIGH, etc, are indeed insluded in a .h file, I just kept a commented out...
  36. Replies
    6
    Views
    817

    Completed (?) source for moving LidarLite to new I2C address

    Hello again All,
    More on switching Garmin LIDAR Lite I2C address... needed if you want to share two on a single I2C bus.

    I'm going to work on the assumption that the "High:48 Low:128" bytes...
  37. I posted a thread this a.m. with a teensy bit of...

    I posted a thread this a.m. with a teensy bit of error checking which I'm trying to make a bit more elegant. Some I2C functions return an 'ack', and I'm mentally wrestling with how deep to go...
  38. Replies
    6
    Views
    817

    LIDAR Lite address move

    Good Morning All!

    I'm getting two LIDAR's (Garmin Lidar Lite V3 (not HP)) together running from one Teensy 3.2. Had this working once a year back, but am having an issue getting back to where it...
  39. Elbarfo, the noise you may be just seeing could...

    Elbarfo, the noise you may be just seeing could be artifacts of where your scope ground is referenced, how good the common mode rejection of the probe is, and that sort of 'instrumentation' issue. ...
  40. If the I2C running freely when the motor is...

    If the I2C running freely when the motor is running, but 'isolated', it's an indication of the "power supply topology / bypass caps" issue. If you put a resistive load, or an opto-coupler on the...
  41. Can't quite make out the horizontal us/div scale,...

    Can't quite make out the horizontal us/div scale, but that's OK. The 1000 uF cap is way out at the end of the power distribution chain. I'd put it closer to the Garmin, right near the slip rings. ...
  42. "I2C dies" jumps out at me..... do waveforms go...

    "I2C dies" jumps out at me..... do waveforms go to heck? Perhaps you're running the I2C too fast for the pullups you have? With my particular prototype, I got as high as I2C_RATE_1000, which I...
  43. Hello Elbarfo, Is it just the PWM output...

    Hello Elbarfo,

    Is it just the PWM output alone, or the PWM output when the motor is connected? I saw a post where the 680 uF cap on the LIDAR was omitted or wired poorly and caused I2C issues. ...
  44. Probably a little late for this, but..... first...

    Probably a little late for this, but.....
    first get your MCU from the list produced by: teensy_loader_cli --list-mcus
    then use the -s switch
    Usage: teensy_loader_cli --mcu=<MCU> [-w] [-h] [-n]...
  45. Replies
    21
    Views
    2,704

    Duh! Slapping myself upside the head. You're...

    Duh! Slapping myself upside the head. You're right. wire.h is included in LIDARLite_v3HP.cpp
    I'm wondering how to get LIDARLite_v3HP.cpp to recompile with i2c_t3.h included? I'm not finding...
  46. Replies
    21
    Views
    2,704

    It can't be long now....... ;-) But...

    It can't be long now....... ;-) But perhaps what I'm doing wrong is more fundamental. Should I be able to include i2c_t3.h instead of wire.h and compile? I went back to basics, blink.ino,...
  47. This is a cooool project! I think DD4WH was...

    This is a cooool project! I think DD4WH was describing a double L filter perhaps? 14084 This is a single L, with an inductor instead of the 2K resistor. I suppose the DC current requirements...
  48. Replies
    21
    Views
    2,704

    I think it did fix the one drive problem, because...

    I think it did fix the one drive problem, because WaveFilePlayer compiled. But I must say I had also deleted the Arduino sketch folder from OneDrive, and did a few other random acts of OneDrive...
  49. Replies
    21
    Views
    2,704

    Thanks Paul. :) And anti-thanks to uSoft for...

    Thanks Paul. :) And anti-thanks to uSoft for OneDrive. Another good idea for taking over the world gone wrong.......who'd a thunkit?
    -a
  50. Replies
    21
    Views
    2,704

    The 1.8.5 arduino-builder was 3,291,136 bytes. I...

    The 1.8.5 arduino-builder was 3,291,136 bytes. I deleted it, and replaced it with the latest nightly build (downloaded about noon today EST) and it's 12,014,592 bytes.

    I copied the...
Results 1 to 50 of 52
Page 1 of 2 1 2