C
Reaction score
1

Latest activity Postings About

    • C
      No. I believe the way PJRC boards work is that their proprietary bootloader chip is attached to the JTAG pins and can thus force software updates on the main MCU by flashing it over JTAG. So, you can't have connection to JTAG because the...
    • C
      I didn't expect that putting objects in RAM2 was a problem. I guess that was my mistake. When reading here https://www.pjrc.com/store/teensy40.html it plainly says that you must write the initial values as they can't be auto populated but I guess...
    • C
      Ok, so this might be a slightly weird one... I have a very large program that uses a whole lot of RAM. If I don't move some things to RAM2 then RAM1 overflows and the program dies. But, it seems when I use the below lines: DMAMEM...
    • C
      Yeah, sounds entirely possible. On the Due I wrote some routines to boot to one of two zones. This worked well because the Due has a selector bit that selects one of two banks upon start up so you can switch. You do then need for your interrupt...
    • C
      CollinK replied to the thread Help with Teensy Loader.
      This may not help but it is seemingly somewhat related: I took the published teensy_cli_loader and fixed it up to correctly do automatic soft reboot on Windows and Linux (I copied someone else's solution for Windows so I don't want to really...
    • C
      CollinK replied to the thread Overflowing RAM.
      yeah, I'm aware of ways to mitigate the problem. I originally posted to get help but midway through the post I figured it out. But, I felt it was still worth a post in the off chance that someone might find it while searching and read all our...
    • C
      CollinK posted the thread Overflowing RAM in Project Guidance.
      I'm using Platform IO and it seems to be using the 1.58 version of the Teensy support files. Here is what is reported at the end of my compile: teensy_size: Memory Usage on Teensy MicroMod: teensy_size: FLASH: code:332920, data:94080...
    • C
      I would open the file once and then keep writing to it. That is, open it in setup, write to it in loop. You already have myFile as a global variable so this will work. Periodically you may then need to do myFile.flush() to make it actually write...
    • C
      There is a problem with async writes to SDCards though. It takes an indeterminate amount of time to write to an SDCard. Sometimes it is essentially the speed at which you can write across the interface. But, sometimes one or more sectors must be...
    • C
      The other consideration is third party copies. Let's say your product gets popular. There is likely nothing that will stop a dedicated person from copying your circuit board and reading the ID numbers and letters on the tops of chips to reverse...
    • C
      CollinK replied to the thread GCC 11.
      Like kd5rxt-mark said, you might be getting a value from elsewhere. One thing that has helped me is realizing that modern Arduino has printf. So, it can be as simple as Serial.printf("retrySBDIX: %u\n", retrySBDIX); so that you're sure what...
    • C
      CollinK reacted to kd5rxt-mark's post in the thread GCC 11 with Like Like.
      Again, just another guess without being able to look at your complete code: what is after the code snippet that is shown ?? The second instance of Serial.println(retrySBDIX); is terminated with a semicolon, but there is also an opening brace...
    • C
      The Teensy boards do have hardware debugging. In fact, it's hooked up and everything. The problem is that the PRJC boot chip is the one connected so there is no prevision for another device to also be on the JTAG pins. What may be the path of...
  • Loading…
  • Loading…
Back
Top