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

Search:

Type: Posts; User: jdredd

Search: Search took 0.00 seconds.

  1. Quick look, shouldn't variable names be defined...

    Quick look, shouldn't variable names be defined globally? sine, patchCord1 , patchCord2, patchCord3 ? outside of the setup?

    so always there and not blasted afterwards by memory manager over...
  2. Replies
    3
    Views
    255

    I had tried to look in the sym file like I have...

    I had tried to look in the sym file like I have before, but didn't quite go so well.

    I do have 4 places that use sprintf so will inspect around those to see if related to blowing it up.
  3. Replies
    3
    Views
    255

    CrashReport , addr2line returns ??:?

    Teensy 4.1 with Teensyduino 1.56 beta 2
    Arduino IDE 1.8.16

    I have the general area of my problem... but its a big section of stuff of many steps and data flinging.

    Haven't quite tracked it...
  4. If I have time this weekend, I may try and get...

    If I have time this weekend, I may try and get the QNEthernet working in here. I didn't do so yet as everything for most part "worked" ... thread was a stumble, but it is good now. So far since the...
  5. Throw this out there... why not use the Ethernet...

    Throw this out there... why not use the Ethernet adapters? ( unless missed it in this thread )

    Static IP setup each device and A simple network switch? or DHCP things with A simple router?

    I...
  6. Replies
    4
    Views
    386

    Interesting... if got any kind of STL of just a...

    Interesting... if got any kind of STL of just a base design of that? I can give it my brother to work with. He can make some pretty good looking prints and all that but still learning himself on...
  7. Replies
    4
    Views
    386

    Yah making a lip that the board back side slides...

    Yah making a lip that the board back side slides under and holds it down maybe. There is a 1mm or so part of the board there to work with maybe... be tight fit to wedge in there like that.

    Maybe...
  8. Replies
    4
    Views
    386

    How to hold network jack for Teensy 4.1

    Working with my brother to 3D print me a case.

    With the teensy 4.1 kit, I have the ethernet adapter setup for it.

    There are no holes in the board itself to screw down to anything.

    It has the...
  9. I figured not exactly thread safe, but for just...

    I figured not exactly thread safe, but for just simple testing, the NatvieEthernet seemed to die.

    Now.. I can't answer exactly why, but just playing around, I did do this


    webThreadID =...
  10. Good examples of threading + simple web server on 4.1?

    Using Teensy 4.1
    8mb ram added
    16mb flashmem added
    32gb SD card
    Arduino IDE 1.8.16
    Teensyduino 1.56 beta 2

    Using TeensyThreads.h and NativeEthernet.h

    Is there any good examples of...
  11. Well the 1.56-beta2 seems ok. Program still...

    Well the 1.56-beta2 seems ok.

    Program still compiles and runs and been over 10 minutes and still going strong.
  12. Oh nice! Sorry I didn't look at Beta notes. I was...

    Oh nice! Sorry I didn't look at Beta notes. I was figuring something I broke since I am new to this.
  13. 26515 If I switch to the other Com... COM13...

    26515

    If I switch to the other Com... COM13 (Teensy) in this case, I left it up for over 20 minutes and no problem.

    Switch back to COM13 Serial (Teensy 4.1) and pretty much "dies" in under A...
  14. -Windows 11 -TeensyDuino 1.55 Don't quite...

    -Windows 11
    -TeensyDuino 1.55

    Don't quite get this? "If using the Teensy Serial Monitor choice from ports?"

    26513

    SOMETIMES it seems ok and go 10-15+ minutes and it is happy.

    Data wise,...
  15. Teensy 4.1 - Serial Monitor stops reporting, and have to restart monitor?

    I am send/recv serial data from A device.

    Serial monitor showing stuff that I am outputting via Serial while its running.

    Serial monitor eventually stops showing anything I am outputting to...
  16. Using fixed variable values... 16,32,64,128,256...

    Using fixed variable values... 16,32,64,128,256 to fill in variables of N0, N1, N2, N3, N4
    So data not real. But It looks good.

    Start
    Formula for ENGINE SPEED
    Original Formula : ((N1 << 8) +N2)...
  17. For me its fast enough... 50 items, 4 times a...

    For me its fast enough... 50 items, 4 times a second, for 200 a second....

    So being able to process 53,000+ A second is now over kill :)

    I am sure this is slow on A 16mhz Arduino... but on the...
  18. It pretty much instantly blasts through 78...

    It pretty much instantly blasts through 78 formulas.

    147ms to process 78 formulas in A row, 100 times. So for 147ms to calculate 7800 simple formulas.

    I think it is safe to say that this runs...
  19. Speed wise seems very good. Thinking of adding a...

    Speed wise seems very good. Thinking of adding a 2nd sketch showing A number of the simple formulas of mine running one after another and timing it.

    I should use BING more. Use it from time to...
  20. I made A fork of this for Arduino life. ...

    I made A fork of this for Arduino life.

    https://github.com/jdredd87/expression_parser
  21. Yah makes total since. printf by itself, i guess...

    Yah makes total since. printf by itself, i guess has no where to go on output.

    Renamed it from .C file to .CPP

    Added Arduino.h so can have access to Serial and changed those to Serial.printf...
  22. 26507 was the printf call. Commented them out...

    26507

    was the printf call. Commented them out and got NAN back.

    Only two print type calls.

    Both printf calls are an issue of sorts.

    I guess pd.error and expr are dead for whatever...
  23. Doing say 3+3 works 3+tacos ... well. Does...

    Doing say 3+3 works

    3+tacos ... well. Does not. And when it does, it causes the crash report we see.

    26506

    It's most def in the parser code.

    I just can't follow at what exact point it is...
  24. Thanks... all ready been trying to figure that...

    Thanks... all ready been trying to figure that out. CrashReport gives only A little info.

    26503

    26504

    26505
  25. http://jamesgregson.blogspot.com/2012/06/mathemati...

    http://jamesgregson.blogspot.com/2012/06/mathematical-expression-parser-in-c.html

    This one "works" I think... I had to modify the source to add >> << support so could do shift left and shift...
  26. Sorry, updated post. Teensy 4.1 being used. ...

    Sorry, updated post.

    Teensy 4.1 being used.

    The goal is to let end user put type in a formula string. Anything that fits the bounds of the parser. Nothing big. Formulas for converting incoming...
  27. Any recommendation for formula expression parsing?

    The project i've been working on has been converting some old code I wrote for Windows.

    Teensy 4.1 is being used.

    I had a nice package for formula parsing that made life easy.

    All the...
  28. Replies
    11
    Views
    1,128

    Right now I have A small MicroUSB to USB C...

    Right now I have A small MicroUSB to USB C adapter plugged in. PLUS, A USB extension cable with a nice on/off switch.
    Working out pretty well.

    26500
  29. Replies
    4
    Views
    340

    Thanks. Just removed SdFat all together and any...

    Thanks. Just removed SdFat all together and any unique code to it. And just use SD.h using the BUILTIN_SDCARD and all is working now it looks.
  30. Replies
    4
    Views
    340

    LitteFS and SdFat together issues?

    Using A Teensy 4.1

    Windows 11 Platform

    TeensyDuino 1.55 installed

    Arduino IDE 1.8.16

    I have 8mb ram and 16mb QSPI chip.
  31. Replies
    7
    Views
    1,029

    I'll have to see next time I'm at the one in...

    I'll have to see next time I'm at the one in Sharonville Ohio. Worked there from 1999-2007 in the service department.

    Usually the area with all the microcontrollers and such is pretty well layed...
  32. Using the LittleFS QSPI example to test it and it...

    Using the LittleFS QSPI example to test it and it worked fine. Detected the full 16mb size.
    Able to format/read/write/ect.

    So pretty happy it worked out in the end. Just when I opened up...
  33. I ordered some flashmem and what I ordered, was...

    I ordered some flashmem and what I ordered, was not what I got.

    Apparently they sent me 25Q128JVSQ chips.

    Soooo.... is there A "25Q128JVSQ for dummies" guide to reduce all this down to make it...
  34. Replies
    11
    Views
    1,128

    I'd gladly take an extra 1/4" longer board for...

    I'd gladly take an extra 1/4" longer board for USB C plug on it.

    The firmer, nicer plug just so much more desired. Only plus on big Arduinos is having the big USB B plug. Never hurt one of...
  35. Replies
    11
    Views
    1,128

    Good to know I am not the only one :) My 2nd...

    Good to know I am not the only one :)

    My 2nd Teensy 4.1 that should show up tomorrow, I am gonna epoxy the port to help brace it some.
  36. Replies
    11
    Views
    1,128

    Next new Teensy , USB-C Please.

    My only gripe with my Teensy 4.1 board. Is no USB-C connector.

    I am so over micro USB connectors.

    I know this will change costs to most likely higher but I myself would love having USB-C style...
  37. Replies
    91
    Views
    7,791

    Think this may help solve an issue I am fighting...

    Think this may help solve an issue I am fighting with the old Ethernet lib?

    If ethernet cable not plugged in and try to fire up


    Ethernet.begin(macAddr, IPAddr);

    Freezes up things. I wait...
  38. Teesny 4.1 Project - GM OBD2 scanner project.

    I wrote an old Windows program to use A certain box to talk to GM vehicles for fast scanning.

    It worked well, but always had to lug around A large box and laptop.

    The hardware box could...
  39. Replies
    8
    Views
    918

    Also the slowdown issue I had on startup of my...

    Also the slowdown issue I had on startup of my program. All my fault :)
    Debug stuff from the Pi Pico stuff to deal with serial monitor. Removed it and blamo. Fast.
    Missed it when I blew through my...
  40. Replies
    8
    Views
    918

    Thanks. I don't have the RTC/Battery anything...

    Thanks. I don't have the RTC/Battery anything hooked up at the time.
    I don't 100% need it but would be nice so when logs are made I can have A true time stamp.
  41. Replies
    8
    Views
    918

    Well I ended up switching my project over... Took...

    Well I ended up switching my project over... Took me under 20 minutes to rip out the Pi Pico and put in the teensy 4.1 and to update my code.
    Only thing not done is the SD card support, just...
  42. Replies
    8
    Views
    918

    Thanks i'll check these out. I had some I threw...

    Thanks i'll check these out. I had some I threw away of no name brands. They were to flakey.
  43. Replies
    8
    Views
    918

    Teensy 4.1 Review

    My Teensy 4.1 kit from Amazon showed up today.

    I didn't even fire it up before soldering it up.

    Added both 8mb chips for 16mb total.

    Soldered up the RJ45 setup.

    Soldered on the pins.
Results 1 to 43 of 43