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. Sounds like a BUG in your code.

    Sounds like a BUG in your code.
  2. Replies
    8
    Views
    334

    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...
  3. Replies
    2
    Views
    288

    It can not. You need additional hardware.

    It can not. You need additional hardware.
  4. Replies
    10
    Views
    1,068

    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?
  5. Replies
    14
    Views
    937

    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.
  6. Replies
    283
    Views
    13,986

    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...
  7. Replies
    283
    Views
    13,986

    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....
  8. Replies
    283
    Views
    13,986

    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...
  9. Replies
    283
    Views
    13,986

    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...
  10. 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?
  11. Replies
    283
    Views
    13,986

    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.
    ...
  12. Replies
    283
    Views
    13,986

    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...
  13. 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.
  14. Replies
    18
    Views
    1,134

    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...
  15. Replies
    283
    Views
    13,986

    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...
  16. Replies
    1
    Views
    239

    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...
  17. Replies
    18
    Views
    1,134

    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..?
  18. Replies
    283
    Views
    13,986

    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.
  19. Replies
    283
    Views
    13,986

    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...
  20. Replies
    283
    Views
    13,986

    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...
  21. Replies
    9
    Views
    609

    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.
  22. Replies
    18
    Views
    1,134

    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.
  23. Replies
    18
    Views
    1,134

    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.
  24. Replies
    283
    Views
    13,986

    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?
  25. Replies
    283
    Views
    13,986

    It it this bug? ...

    It it this bug? ...
  26. Replies
    283
    Views
    13,986

    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...
  27. Replies
    283
    Views
    13,986

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

    This runs better (subjective)


    -XX:+UseG1GC
    -XX:+UseStringDeduplication
    -Xms512M
    -Xmx1024M
    -Dfile.encoding=UTF8
    -Djava.net.preferIPv4Stack=true
  28. Replies
    283
    Views
    13,986

    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.
  29. Replies
    283
    Views
    13,986

    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.
  30. Replies
    283
    Views
    13,986

    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;
  31. Replies
    283
    Views
    13,986

    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...
  32. Replies
    283
    Views
    13,986

    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...
  33. Replies
    283
    Views
    13,986

    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?
  34. Replies
    283
    Views
    13,986

    Will do it.

    Will do it.
  35. Replies
    283
    Views
    13,986

    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...
  36. Replies
    283
    Views
    13,986

    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]
    ...
  37. Replies
    283
    Views
    13,986

    The output to screen is slow in h-term. But...

    The output to screen is slow in h-term. But logging to file seems to be very good.
    Maybe Defragster can send you the missing DLLs. For me, it worked out of the box.
  38. Replies
    283
    Views
    13,986

    I'd say longer tests just show memory problems....

    I'd say longer tests just show memory problems.
    I bet there is no code that says "If running more than 5 Seconds, call bug()"

    And to have the same prerequisites you have to clear the buffers (in...
  39. Replies
    283
    Views
    13,986

    Very last Info: Restartet Arduino. Switched...

    Very last Info:
    Restartet Arduino.
    Switched the timestamps off, and... tadaaa.. It was possible to copy&paste it.
    Surprise.
    It's pretty fast, faster than the teensy edition. No Garbage (with the...
  40. Replies
    283
    Views
    13,986

    Final info: I don't know what the special...

    Final info:

    I don't know what the special Teensy edition does. The normal, standard Arduino monitor works perfectly.
    It has a large enough scrollback buffer and is not that much slower.
    No...
  41. Replies
    283
    Views
    13,986

    Serial Monitor with availableForWrite(): ...

    Serial Monitor with availableForWrite():


    000999999
    001000000
    10000000 Bytes in 5566463 us = 14.37 Megabits per second

    But it has no logfile, so nobody knows if it worked correctly. The...
  42. Replies
    283
    Views
    13,986

    And with this: void setup() { ...

    And with this:


    void setup() {
    Serial.begin(9600);
    delay(10000);
    volatile uint32_t t = micros();
    const int n = 100000 * 10;
    for (int i=1; i< n + 1; i++)
    while(...
  43. Replies
    283
    Views
    13,986

    Ok, with this settings: 26001 And this code: ...

    Ok, with this settings:
    26001
    And this code:


    void setup() {
    Serial.begin(9600);
    delay(10000);
    volatile uint32_t t = micros();
    const int n = 100000 * 10;
  44. Replies
    283
    Views
    13,986

    It can't be the USB drivers, otherwise no USB...

    It can't be the USB drivers, otherwise no USB stick would work. It must be something else.
    It is remarkable that H-Term does not log or output random characters.
    The problem of missing lines also...
  45. Replies
    283
    Views
    13,986

    Yes I tried that too. The output to screen is...

    Yes I tried that too. The output to screen is slow. But the logged file shows no garbage. Tried to transfer 10MB - indeed, then, a few lines are missing. Not sure what the reason is. But: no garbage...
  46. Replies
    283
    Views
    13,986

    I think it was this:...

    I think it was this: https://forum.pjrc.com/threads/67860-RAHID-performance?p=285082&viewfull=1#post285082
  47. Replies
    283
    Views
    13,986

    Probably you're using the wrong software. I...

    Probably you're using the wrong software. I remember a thread about a "bug" in serial comm which turned out to be too slow software on PC and missing flow control. If Java is too slow flow control is...
  48. Replies
    2
    Views
    317

    - A reset is a indication for a bug in your...

    - A reset is a indication for a bug in your program.
    - It does not ignore the DS3231, its a bug in your program or wrong usage.
    - You can send the time from the PI to the Teensy.
    - With the RTC...
  49. Replies
    283
    Views
    13,986

    The serial problem is only a problem of Java. Or...

    The serial problem is only a problem of Java. Or maybe how the serial mon or Java uses USB.
    There are Windows terminal programs that can log e.g. to a file without errors (and without the garbage...
  50. Replies
    4
    Views
    453

    Can't you do a file transfer via MQTT? This page...

    Can't you do a file transfer via MQTT? This page suggests it's possible. http://www.steves-internet-guide.com/send-file-mqtt/
    As you already have MQTT, this seems to be the easiest?

    If you have...
Results 1 to 50 of 75
Page 1 of 2 1 2