Search results

  1. M

    Alternative boot loader for WiFi firmware updates on Teensy 4.1?

    Perhaps I exaggerate a bit! Sorry! 😂 To assess the true level of my coding ability one might glance briefly at my LockDownRadioControl repo on GitHub.
  2. M

    Alternative boot loader for WiFi firmware updates on Teensy 4.1?

    I wonder if I might ask a little favour? To help me get started, and to get something working, please would you write brief and unambiguous instructions? What to do after downloading the .zip file. As if I were 6 years old! I guess I’d better use the Teensyduino IDE (I usually use PlatformIO so...
  3. M

    Alternative boot loader for WiFi firmware updates on Teensy 4.1?

    Thanks for your support. It’s needed.
  4. M

    Alternative boot loader for WiFi firmware updates on Teensy 4.1?

    … can’t wait to try it! Sorry I’m a bit slow. Sometimes life gets in the way. But I will do this in a few days’ time! Meetings in London today. Boring! Waste of good coding time ! 😁
  5. M

    Alternative boot loader for WiFi firmware updates on Teensy 4.1?

    Good idea thank you! I’ll try the example(s) on another Teensy 4.1 with a trivial bit of code. I’m hoping that as I gain understanding I’ll see how to implement it into a real application. We have other projects on development now so this will be great for other things too! Many thanks.
  6. M

    Alternative boot loader for WiFi firmware updates on Teensy 4.1?

    Hey that’s really great news! Thank you so much. I apologise for being a bit of scared beginner. I only started to learn C++ (a bit) in 2020. I’m really a musician. Oboe. The code I plan to use it for is the lockdown radio control I mentioned earlier. It’s quite a big project now. Updates...
  7. M

    Alternative boot loader for WiFi firmware updates on Teensy 4.1?

    I’ve looked at FlasherX, and I’ve paused because I couldn’t easily understand how to implement it safely, and he warns that incorrect use can render a Teensy useless. I will look and think further. I’d love to find a method I can easily implement (in PlatformIO) and properly understand. He does...
  8. M

    Alternative boot loader for WiFi firmware updates on Teensy 4.1?

    https://github.com/Mmessiter/LockDownRadioControl
  9. M

    Alternative boot loader for WiFi firmware updates on Teensy 4.1?

    I shall of course. Might take me a while. I’m not great at all this but I have learned a lot developing ‘Lockdown Radio Control’ . I never imagined it’d become useable, but it’s now working wonderfully and my local model flying club is now using two of these for training new pilots - using the...
  10. M

    Alternative boot loader for WiFi firmware updates on Teensy 4.1?

    Thank you very much indeed! I will read and read some more. I think it might be possible now!
  11. M

    Alternative boot loader for WiFi firmware updates on Teensy 4.1?

    I had not heard about FlasherX! Thank you I will investigate! It’s a hell of a title…
  12. M

    Alternative boot loader for WiFi firmware updates on Teensy 4.1?

    Thank you very much. The implementation of this plan seems to be both very desirable and almost impossible for people like me who lack in-depth understanding of all the hardware. I wonder if there’s a way round this. Teensy 4.1 is utterly fantastic, but mass market applications are handicapped...
  13. M

    Alternative boot loader for WiFi firmware updates on Teensy 4.1?

    I want to be able to update the firmware in a Teensy 4.1 over WiFi for user convenience. I asked ChatGPT 4o how to, and it suggested I add an ESP32 to my system which could easily accept the new firmware and put it on the Teensy’s SD card and then reboot the Teensy. Then the Teensy‘s boot...
  14. M

    SD card read via usb on Teensy 4.1

    Indeed it’s far simpler to just remove the card of course. But, so far, I’m working on three projects where repeatedly removing the card to examine its contents is needed and this is costing us extra time - especially when the card and the Teensy 4.1 are inside a closed case. If my spending an...
  15. M

    SD card read via usb on Teensy 4.1

    Thanks Paul! I will try what you suggest. Will it let me see the built in sd card via the usb port I use to upload firmware?
  16. M

    SD card read via usb on Teensy 4.1

    I meant the built in SD card, and the usb connector we use to upload the firmware. Sorry if wasn’t clear. If, after uploading code and testing, I could look at the SD card contents without taking out the card and without moving any connectors that’d save lots of development time.
  17. M

    SD card read via usb on Teensy 4.1

    Hello Using a Teensy 4.1 with sd card, is it possible to read and write files on the sd card via the usb connector? If yes, how?!
  18. M

    A Suggestion

    Indeed - I’m quite surprised it works so well. Modellers expect FHSS between 2.401 and 2.482 GHz so that’s what I did. The Teensy 4.x is so quick my code need not be terribly clever. It’s plenty fast enough! The needed range is really only to the limit of eyesight. We must see the model to...
  19. M

    A Suggestion

    Fair point! Hadn’t thought of that. Currently these are rather well separated- and the EByte transceivers put a full Faraday cage around the nRF24L01 too. I suppose that’d be harder on a smaller scale. I’ll live with things as they are - working rather well!
  20. M

    A Suggestion

    I mean a tiny circuit board with all the needed bits on! - instead of two boards. Pardon me - I was unclear earlier.
  21. M

    A Suggestion

    I have a suggestion for a new chip: For the last three years, I have been flying RC Models controlled by my “LockDownRadioControl” radio which uses a Teensy 4.0 in the receiver plus a MLO1SP4, which is a chip from EBYTE that incorporates the NRF24L01 plus. The combination is fabulous. It just...
  22. M

    Data type with Teensy4.0

    My other blunder You might be amused to learn that I was rather more stupid than I had thought. The 64 bit variable (inside a union{}) I had been using was in fact only 32 bits wide. That’s why I’d thought only 32 bits were being compared. I’ve fixed it now and apologise again for my blunders...
  23. M

    Data type with Teensy4.0

    My mistake! It’s ok! I have traced the error. It was mine. But not in the code! It was operator error! And I was the operator! Because I had moved receivers around between models, of course the Teensy 4.0 complete with its unique MAC address moved too. I’d forgotten i’d moved it. So the...
  24. M

    Data type with Teensy4.0

    My similar tiny test also refused to fail! Something as yet untraced is going on here. I apologise if I wasted your time. Incidentally, the unique Mac number of each Teensy 4.0 (in each model) Is used to identify the model. Of course it’s not a full 64 bit number. I think it’s only 48 bits...
  25. M

    Data type with Teensy4.0

    64bit integer compare issue I’m using latest Mac OS on M1 Max and PlatformIO in VS Code. I’ll test in a tiny sketch to see if it can be demonstrated. I suspect it’s comparing the higher 32 bit and ignoring the lower.
  26. M

    Data type with Teensy4.0

    The full code is over 12,000 lines. All on GitHub “LockDownRadioControl”
  27. M

    Data type with Teensy4.0

    Here’s the code: void CompareModelsIDs(){ // The saved MacAddress is compared with the one just received from the model ... etc ... uint8_t SavedModelNumber = ModelNumber; if (ModelMatched) return; // must not change when model connected GotoFrontView()...
  28. M

    Data type with Teensy4.0

    I’ve just found that testing two 64 bit integers for equality returns true sometimes when they are different! (On Teensy 4.1) To fix the error I had to test the lower 32 bits ‘&&’ the higher 32 bits. This fixed it! I wonder why? Malcolm Messiter
  29. M

    Customer site Firmware Download

    Thank you! I shall …
  30. M

    Customer site Firmware Download

    I wonder - did you get it working? ie. Did you load Teensy 4.1 firmware from SD card? I also need to do this so any advice Would be very welcome! Malcolm
  31. M

    Wire1 on Teensy LC ?

    Not to worry! Thanks anyway. The only changes for Arduino (… and other Teensys) are unavoidably the I2C PIN numbers. But I guess you know that! … I can simply use another type of Teensy. I love the Teensys!
  32. M

    Wire1 on Teensy LC ?

    That code (with appropriate changes) works on Teensy 3.x and Arduino. But not on Teensy LC yet! Thank you for investigating! I’m very new to all this. I’m a musician really. But the radio control works really well! 😁👍
  33. M

    Wire1 on Teensy LC ?

    https://github.com/Mmessiter/LockDownRadioControl/pulls
  34. M

    Wire1 on Teensy LC ?

    It’s all available on my GitHub repository (under LockDownRadioControl -> Browse source )
  35. M

    Wire1 on Teensy LC ?

    I must confess I didn’t get it working on LC, yet. Instead I used 3.2 and 3.5 and even a 3.6. If you look briefly at my SendorHubLC under my LockDownRadioControl repo on GitHub you might spot the issue. It’s short. I apologise I’m rather ignorant but learning fast. I was a musician (oboe). I...
  36. M

    Wire1 on Teensy LC ?

    Yes Wire1 is re-implemented (without which it won’t even compile ) Must check the stop interrupt - seems a likely culprit ! Many thanks!
  37. M

    Wire1 on Teensy LC ?

    Hello! I encountered a very interesting issue today using I2C links on a Teensy LC. I wonder if anyone knows why. I was using a Teensy LC in a new “sensors hub” device, which is part of my LockDownRadioControl project (it’s all on Github). It uses Wire (SDA0 and SCL0) to read several sensors...
  38. M

    Serial.print now causes mysterious code malfunctions!

    Thank you! I’m deeply ashamed! I have just found and fixed the error. It was mine. While setting up the transmitter, but not yet connected to a receiver, my code was trying and retrying to send data and generally getting its knickers in a twist. I just added a few lines to skip that bit during...
  39. M

    Serial.print now causes mysterious code malfunctions!

    Thanks! I’m not serial printing from an interrupt handler - it is indeed the usb serial device - the Teensy is also doing other serial outputs to a Nextion screen (on serial3). The misbehaving looks to me like a memory overrun because some text data acquires random characters. I’m not using the...
  40. M

    Serial.print now causes mysterious code malfunctions!

    perhaps I should add: - Im using Teensy 4.1 and PlatformIO Malcolm
  41. M

    Serial.print now causes mysterious code malfunctions!

    Hello While continuing to develop my lock-down radio control project (which is now quite large) I've noticed that using Serial.print or Serial.println now causes mysterious malfunctioning of my code. This of course makes debugging harder! How can I fix this ? I hope someone knows!! Thanks in...
  42. M

    Teensy 4.0 with PlatformIO - Serial.print ???

    Thank you! Having found that little ‘plug’ it works fine now and I feel a bit like an idiot! 😀
  43. M

    Teensy 4.0 with PlatformIO - Serial.print ???

    Today I decided it was time to put the Arduino IDE to one side and get going at last on PlatformIO ! It’s now installed and mostly working just fine; but for one tiny but very irritating issue: Code compiles, uploads, and runs without any errors but Serial.print displays nothing anywhere even...
  44. M

    Model helicopter flys on Teensy powered Lockdown Radio!

    You might like to see this! https://youtu.be/2enQ8KVxY2w
  45. M

    Data compression for radio control

    Hi I was so fascinated by the result of today’s effort I felt I ought to share it in case others find it useful or interesting. I’ll put the full (short) code at the end. The issue was that my radio control model servos have a max resolution of about 1024 positions. (... I’m developing a...
  46. M

    Add audio to existing large Teensy 4.1 project?

    Thank you very much Michael! Yes I have several serial ports free still. I had hoped to store .wav files on the micro SD card that the Teensy 4.1 has built in, because I’m already using a card there for flight data and it’s got masses of unused capacity still. Do some of your options let me...
  47. M

    Add audio to existing large Teensy 4.1 project?

    Hi I read with great interest about the fabulous audio possibilities of Teensy 4.x. I’m using a Teensy 4.1 as MCU in a new full featured radio control system for model helicopter flying I’m developing. I’d like to add audio to this system so that the transmitter can ‘speak’ to the user. Can...
  48. M

    Access sd card via usb?

    I agree - perhaps just at the moment the effort and complexity exceed the result value. I might await a simpler solution which I gather is on the way. Meanwhile I plan to perfect my comprehensive radio control system which is looking really robust and useful - especially after today’s helicopter...
  49. M

    Access sd card via usb?

    I think I should have installed one or two things first - I will try again. I was preoccupied today because I took out a large model helicopter to a field, and for the first time ever, I flew it, controlled by my own home made radio control!! I was very excited as the radio system worked...
  50. M

    Access sd card via usb?

    I tried that link - the two examples won’t compile without lots of errors so I guess I must have missed something. What might that have been?
Back
Top