Search results

  1. J

    SWD with Teensy MicroMod?

    I just found a good deal on an NXP evaluation board. Hopefully it has enough I/O so I can use it to debug my Teensy programs before moving them to the Teensy.
  2. J

    SWD with Teensy MicroMod?

    Paul - if you are planning a Teensy 5... PLEASE bring it to us with debug. I'm begging you here :).
  3. J

    SWD with Teensy MicroMod?

    You are so right! The two signals - SWDIO and SWDCK - are NOT CONNECTED at the Teensy. Geez, they could have mentioned that in the ad copy. That's a hundred fifty bucks down the drain. The artwork on the board is really small - probably beyond my ability to do "little green wires" mods.
  4. J

    SWD with Teensy MicroMod?

    Hello! Yesterday, I received a "Segger Jlink Edu Mini" debug probe. This is supposed to be compatible with all 3.3V ARM Cortex processors. It supports JTAG and SWD protocols. Or so they say... Has anybody got SWD debugging working with the Teensy micromod? When I try the connect command...
  5. J

    Teensy Micromod downloads

    It's the ATP board. Now I need to figure out what goes where. First of all, I need SPI for my display. And, I think an I2C for touch.
  6. J

    Teensy Micromod downloads

    It's a Unitek Y-3198 6-port USB-3.0 hub. I bought it in November of 2019. Works fine with my cell phone.
  7. J

    Teensy Micromod downloads

    Ubuntu Linux. I did accomplish one download. Now lsusb shows nothing when I plug it in. In /etc/udev/rules.d, I see 00-teensy.rules, dated March 19, 2023. I have a Teensy 4.1 also on the desk. That one works fine. This device shows up in lsusb: Bus 001 Device 080: ID 16c0:0483 Van...
  8. J

    Teensy Micromod downloads

    The plot sickens... Apparently it does have the boot chip. Says so right on the schematic. So have I bricked it? When I momentarily hit the "boot" switch, the "prog" light starts to blink on the Teensy card. But there is no USB device. If I press and hold the boot switch for say 10...
  9. J

    Teensy Micromod downloads

    Hello! I just got one of these bad boys. A micromod Teensy card, and an "All ports brought out" micromod motherboard. Put the two boards together, plugged it into a USB C. OK, the micromod port came up in my Arduino IDE. Just to see if I could download something, I set the IDE to...
  10. J

    I find I am confused by USB

    If it isn't true that the Teensy is limited to 8, then how many endpoints can it have?
  11. J

    I find I am confused by USB

    Hello, I'm trying to implement a custom USB type for a ham radio project; I need two serial ports and an audio port. At first glance, it seems simple: Just edit boards.txt to put in the option, and edit usb_desc.h to define the new type, pulling in pieces from other types that have the...
  12. J

    Audio and two serials?

    I shrunk my declarations down to just the two serial ports. It worked. I increased the number of endpoints without enabling the audio... still worked. Then when I enabled the audio - dead meat. The device unable to start, no serial ports, and I had to push the button on the Teensy to...
  13. J

    when teensy 5.0 will comming?

    I wonder how hard it would be to use a bare processor ( with JTAG debug ) and still use the PJRC libraries? I saw a forum post somewhere in PJRC were somebody made a little flexible circuit board. They lifted the boot processor and soldered it on top of this flexible board, and exposed the...
  14. J

    when teensy 5.0 will comming?

    I have gone to the RPI Pico for little utility things. Because it has hardware debug. SO much faster than debug printf()s. But it doesn't have the raw speed of the Teensy.
  15. J

    when teensy 5.0 will comming?

    I dearly hope that the Teensy 5 will have support for hardware debug.
  16. J

    Custom USB option?

    Now THAT's interesting. There are situations where a USB disk drive emulation would come in really handy. Not enough endpoints though.
  17. J

    Audio and two serials?

    I deleted that errant slash after 64, no difference.
  18. J

    Audio and two serials?

    Working on usb_desc.h. I have hijacked the TRIPLE_SERIAL entry. I had to comment out a few lines of code in yield.cpp that wanted that third serial port keying off #ifdef USB_TRIPLE_SERIAL. Unfortunately, it doesn't work. The serial ports don't work, the audio doesn't work, Windows says...
  19. J

    Custom USB option?

    I just asked about this on the "Audio" forum, but I think it's a more general question. The "USB Type" field in the Arduino pulldown has a bunch of options, but not the one I need "Dual Serial + Audio". Somehow, the required libraries are magically included for the option you select; how does...
  20. J

    Audio and two serials?

    Hello, I'm working on a radio project with a Teensy 4.1. At the moment, I use the "dual serial" option. One serial is used for the Arduino IDE, and the second one - to remote control the radio. I'd like to have the radio also audio-communicate with my computer via the USB. In the Arduino...
  21. J

    LTO?

    Arduino IDE is current - 2.3.4. Tools->Board = "Teensy 4.1". Boards Manager->Teensy = "1.59.0 installed". Whups, I clicked "Reload Board Data" and now the LTO options are there!
  22. J

    LTO?

    Hello, I'm working on a shared project with several other people. They are using the "Fast with LTO" option for compiles. My Arduino IDE doesn't show that option - it does not show ANYTHING with LTO. How to get it? They don't remember how *they* got it. Without LTO, my compiles are...
  23. J

    Using GDB with Teensy without hardware debugger, first Beta

    Did that. There was nothing in that directory but logs. I deleted it anyway. No difference. This is BTW on a Windows 10 machine.
  24. J

    Using GDB with Teensy without hardware debugger, first Beta

    I am trying to get this working. Arduino is ignoring changes to boards.local.txt, boards.txt etc. I found a post that said you could make it read them by deleting a user cache - I looked, and the user cache directory only had log files. I deleted it anyway - no difference. This is Arduino...
  25. J

    Display Sometimes INOP

    Yeah. It's ugly. But so far, it works perfectly.
  26. J

    Display Sometimes INOP

    I found a fix. The T41 V12 card has a power up coprocessor. It's an attiny85, and it turns the radio on & off. Before it turns the radio off, it asks permission so the Teensy ( main processor ) has the opportunity to tidy up & save stuff. I modified it to "hiccup" the power. It turns the...
  27. J

    Display Sometimes INOP

    If Bill put them in the board, they're there. I basically stuffed the whole board from the BOM. I discovered that loop() is executed regardless of whether the video works or not; but it gets stuck if the video is INOP. I removed all video activity from loop() and stuck a scope on an...
  28. J

    Display Sometimes INOP

    I doubt that this particular problem is due to SPI issues. Because of the times. I did some tests - if the power is off for 10 seconds, the rig comes up normally. If it's off for 15 seconds, the rig comes up normally. If the power is off for 17 seconds, the display comes up INOP. And that's...
  29. J

    Display Sometimes INOP

    Hello! I'm working on an open-source ham radio project ( T41 ), which has a Teensy 4.1 connected to a 5 inch Buydisplay LCD via SPI. Not sure which version of TeensyDuino I have, but it's a recent one. The problem in a nutshell: Sometimes the display comes up, and sometimes it doesn't...
  30. J

    Teensy 4.0 - how to connect a jtag debugger ?

    *** I love that stuff. Have a good supply of it, left over from my wirewrap days. HOWEVER - looking at that boot chip - I think even the 30-gauge stuff is too big. Or is it? The boot chip is an MKL02Z32VFG4 CPU. It's a 16-pin QFN, and the lead pitch is .5mm. 30AWG wire is listed as...
  31. J

    Default Blinks

    Hello, I'm working on a project with a Teensy 4.1. Am fighting a really strange bug which I shall not describe here... "Full source" would be about 100K lines and 20 files. In the process of troubleshooting, I have performed the Factory Reset procedure. After doing this, the Teensy is...
  32. J

    Visual Micro no link

    Hello, I am trying to get a Teensy project working in the Visual Studio/Visual Micro environment. It does build properly in Arduino 1.8 & also in 2.0. I had to stick the following line in the Visual Micro "Location of IDE" popup for it to even give me the Teensy cards as a choice: (...
  33. J

    Teensyduino 1.57 Released

    This new version seems to have broken Visual Micro ( running with Visual Studio 2022 ). The Teensy cards no longer appear in the boards list. I have asked about this on the Visual Micro forum also.
  34. J

    Protecting the Inputs

    I understand that as a 3.3V device, the Teensy does not like to see more than 3.3V on its inputs. With some sources, it's hard to guarantee that without giving up a lot of the range of the ADCs. What if the source is high impedance? Is there an impedance high enough so the Teensy would not...
  35. J

    Input jittery

    *** Or, change the slew rate? I think that's programmable. Try adding a multilayer ceramic, and make sure it's as close to the T pins as you can. *** I did that. Not for the 3.6kHz though. There's other noise in the box. It's a 600W amateur radio linear amplifier, working from 1.8 to...
  36. J

    Input jittery

    The circuit is simple. There is a thermister hanging from the pin to ground. There is a resistor between the pin and the 3.3V. I am convinced that the square wave is coming out of the Teensy. Actually, I just proved it. I disconnected the ribbon cable from my I/O board, and *yup*...
  37. J

    Input jittery

    No, it didn't. Still jittering by maybe 3 counts. I'd have a better idea if I took off that big cap "bandaid" I put on it.
  38. J

    Input jittery

    Hello! As part of a larger project, I am reading a thermistor. It is hooked to input A4. There is a pullup resistor to 3v3. The readings are extremely jittery. It flashes back and forth over a hundred counts. This morning, I thought to look at that input with a scope, and Lo &...
  39. J

    Frequency Counter

    *** Found it! Totally out of left field. The cap that gives the video card a proper reset - had failed. By total coincidence, at the same time I was doing this pin# change. A 10uF surface mount electrolytic; it was showing .1nF on my multimeter. I bridged it with a 10uF tantalum, and all...
  40. J

    Frequency Counter

    And last night I tried moving the green wire back to digital output 9, where it had originally been. NO CHANGE. The system acts just like it did with pins D7 and D32. Comes up normally on download, white screen on power cycle. The only substantive change I can think of is that I moved the...
  41. J

    Frequency Counter

    On the off chance that there was something magical about digital pin 7, I changed it to 32 - which was closer to the LCD connector anyway. No joy. Same-o same-o. Works on download, doesn't work on power cycle.
  42. J

    Frequency Counter

    Tried that, no joy. ----------------- snip ----------------- void init_spi( void ) { delay( 500 ); spi_bus = new Arduino_HWSPI( 7, 10 ); delay( 500 ); gfx = new Arduino_ILI9341( spi_bus, TFT_RST, 1 ); //landscape mode delay( 500 ); } ----------- endsnip --------------------...
  43. J

    Frequency Counter

    OK, I successfully got the display working off D7, thus freeing up D9 for the frequency counter. One strangeness - the display doesn't come up when I cycle power on the card. But the display does come up when I upload the sketch to the Teensy via USB. It also comes up if I hit the reset pin...
  44. J

    Frequency Counter

    No, didn't know about that. I just looked at it now. Apparently, it uses the qtimers, which I guess do not have the frequency limitation of the GPTs. Alas, I don't think I can use it. There is a very limited subset of pins that can be used with the Qtimers. And the only free one - the one...
  45. J

    Frequency Counter

    Hello! I'm working on a project with a Teensy 4.1. Part of it is a frequency counter. Doesn't have to be super accurate. I need to count up to 50MHz to an accuracy of maybe 10kHz. I found an example on github: https://github.com/manitou48/teensy4/blob/master/gpt2_count.ino The...
  46. J

    Teensy 4.1 Button

    Yeah, it was crashed. This is code I'm porting from a Arduino nano - and there are various strangenesses coming from that architecture.
  47. J

    Teensy 4.1 Button

    Whups, seems like I fixed it. loop() was not running. I guess the code that services uploads is invisibly inserted in there.
  48. J

    Teensy 4.1 Button

    Hello, Working on my project, the Teensy *always* requires me to push the button to program it. Here's what it says: ----------- snip ------------------------- Unable to open COM8 for reboot request Windows Error Info: Access is denied. more ideas...
  49. J

    ARM Registers and Link Map

    Hello, I'm starting up a project with a Teensy 4.1 and an ILI9341 display. Using the Arduino IDE. Have successfully done a "hello world" - the code uploads, the serial monitor works, and the display displays. Woo hoo! I'd like to implement a stack canary - preload the end of the...
Back
Top