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

Search:

Type: Posts; User: Spencez

Search: Search took 0.00 seconds.

  1. Looking at eeprom.c this is the line that...

    Looking at eeprom.c this is the line that generates that error message.
    https://github.com/PaulStoffregen/cores/blob/3c442f9c67ee785ddad921ff5d0a3ebe5a9682ca/teensy4/eeprom.c#L53
    Looks like you...
  2. Right, the button shorts (to GND) the trace that...

    Right, the button shorts (to GND) the trace that the program pin is connected to, so pressing the button and shorting the program pin to GND do the same thing. A quick press will put the Teensy into...
  3. No worries, I would hope it was just a strange...

    No worries, I would hope it was just a strange accident that it was pressed between 13-17 seconds and not that something shorted the program pin for that amount of time.
  4. The Teensy has a LED Blink restore feature if you...

    The Teensy has a LED Blink restore feature if you hold the program button down between 13 and 17 seconds. Is there a chance that this happened? It would also happen if the program pin was pulled low...
  5. Replies
    135
    Views
    14,113

    Done. I have also added some information which I...

    Done. I have also added some information which I hope will be helpful.
  6. Replies
    135
    Views
    14,113

    I have been using this library ever since our...

    I have been using this library ever since our last message and everything has been pretty smooth so far. I did find one issue today when testing client reconnection, if you unplug and plug back in...
  7. Replies
    16
    Views
    1,556

    Thanks for the tip. I was not aware of this...

    Thanks for the tip. I was not aware of this software, it works great!
  8. Replies
    1
    Views
    217

    I do something similar with a device that...

    I do something similar with a device that communicates over RS485. In my case the device has a model which has ethernet but we only have the RS485 model, I was able to use their software and connect...
  9. Replies
    135
    Views
    14,113

    Will I have a similar issue (delay) when I read...

    Will I have a similar issue (delay) when I read the response or is it handled differently than writing? I will be sure to let you know how it goes.
  10. Replies
    135
    Views
    14,113

    Okay so what I am seeing is by design, just call...

    Okay so what I am seeing is by design, just call flush whenever data is time sensitive and if not, I can let the library buffer and send the data when the timer hits to be more efficient? I will try...
  11. Replies
    135
    Views
    14,113

    I tried making the switch over to QNEthernet this...

    I tried making the switch over to QNEthernet this week but I had a few issues/questions.

    First issue I noticed was that the data that I was sending from the Teensy to the PC wasn't being received...
  12. Great! After playing around with it I am able to...

    Great! After playing around with it I am able to read the program on the flash simply by reading a variable pointed to the flash address, I thought I would need a special function to read from the...
  13. Thanks for the clarification and all your work on...

    Thanks for the clarification and all your work on this, this should work perfectly for my needs I just need to send the file over ethernet. Assuming I verify the program with either a CRC or sending...
  14. No worries, in my case I am not using LittleFS, I...

    No worries, in my case I am not using LittleFS, I just wanted to use the flash space between the program and EEPROM for buffering the new program. With the default offsets I was having the issues...
  15. I came across the same issue as @ipaq3115 when...

    I came across the same issue as @ipaq3115 when testing this, I also use the EEPROM in my program and when trying to flash I get "buffer = 0K FLASH (601FC000 - 601FC000)". I decided to use a ram...
  16. Replies
    0
    Views
    109

    USB Serial and TCP Error Detection

    I have an application where I am communicating between a teensy and PC, I was originally connecting a Teensy 4 to the PC using an RS-485 bus in anticipation of a long distance run but have since...
  17. Replies
    16
    Views
    1,556

    Nice work! Glad to see someone else take on the...

    Nice work! Glad to see someone else take on the challenge, it sure is satisfying when you get it working. My setup is VSCode issuing commands to Arduino_debug.exe to build and JLink.exe to upload.
    ...
  18. Replies
    25
    Views
    6,903

    You should be able to establish a J-Tag...

    You should be able to establish a J-Tag connection as long as you connect everything between the Teensy and the MKL02 except TDO, TCK, TMS, TDI. Pins 6, 8, 5, 7 respectively and connect those along...
  19. Replies
    3
    Views
    513

    Paul sells 3x2 pins and sockets and they work...

    Paul sells 3x2 pins and sockets and they work great for custom boards. No clearance issues on my end. I just used this footprint in KiCad https://github.com/XenGi/teensy.pretty
    You can see an...
  20. Replies
    25
    Views
    6,903

    Nice to see someone else giving this a shot. I...

    Nice to see someone else giving this a shot. I have come a long way since my last post, I will share here shortly. One of the issues I had was that the pads were so close together there wasn't much...
  21. Arduino CLI 0.19.0 was just released with support...

    Arduino CLI 0.19.0 was just released with support for pluggable discovery. This is good news, I assume Arduino CLI and Arduino IDE 2.0 Beta are finally ready for Teensy support.
    ...
  22. Replies
    209
    Views
    60,176

    That is a problem. Pin 10 should be pulled high...

    That is a problem. Pin 10 should be pulled high by the MKL02. If this is LOW, I believe pin 9 will also be low which is your power on reset. This means the processor is being held in reset and it...
  23. Replies
    11
    Views
    1,553

    Are you powering it with a LiPo? I remember...

    Are you powering it with a LiPo? I remember reading that the ESC has regenerative braking and it could damage a power supply so you had to use a LiPo to power it. If so disregard, I just remember...
  24. Replies
    11
    Views
    1,553

    You could try his code before going ahead and...

    You could try his code before going ahead and buying one although he explains how he only could get it to work with a KISS ESC, not sure the reason. It should work on either of your Teensy versions,...
  25. Replies
    11
    Views
    1,553

    Are you using a KISS ESC? If so, Give this a...

    Are you using a KISS ESC? If so, Give this a shot.
    https://sbasami-tech.hatenablog.com/entry/2020/08/23/095106
    Specifically this ino....
  26. Replies
    11
    Views
    1,553

    Did you try pin 4? It looks like ESC 1 should be...

    Did you try pin 4? It looks like ESC 1 should be on pin 4 according to the readme on github.
    25421

    Sorry for the simple question, I will try and look deeper into it tomorrow.
    Which version...
  27. Replies
    11
    Views
    1,553

    How far did you get with attempting to use the...

    How far did you get with attempting to use the teensyshot library? At first glance it looks as if once you load the program on to the Teensy you need to write a program on the pc which sends data to...
  28. This may do what you need but it is $199....

    This may do what you need but it is $199. https://www.pemicro.com/products/product_viewDetails.cfm?product_id=15320138&productTab=1
    Only other thing I could find is this article....
  29. It's normal. If you do not have a cable connected...

    It's normal. If you do not have a cable connected it will hang forever.

    You can see it on line 293. I believe it was left that way to be consistent with the original Ethernet library but you can...
  30. First thing I found was this. Not sure if this is...

    First thing I found was this. Not sure if this is related but it's worth a shot either disabling the timer before calling parsePacket then re-enabling it. Alternatively call noInterrupts() and...
  31. You can usually put multiple slaves on one SPI...

    You can usually put multiple slaves on one SPI bus and the CS pin will tell the slaves when they are being communicated with. I believe you should be able to get rid of one of your spi lines and set...
  32. Replies
    1
    Views
    552

    You could use IntervalTimer if you plan to run...

    You could use IntervalTimer if you plan to run these at a fixed interval. This is what I have used to acquire data from SPI and pass data to the main loop....
  33. No problem, hopefully that's the issue. I'm not...

    No problem, hopefully that's the issue. I'm not even sure if UDP_TX_PACKET_MAX_SIZE does anything inside of the library, I quickly searched for it but I didn't get any hits. I would assume it's just...
  34. I noticed you are running outside of the leds...

    I noticed you are running outside of the leds array, the length is 14 and you are accessing up to packetSize which is 24,24,27. It could be causing your problem. The garbage data in your third...
  35. Replies
    0
    Views
    358

    USB Device has Malfunctioned

    I have a project in which I am powering a Teensy 4.0 with 5V directly from a power supply and I have the trace cut so I can still use the USB for acquiring data over serial. I noticed recently that...
  36. Replies
    25
    Views
    6,903

    I will probably upload the files and/or post it...

    I will probably upload the files and/or post it on OSHPark. It requires hot air, good soldering skills and flux.



    I would love if they did this. I feel as if they are waiting until they make...
  37. Replies
    25
    Views
    6,903

    Teensy 4.1 Debug Mod Project

    I have been working on a Teensy 4.1 debugger mod for a month or so now and I figured it was in a good place to share my progress. This project started by de-soldering the MKL02 chip, soldering magnet...
  38. Replies
    5
    Views
    1,667

    That's great Paul! I will be sure to use these...

    That's great Paul! I will be sure to use these for my board. Is there a recommended footprint for the header? I'm sure I could use a similar part's footprint and it would be fine but just to be safe....
  39. No problem. Hope it is really as easy as swapping...

    No problem. Hope it is really as easy as swapping out a part rather than needing another pcb manufactured. I have been fine so far with user libraries, but it is always good to double check them for...
  40. Replies
    5
    Views
    1,667

    Thanks for the suggestion, this is what I am...

    Thanks for the suggestion, this is what I am after for sure. I have not gotten around to making the next revision of my board yet but I will definitely consider these. Since I have posted this I...
  41. Looking at the J0011D01BNL datasheet, it looks...

    Looking at the J0011D01BNL datasheet, it looks like the pinout is different between the J0011 and the J1B1211CCD that PJRC uses?
    Here is the J0011
    23192

    and J1B1211CCD
    23193

    Cable side is...
  42. Replies
    5
    Views
    1,667

    Teensy 4.1 Ethernet pins + socket

    I am making an addon pcb for the teensy 4.1 which will need to passthrough the 48 outer teensy pins along with the 6 ethernet pins. I will use two of the 24x1 Sockets on the pjrc store to pass...
Results 1 to 42 of 42