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
    14
    Views
    568

    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.
  2. Replies
    280
    Views
    8,398

    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...
  3. Replies
    280
    Views
    8,398

    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....
  4. Replies
    280
    Views
    8,398

    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...
  5. Replies
    280
    Views
    8,398

    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...
  6. 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?
  7. Replies
    280
    Views
    8,398

    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.
    ...
  8. Replies
    280
    Views
    8,398

    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...
  9. 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.
  10. Replies
    18
    Views
    672

    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...
  11. Replies
    280
    Views
    8,398

    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...
  12. Replies
    1
    Views
    172

    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...
  13. Replies
    18
    Views
    672

    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..?
  14. Replies
    280
    Views
    8,398

    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.
  15. Replies
    280
    Views
    8,398

    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...
  16. Replies
    280
    Views
    8,398

    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...
  17. Replies
    9
    Views
    422

    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.
  18. Replies
    18
    Views
    672

    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.
  19. Replies
    18
    Views
    672

    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.
  20. Replies
    280
    Views
    8,398

    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?
  21. Replies
    280
    Views
    8,398

    It it this bug? ...

    It it this bug? ...
  22. Replies
    280
    Views
    8,398

    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...
  23. Replies
    280
    Views
    8,398

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

    This runs better (subjective)


    -XX:+UseG1GC
    -XX:+UseStringDeduplication
    -Xms512M
    -Xmx1024M
    -Dfile.encoding=UTF8
    -Djava.net.preferIPv4Stack=true
  24. Replies
    280
    Views
    8,398

    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.
  25. Replies
    280
    Views
    8,398

    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.
  26. Replies
    280
    Views
    8,398

    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;
  27. Replies
    280
    Views
    8,398

    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...
  28. Replies
    280
    Views
    8,398

    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...
  29. Replies
    280
    Views
    8,398

    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?
  30. Replies
    280
    Views
    8,398

    Will do it.

    Will do it.
  31. Replies
    280
    Views
    8,398

    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...
  32. Replies
    280
    Views
    8,398

    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]
    ...
  33. Replies
    280
    Views
    8,398

    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.
  34. Replies
    280
    Views
    8,398

    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...
  35. Replies
    280
    Views
    8,398

    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...
  36. Replies
    280
    Views
    8,398

    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...
  37. Replies
    280
    Views
    8,398

    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...
  38. Replies
    280
    Views
    8,398

    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(...
  39. Replies
    280
    Views
    8,398

    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;
  40. Replies
    280
    Views
    8,398

    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...
  41. Replies
    280
    Views
    8,398

    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...
  42. Replies
    280
    Views
    8,398

    I think it was this:...

    I think it was this: https://forum.pjrc.com/threads/67860-RAHID-performance?p=285082&viewfull=1#post285082
  43. Replies
    280
    Views
    8,398

    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...
  44. Replies
    2
    Views
    226

    - 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...
  45. Replies
    280
    Views
    8,398

    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...
  46. Replies
    4
    Views
    324

    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...
  47. The question seems to be too confuse..? Ok, so:...

    The question seems to be too confuse..?
    Ok, so: How do I use preallocate() with that pointer. Just assume it is needed for fast writes in case of SD. If it is not possible: Again, how would you...
  48. So I would use an init with a variable number of...

    So I would use an init with a variable number of arguments like void func( ... ) (like printf) that takes all the pointers. Then how do I know which one to use, i.e. if the program specifically wants...
  49. So it needs a pointer to the filesystem. Ok. That...

    So it needs a pointer to the filesystem. Ok. That was my question. Maybe not clear enough.
    The assumption was that you don't know the FS at compile time, or it can at least vary. The lib should be...
  50. There is an abstraction layer missing. Or maybe...

    There is an abstraction layer missing. Or maybe there is a C++ trick?
Results 1 to 50 of 71
Page 1 of 2 1 2