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

Search:

Type: Posts; User: Frank B

Page 1 of 10 1 2 3 4

Search: Search took 0.05 seconds.

  1. @Paul: BigArray example: It would work to...

    @Paul:
    BigArray example: It would work to create/initialize a "new" stack in the handler.
    But this does not work with your 8 secs delay before reboot, you have to disable interrupts globally....
  2. CRLF: Thats why simple tests are better.. ...

    CRLF: Thats why simple tests are better..

    Don't know why acessing LPUART3 does not crash. Is it enabled?
  3. Not sure if you want to see this... char...

    Not sure if you want to see this...



    char bigArray[256 * 1024]; //256 kb

    void setup() {
    Serial.begin(9600);
    Serial.print(CrashReport);
  4. @Paul: Is there *any* chance to make the red LED...

    @Paul: Is there *any* chance to make the red LED blink? With a bootloader update? maybe by using "bkpt #42"? You said you're going to work on it..

    It would allow to indicate crashes when no...
  5. @Kurt: Have you tried write-accesses? There might...

    @Kurt: Have you tried write-accesses? There might be a difference.

    Re: interrup priority 0: Changing it because of USB would mean that it would need a lower priority than USB?
    Don't know if that...
  6. What I meant was half-word or byte accesses. But...

    What I meant was half-word or byte accesses. But so far I could not find an example that would crash.
    I'd say we don't dont need it.
  7. Replies
    11
    Views
    993

    @jonr: What Teensy model? And is it...

    @jonr: What Teensy model?
    And is it AudioInputUSB or AudioOutputUsb?

    @Paul: There is an open PR re: Muting Audio Usb
  8. Good Morning :) It works for lpspi3. 0 is...

    Good Morning :)
    It works for lpspi3.

    0 is highest priority.
  9. There is probably an unaligned access in...

    There is probably an unaligned access in startup..
    Unaligned accesses are allowed on our cortex-m7. There are only some registers where it is forbidden. I'll try to find one to see if, and in which...
  10. @Paul, yes, a watchdog should be used. That's...

    @Paul, yes, a watchdog should be used. That's right.
    Is there an api? SHould we add one?
  11. @Mike: Oh, if it crashed, we should probably turn...

    @Mike: Oh, if it crashed, we should probably turn on "unaligned" after all.
  12. I used a short program: #include...

    I used a short program:


    #include "crashreport.h"

    void setup() {
    pinMode(LED_BUILTIN, OUTPUT);
    delay(1000);
    Serial.print(CrashReport);
    Serial.println("ready");
  13. We can test the faults for div/zero and...

    We can test the faults for div/zero and unaligned accesses - but i woudn't activate them for "production".
  14. Bus fault: *(uint32_t *)0x4039C010 = 0; ...

    Bus fault:

    *(uint32_t *)0x4039C010 = 0;

    Works after setting SCB_SHCSR |= (1<<18) | (1<<17) | (1<<16);
  15. Have you tested an Instruction access violation?...

    Have you tested an Instruction access violation?
    if you want to add it to your tests, here his how to force it:


    void (*iav)(void) = (void (*)(void))(0x00000000);
    iav();


    (and yes,...
  16. Replies
    11
    Views
    993

    Unable to open COM16 for reboot request ...

    Unable to open COM16 for reboot request
    Windows Error Info: Zugriff verweigert
    more ideas... https://forum.pjrc.com/threads/40632?p=126667&viewfull=1#post126667
    Previously selected Teensy port...
  17. Replies
    2
    Views
    189

    Got my PCBs yesterday. Pretty fast.

    Got my PCBs yesterday. Pretty fast.
  18. Replies
    14
    Views
    131

    Does it always stop at 165660?

    Does it always stop at 165660?
  19. I hope a connected flamethrower or 100KW electrc...

    I hope a connected flamethrower or 100KW electrc motor on your motorcycle will be switched off during these 8 seconds..

    Editing setup does not work as I showed in the example above. It just does...
  20. Does not work: #include "crashreport.h" ...

    Does not work:



    #include "crashreport.h"

    class crashme {public:crashme(){*(uint32_t *)0 = 0;}};
    crashme foo;

    void setup() {
  21. What happens if the crash happens before setup()?...

    What happens if the crash happens before setup()?
    This can happen with classes. Or if you programm things for the audio library. If the init of audio crashes, it will be before setup(). How do you...
  22. Can't you simply add a switch " CrashReport...

    Can't you simply add a switch " CrashReport on/off" to the Arduino-Menü? It should use a default which prints to USB Serial. In a way that a user don't has to modify the program.
    And it should be...
  23. I have tried this out. It is irritating that the...

    I have tried this out.
    It is irritating that the reboot happens after 8 seconds after the crash. Is this planned and if so for what reason?
    I had understood that the message is shown 8 seconds. I...
  24. Replies
    2
    Views
    189

    PCBs for free (shipping incl.)

    ALLPCB now offers PCBs for free - with shipping incl.
    so.. 0$. NO cost.

    I tried that. Friday, I ordered a set of 5 PCBs, shipping UPS. Now I got a mail from UPS that they will be delivered...
  25. Replies
    4
    Views
    159

    Would be cool for the FS in Flash..

    Would be cool for the FS in Flash..
  26. For me: 82 merged PRs (only in "cores") 25100

    For me: 82 merged PRs (only in "cores")
    25100
  27. LOL, yes, indeed I closed now some of my older...

    LOL, yes, indeed I closed now some of my older still open pullrequests. I do that from time to time, when there is no repsonse from anyone.
    Yes, I test all of them - at least I try it. Sometimes,...
  28. ? What do you mean? 2014, there was no Teensy 4 ...

    ? What do you mean?
    2014, there was no Teensy 4

    Usually I test my PRs before committing them.. so yes it works for me.
  29. Sorry for depriving you of the fun of fixing the...

    Sorry for depriving you of the fun of fixing the bug.... .. Now, I could not resist, too.

    https://github.com/PaulStoffregen/cores/pull/572/commits/1da44a8ac2a14d19c25db4f62f37730c118c529b
  30. Descriptor: -------- Audio Control...

    Descriptor:



    -------- Audio Control Feature Unit Descriptor --------
    bLength : 0x0A (10 bytes)
    bDescriptorType : 0x24 (Audio Interface Descriptor)...
  31. modified usb_audio.cpp: int...

    modified usb_audio.cpp:


    int usb_audio_set_feature(void *stp, uint8_t *buf)
    {
    struct setup_struct setup = *((struct setup_struct *)stp);

    Serial.println(setup.bCS);
    ...
  32. I had a long wait. I think it was 10 secs or more...

    I had a long wait. I think it was 10 secs or more before running the user code. It needs to be long because the user needs to be informed about the crash. As said, if something prints rapidly, or...
  33. Just use single byte transfers. 24Bit = 3 Bytes.

    Just use single byte transfers. 24Bit = 3 Bytes.
  34. Replies
    11
    Views
    993

    Weird: I'm using Pauls Teensy4 + CS42448 board...

    Weird:

    I'm using Pauls Teensy4 + CS42448 board he sent me some time aqo for testing. No other Hardware, only well known, good active speakers.
    F_CPU 150MHz.
    I was listeing radio through my PC,...
  35. AudioInputUSB : muting does not work (Win 10)

    AudioInputUSB : On my system, muting does not work (volume slider works).

    25097

    Teensy 4
  36. There are a couple of ways. The compiler just...

    There are a couple of ways. The compiler just needs to know the defines before it compiles the project. You can do it with platform.io. Lunis system has a way to do it. Defragster has a TSET that...
  37. Have you considered a user defined "panik"...

    Have you considered a user defined "panik" message? Like DIE("Unrecoverable state. Stopping.")?
  38. I think it was to give the user the chance to...

    I think it was to give the user the chance to read the fault messages before the sketch prints thousands of lines and scrolls the message away, or crashes again.


    For temperature, (was it...
  39. Replies
    11
    Views
    993

    I get this warning: ...

    I get this warning:


    C:\Arduino\hardware\teensy\avr\libraries\SdFat\src\ExFatLib\ExFatPartition.cpp: In member function 'bool ExFatPartition::freeChain(uint32_t)':...
  40. Good Idea. Perhaps with a additional test for...

    Good Idea.

    Perhaps with a additional test for enabled overclocking .
  41. Yup, be default "div by zero exceptions" are...

    Yup, be default "div by zero exceptions" are disabled. And it is good as it is to maintain Arduino compatibility.
    But it would nice to a simple call that enables them instead of having to set the...
  42. I hope you are feeling better, Michael. I can...

    I hope you are feeling better, Michael.
    I can empathize with you a bit, a few months ago I was in the hospital for a short visit, in the stroke unit. Not nice.
    It makes you rethink your priorities....
  43. What exactly means "Not working" and what errors...

    What exactly means "Not working" and what errors do you see?
    Missing data? corrupted data? No data?
  44. No, no plans for an update. As far as I know,...

    No, no plans for an update.
    As far as I know, Michael Meissner has a working version.
  45. Replies
    147
    Views
    55,474

    Blackaddr, what value did you choose for RA9?

    Blackaddr, what value did you choose for RA9?
  46. Replies
    25
    Views
    1,329

    The focusrite is a host? Really? I thought...

    The focusrite is a host?
    Really?

    I thought it was just a usb device. All teensy 3.x or 4.x can act already as a USB audio device.
    The user Blackaddr has a made a nice guitar interface with...
  47. Replies
    524
    Views
    68,420

    The question is which codec. Regardless which...

    The question is which codec. Regardless which codec you choose, there will always be users who don't like it and want an other codec or whatever. Same for any other additional parts.
    A minimalistic...
  48. Replies
    86
    Views
    7,451

    @Paul: Would you merge a PR that adjusts Audio...

    @Paul: Would you merge a PR that adjusts Audio SAMPLE_RATE for USB-audio automatically (or at least for 48k)?

    I really need 48k (and I guess some others, too) ... for usb audio.
    If you want to...
  49. Replies
    6
    Views
    360

    A long term goal is to make everything compatible...

    A long term goal is to make everything compatible with multithreading (reentrancy etc), so far nothing was done in this regard, and I think these things would be very helpful.
    Same for preparatory...
  50. Replies
    6
    Views
    360

    I'm just a customer, too :) Yes, fixing bugs and...

    I'm just a customer, too :) Yes, fixing bugs and to contribute code@ Github is a good thing. Sometime it can takes a long time until it gets merged, so be patient (I'm not... (have many PRs unmerged)...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4