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

Search:

Type: Posts; User: Mcu32

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    11
    Views
    219

    OOh, next time i have to quote the whole article?...

    OOh, next time i have to quote the whole article? ehh, no , sorry.
    Yes, the article mentions - in contrast to you - a duty cycle

    EOD.
  2. Plus, is not from me.

    Plus, is not from me.
  3. Replies
    11
    Views
    219

    Just listen. You are a new user. Your question...

    Just listen. You are a new user. Your question does not indicate how much experience you have. There are beginners (as in every forum) who have never heard of a lowpass. And your question reads like...
  4. Correct, great. Does not matter here.. but a...

    Correct, great.

    Does not matter here.. but a zero is a zero.

    Correct, great. Eh. Not great. SensorPin has a value, which you can find in this thread.


    Correct, great.

    Correct, great. Let...
  5. LOL ....... :-) Your answer has absolutely...

    LOL ....... :-)

    Your answer has absolutely nothing to do with "if (analogRead(sensorPin == LOW)) { ..."

    Then: What's the difference of a digital zero and a analog zero? Hm.... Must be something...
  6. Replies
    2
    Views
    149

    Or just use serial.

    Or just use serial.
  7. Replies
    11
    Views
    219

    A true square wave (you did not mention any duty...

    A true square wave (you did not mention any duty cycle) is : (surprise) fixed square. 50%.
    An ADC has an integrator, with parameters that are good for it's intended sampling frequency, not your...
  8. Replies
    11
    Views
    219

    Google "capacitor" + "low pass filtering". ...

    Google "capacitor" + "low pass filtering".

    -> No microcontroller required.
  9. Replies
    2
    Views
    122

    And the audio funcionality could better(+with...

    And the audio funcionality could better(+with better audio quality) be done with an ordinary usb-audio stick.
  10. Serial.print(LOW). Logic says, it should be...

    Serial.print(LOW).

    Logic says, it should be zero. But try yourself.
  11. Yes, it's possible. You can use the Audio-Lib for...

    Yes, it's possible. You can use the Audio-Lib for input, upsample + filter with CMSIS, and add a modified I2S output. Note for the Audio-Lib you'll need an additional input or output which provides...
  12. It reads from PIN 0.

    It reads from PIN 0.
  13. Replies
    2
    Views
    628

    *push to top*

    *push to top*
  14. Replies
    2
    Views
    628

    Platformio is an Ukranian project

    27834
    Platformio is an Ukrainian project.


    Please support Platformio.

    https://community.platformio.org/t/platformio-is-a-ukrainian-project-please-help-us-stop-the-war/26330


    If you know...
  15. Sounds like a BUG in your code.

    Sounds like a BUG in your code.
  16. Replies
    8
    Views
    557

    ALso, there is a pin for that. The code does only...

    ALso, there is a pin for that. The code does only work, if the Teensy does not crash. If it crashes before, or in setup() that's a bit difficult. I'd use the pin in any case, and if it's as backup...
  17. Replies
    2
    Views
    433

    It can not. You need additional hardware.

    It can not. You need additional hardware.
  18. Replies
    10
    Views
    1,481

    You must have tuned eyes.. mine are not better...

    You must have tuned eyes.. mine are not better than 10..25 Hz and my brain is even slower...
    Where did you buy that 8000Hz display?
  19. Replies
    14
    Views
    1,220

    It enough to just add a Serial.println()...

    It enough to just add a Serial.println() somewhere to the code. No commandline option can do that.
  20. Replies
    283
    Views
    19,757

    This double negative is irritating.. :)...

    This double negative is irritating.. :)
    Shouldn't it be after tx_noautoflush=1 ?

    Ok, tried it too. Indeed, no missing lines with the dsb:::memory and without the availbleForWrite - I added the...
  21. Replies
    283
    Views
    19,757

    If that does anything good, it might be useful in...

    If that does anything good, it might be useful in yield too:


    if (running) return; // TODO: does this need to be atomic?
    running = 1;

    after running = 1.


    The garbage comes from windows....
  22. Replies
    283
    Views
    19,757

    The intention is to block autoflush, as bad...

    The intention is to block autoflush, as bad things can happen to the serial tx if it runs at the wrong time. Missing sent chars, etc. Could be tested by disabling autoflush completely and see if it...
  23. Replies
    283
    Views
    19,757

    Let me ask again, is this OK, as it is? For me,...

    Let me ask again, is this OK, as it is? For me, it looks like there may races be possible. I'm not that sure, though... an timer interrupt can happen before tx_noautoflush got written? Not sure about...
  24. Try to rewrite the define in src\aWOT.h:74:44: to...

    Try to rewrite the define in src\aWOT.h:74:44: to
    #define P(name) static const unsigned char name[]

    (rmv the PROGMEM)

    Does it help?
  25. Replies
    283
    Views
    19,757

    My new test: //Use a Terminal that can log...

    My new test:



    //Use a Terminal that can log to a file.
    //Check if the line numbers fit.
    //Windows: There is a memory bug in the USB CDC driver, so you'll probably see strange results.
    ...
  26. Replies
    283
    Views
    19,757

    Ok, running the "1MB" test in a loop now. I...

    Ok, running the "1MB" test in a loop now. I inserted a 3 secs delay after each 1MB packet. Also, this gives a terminal the time to print it's buffer.
    TY still shows a slow speed - but I havn't seen...
  27. You can also just add an audio I2S - this chooses...

    You can also just add an audio I2S - this chooses the right pin automatically and provides the clock.
  28. Replies
    18
    Views
    1,595

    In some rare cases, corruption is also a Windows...

    In some rare cases, corruption is also a Windows false positive. Have seen this in the past. When reinserting the card reader, the message disappeared and the card was "OK". But that didn't happen...
  29. Replies
    283
    Views
    19,757

    I have the impression that the memory requirement...

    I have the impression that the memory requirement has increased somewhat with the last IDE versions. I have had this message several times now. Since the change of the setting however no more, but...
  30. Replies
    1
    Views
    329

    Nobody answered so far... hm If this program...

    Nobody answered so far... hm

    If this program works on the other boards, there is no reason why it shouldn't work on the problematic boards.
    It must be a hardware issue, but nobody can say whats...
  31. Replies
    18
    Views
    1,595

    Yes, was expected. And this really happens with...

    Yes, was expected.
    And this really happens with new cards, too?
    Could you post a schematic? How sure are you that are no voltage spikes or similar..?
  32. Replies
    283
    Views
    19,757

    hmmmm.,...quite possible that a solution might be...

    hmmmm.,...quite possible that a solution might be somewhere hidden in the useless casual posts here. probably.
    Just add it to your list of low priority issues.
  33. Replies
    283
    Views
    19,757

    kd5 got excited that I mentioned it. Have no...

    kd5 got excited that I mentioned it. Have no Idea, why. As said, I don't care about the NPE, I just thought it might be interesting for you to know. I have no idea how to reproduce this reliably. I...
  34. Replies
    283
    Views
    19,757

    If the military as your customer accepts null...

    If the military as your customer accepts null pointer exceptions, it freightens me very much.
    I have no problem with the errormessage when closing the monitor. But it must be allowed to inform PJRC...
  35. Replies
    9
    Views
    821

    Remember these are quite different CPUs. If...

    Remember these are quite different CPUs. If you're not using any special things and esp. no hard coded register-accesses or such, chances are good.
  36. Replies
    18
    Views
    1,595

    I have no idea how this can happen with read only...

    I have no idea how this can happen with read only accesses as long as the voltage is stable.I think I can't help there. But a Teensyduino update will hardly help. I can not imagine a software problem.
  37. Replies
    18
    Views
    1,595

    Have I missed something, or are these really only...

    Have I missed something, or are these really only read accesses to the card?
    Then I would try another card.
    And maybe see if the voltage is stable, and maybe add a buffer capacitor.
  38. Replies
    283
    Views
    19,757

    Is it possible to use a win7 usbser.sys ? Or to...

    Is it possible to use a win7 usbser.sys ? Or to emaulate an other device which has own drivers? FTDI or such?
  39. Replies
    283
    Views
    19,757

    It it this bug? ...

    It it this bug? ...
  40. Replies
    283
    Views
    19,757

    There is still a bug. Got garbage, and then this,...

    There is still a bug. Got garbage, and then this, when I closed the window.


    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at...
  41. Replies
    283
    Views
    19,757

    This runs better (subjective) -XX:+UseG1GC...

    This runs better (subjective)


    -XX:+UseG1GC
    -XX:+UseStringDeduplication
    -Xms512M
    -Xmx1024M
    -Dfile.encoding=UTF8
    -Djava.net.preferIPv4Stack=true
  42. Replies
    283
    Views
    19,757

    Might help to give it much more RAM. I think the...

    Might help to give it much more RAM.
    I think the file is arduino.l4j.ini ini. Maybe Defragster wants to test this, too.
  43. Replies
    283
    Views
    19,757

    if (status & 0x68) { // TODO: what if...

    if (status & 0x68) {
    // TODO: what if status has errors???
    printf("ERROR status = %x, i=%d, ms=%u\n",
    status, tx_head, systick_millis_count);
    }

    This fires sometimes.
  44. Replies
    283
    Views
    19,757

    My understanding is that there should be a...

    My understanding is that there should be a ""dmb:::memory" (why is dsb used ?) after each tx_noautoflush = 1; in the code. this is not the case.
    Likewise, certainly before each tx_noautoflush = 0;
  45. Replies
    283
    Views
    19,757

    I have some messages in the windows error log:...

    I have some messages in the windows error log: "RADAR_PRE_LEAK_64"

    Info from here says:
    RADAR_PRE_LEAK_64 simply means the OS has detected a resource intensive process running which isn't...
  46. Replies
    283
    Views
    19,757

    Hm, but the visible data seems to come from the...

    Hm, but the visible data seems to come from the PC memory.

    I wouldn't invest too much time here.
    For your test program, it's probably easiest to limit it to 3 seconds of runtime. 3-second...
  47. Replies
    283
    Views
    19,757

    Your monitor shows garbage, the original gets...

    Your monitor shows garbage, the original gets stopped and the whole task deleted (by windows?), hterm shows a hourglass and gets stopped after a while, too.
    And now?
  48. Replies
    283
    Views
    19,757

    Will do it.

    Will do it.
  49. Replies
    283
    Views
    19,757

    Sorry for the missing braces, had a wrong copy in...

    Sorry for the missing braces, had a wrong copy in the clipboard.
    Indeed, the short variant works fine in h-term
    The later posted variants print 10 million lines. Is too less, too? At this size...
  50. Replies
    283
    Views
    19,757

    From the FAQ: Startup error on Windows...

    From the FAQ:
    [quote]
    Startup error on Windows that VCRUNTIME140_1.dll was not found
    Go to Microsoft, download and install vc_redist.x64.exe for Visual Studio 2015, 2017 und 2019
    [/code]
    ...
Results 1 to 50 of 91
Page 1 of 2 1 2