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

Search:

Type: Posts; User: jrdarrah

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. To close this topic out. I did some more testing...

    To close this topic out. I did some more testing using spare teensy 3.2s and regulators. They all worked fine for power up via battery. That lead me back to the regulator soldered in my circuit...
  2. what modules are executed before entering setup

    I want to do some low tech debugging (blink LEDs) to see how far teensy gets with my slow start power supply. Before I begin I need to know what modules are executed, and in what order, before setup...
  3. confirmation of slow power up

    I finally got my cheap digital oscilloscope and did confirm that I have a slow power up. Attached is a picture showing the startup delay caused by the TPS6120 used in the Pololu 5V boost regulator....
  4. battery power connection

    Reply to Kurt:

    Hopefully someone who is less electrically challenged than me, will be able to give a more definitive answer.

    Note: when I first read the message, it was not clear to me, what...
  5. Blink runs on teensy 3.2, USB powered but will not always start when using battery

    I've been having this problem on a sketch I'm working on but to remove all extraneous information I can recreate the problem with blink.


    ...
  6. extern definition got the program working, but still not via battery

    Thanks for the help. The hook now gets called when using USB to power but not when running via battery even though I see 4.67V at VIN. I have a scope coming next week to look at the power supply rise...
  7. how do I use startup_default_middle_hook in my program

    I think I have a slow power supply problem with my Teensy 3.1 when running it via 2 AA batteries and a 5V up converter. I want to see how far into the startup code it gets before it hangs. I have a...
  8. I wanted to close this thread out with a summary...

    I wanted to close this thread out with a summary of what didn't work and what worked, Most of the time.

    After experimenting I finally decide that I have a slow power supply. I tried adding delays...
  9. I tried several things today. Since the software...

    I tried several things today. Since the software detect of VIN looks like it will work I deleted the resistors R5 & R8 from my board (see the schematic I attached earlier) to disconnect them from...
  10. I'm assuming it still works because the red led...

    I'm assuming it still works because the red led stays on and has never given the no LED or blue LED symptom when disconnecting the USB cable.

    My scope is an old Tectronix so with single shot the...
  11. Thanks for the quick reply. Agreed this sketch...

    Thanks for the quick reply. Agreed this sketch does nothing but I know it is running because of the delay(1000). When powered via USB it is noticeable. When powered by the battery whatever it does,...
  12. problem running teensy 3.2 on external power instead of USB

    I found this odd behavior while trying to debug some code to detect a USB connection. I kept removing code and hardware to get to the root cause of the teensy 3.2 not running the sketch if powered by...
  13. Replies
    24
    Views
    481

    snevermind, I added eeprom_initialize(); to my...

    snevermind, I added eeprom_initialize(); to my program and now it works on both newer processors. Would the initialize set the eeprom to all zeros? If so I'll just use the initialize instead of my...
  14. Replies
    24
    Views
    481

    how can I call the initialize in my code before I...

    how can I call the initialize in my code before I clear it out?
  15. Replies
    24
    Views
    481

    the EEPROMex is an extension to the EEPROM code...

    the EEPROMex is an extension to the EEPROM code to make saving data types easier. I've used it for years without problem. The EEPROM code it uses seems to be this one - C:\Program Files...
  16. Replies
    24
    Views
    481

    this may be a duplicate. Not sure where my last...

    this may be a duplicate. Not sure where my last reply went. El Supremo I order all of my Teensy boards from PJRC. I want to support them and also know I'm getting genuine boards and not a cheap...
  17. Replies
    24
    Views
    481

    Sorry to be adding more information along the way...

    Sorry to be adding more information along the way but I wanted to see what was different between the older board that worked and the two newer ones that didn't.

    The processor chip that worked was...
  18. Replies
    24
    Views
    481

    the read example didn't use isReady or...

    the read example didn't use isReady or eeprom_is_ready which is what the EEPROMex calls. I looked at the code and the isReady goes back to in eeprom.c found in C:\Program Files...
  19. Replies
    24
    Views
    481

    I did some experimenting and found that the two...

    I did some experimenting and found that the two Teeny 3.2 boards that I bought from PJRC.COM recently show the error where the eeprom never returns ready. I found an older board that I've had for...
  20. Replies
    24
    Views
    481

    EEPROM not ready on new Teensy 3.2

    I started using a new teensy 3.2 for some code that references EEPROM data. The code works on another older 3.2. In trying to debug the code I extracted the part of the larger program to only...
  21. Thanks for the quick reply. I added the code you...

    Thanks for the quick reply. I added the code you suggested and that fixed the problem. I'll keep in mind your comment about the RST pin if the display starts to act up as I build out my sketck.


    ...
  22. ILI9341 White screen with touch pins connected - Teensy 4.1 & audio shield

    Yesterday, I opened another thread when with just the Audio shield and the TFT display I couldn't get past the white screen. Wouldn't play sound either. My thanks to Ayer Massachussetts for steering...
  23. That did it. Thanks, now on to the touch screen...

    That did it. Thanks, now on to the touch screen inputs.
  24. tft white screen and no sound with Audio board Rev D tutorial 3.3 with teeny 4.1

    I'm trying to run the "Add TFT Display" tutorial and all I get is a white screen and no sound when playing from the 4.1 SD card. The sound board and hardware work when running the tutorial playing a...
  25. I wanted to close this thread out. The original...

    I wanted to close this thread out. The original question was how to detect if a USB device was connected to the teensy. The thread starts with a query on reading the USBDCD_STATUS register. As it...
  26. Thanks for the help. My program doesn't freeze...

    Thanks for the help. My program doesn't freeze but it also doesn't work as I thought. When this runs I get "USBDCD_STATUS = 0". I was thinking that since the sketch uses the serial over USB that ...
  27. This may be a duplicate, for some reason the...

    This may be a duplicate, for some reason the reply I just did didn't take

    I still don't have it working. I did find some information on the nxp website in addition to the "K20 Sub-Family...
  28. how do you access the USBDCD_STATUS register

    I would like to detect if a USB device is connected and it looks like the USBDCD_STATUS register would be a good place to start. From the kinetis.h file I found this.

    #define...
  29. Thank you for responding. My application can be...

    Thank you for responding. My application can be battery powered or USB powered. It allows a MIDI connection (using serial). I want to restrict calls to it so they are allowed if there is an active...
  30. How can you tell if there is a usb connection on a teensy 3.2

    I found an old question that did not give what teensy the code was running on. This didn't work for me on the 3.2. I dug around and found the processor manuals and I can't find something similar for...
  31. Replies
    0
    Views
    305

    MIDI code when USB port is disconnected

    I've created an electronic instrument that uses a MPR121 to read fingerholes. A timer scans for input 256 times a second. This would be fingerholes in manual mode or MIDI.read if in MIDI player mode....
  32. Thanks for running this test. us latency is...

    Thanks for running this test. us latency is acceptable for my project
  33. teensy 3.2 EEPROM read/write/update performance

    Before I set out to find or write a sketch to measure Teensy EEPROM performance, I'll ask. I tried looking in the CPU manuals and couldn't find out how long it takes to 1) write 1 byte to EEPROM...
  34. I moved the serialInput call to loop and removed...

    I moved the serialInput call to loop and removed all the code inside dumpEEPROM to stop and restart the interrupts. It works as designed, thank for the help
  35. Yes, it still fails without any starting/stopping...

    Yes, it still fails without any starting/stopping of the interrupts. That code was added to help me see if the serial printing was terminated when another interrupt occurred. Since it didn't help...
  36. to fill in the blanks. Yes T3.2, this code is to...

    to fill in the blanks. Yes T3.2, this code is to help me diagnose a logic error and is driven by typing "q" on the terminal. The rest of the code works fine. if I enter another serial command it...
  37. I made them char s[5]; char h[3]; Same...

    I made them
    char s[5];
    char h[3];

    Same result. As I said in my original post, if I copy the dumpEEPROM code to a new sketch without any interrupts defined the code prints a dump of all 2048...
  38. is there a way to pause or stop i2c in isr mode so serial.print will work properly

    I'm trying to use Serial.print to dump some storage. If I copy the code to a new sketch it works and dumps properly. I do have other timer interrupts defined but I end them all before entering the...
  39. thanks. I do have a Benq monitor.

    thanks. I do have a Benq monitor.
  40. This is what came up on com16 --...

    This is what came up on com16 -- FTDIBUS\COMPORT&VID_0403&PID_7A58. I associated this with the teensy, but I just ran a test without a teensy attached to the usb port and com 16 still comes up. It...
  41. It also works with IDE 1.87 and loader 1.44. It...

    It also works with IDE 1.87 and loader 1.44. It was the cable. I looked at the two I tried and failed with. Both were similar and grabbed from my cable box. I'm thinking now that they were from...
  42. You may be on to something. I tried a third USB...

    You may be on to something. I tried a third USB cable and everything worked. At 1.8.4 and 1.39. Tomorrow I'll repeat with everything up level and post the results.
  43. As a final test for tonight I went back to my...

    As a final test for tonight I went back to my previous levels -- 11.8.4 for the IDE and 1.39 for the loader I thought it was 1.42 but the previous installer was at 1.39. In the loader I see it doing...
  44. Latest attempt. I uninstalled the com16 device...

    Latest attempt. I uninstalled the com16 device and plugged in a new 3.5 still running blink. I see the led flashing slowly.

    in device manager com16 came up as usb serial device so it is the...
  45. just tried and got the same result. In the past,...

    just tried and got the same result. In the past, in the ide, the board type
    came up next to the com port. I know the board is com 16 since that is what comes up after I delete it and plug the...
  46. this may be a dup since my previous post didn't...

    this may be a dup since my previous post didn't show up. I did a clean install - uninstalled arduino ide. stopped antivirus then installed arduino ide and teensyduino code. I did notice that the...
  47. after upgrading to Arduino IDE 1.8.7 and Teensy loader 1.44 no teensy boards detected

    I recently upgraded to the latest Arduino IDE, 1.8.7 and the latest version ot teensyduino, 1.44 on my windows 7, 64 bit professional system. Now the IDE doesn't find any teensy boards. I've tried...
  48. need more information on sethandleStop, sethandleStart, setHandleContinue for usbMIDI

    I've created a device that accepts player input and generates the musical tones internally. I have added an option to receive MIDI input from my PC and play it through the note generation code I...
  49. Replies
    2
    Views
    1,795

    I have the CLI version and it too requires the...

    I have the CLI version and it too requires the button be pushed. When the new code is loaded via the Arduino IDE it too uses the teensy loader but it doesn't require the button be pushed. I guess...
  50. Replies
    2
    Views
    1,795

    teensy loader problem

    It may be self induced but I'm trying to use Teensy.exe on a windows 7 machine to load a .hex file to a Teensy 3.2. This works fine when using the Arduino IDE but I need to be able to send update so...
Results 1 to 50 of 83
Page 1 of 2 1 2