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.03 seconds.

  1. Burned Teensy: Yes, I told that yesterday in the...

    Burned Teensy: Yes, I told that yesterday in the other thread. Hermione Ranger seems to have some spare Teensys.
    I hope the external circuit is OK now.
    Edit: the photos are the still the same.
  2. No problem :) I had similar issues with my first...

    No problem :) I had similar issues with my first Teensy.
    I hope they local maker space can help you .
  3. Your attachments shows that you have selected the...

    Your attachments shows that you have selected the wrong board.

    You must select "Teensy 3.2" as board, in the (Tools?) menu?
    Sorry, i have the German version, not sure if the menu is called...
  4. Then you have done something wrong :-) I hope...

    Then you have done something wrong :-)
    I hope you used pin connectors and soldered them?
    With china plug-patch-cables it usually doesn't work.

    A photo would help.
  5. From the examples, try Audio->Synthesis->Guitar

    From the examples, try Audio->Synthesis->Guitar
  6. Replies
    11
    Views
    196

    For ESP, there is a tool that can do this at...

    For ESP, there is a tool that can do this at least for SPIFFS- without reflashing the program.
    As it is as python-tool, i think we can use (parts of) it (and I did not look at the lincense, so far)...
  7. 22593 eek... who did this? At least in Germany,...

    22593
    eek... who did this? At least in Germany, perhaps worldwide, it's common to use a black wire for "-" or "GND" :-)
    Or everything else..but not red.
    Please check, if this is intended and...
  8. There is a good chance, that this IS the main...

    There is a good chance, that this IS the main issue.
    Overheating means in most cases, the Teensy is defective.
    So I'd buy more 2 or three more 3.2 and audioshields before trying other things....
  9. Replies
    11
    Views
    196

    I have thought about it. I now think it would be...

    I have thought about it.
    I now think it would be far over-engeneered to put it in LittlFS. More disadvantages than advantages.
    Placing it in LittleFS would mean that there is an unwanted connection...
  10. Replies
    11
    Views
    196

    Oh, I even could imagine a "hidden" file in...

    Oh, I even could imagine a "hidden" file in LittleFS that survives formatting and stores the "preferences".

    Depends. It can save "blobs", too. I think the max size of a blob is around 4k (have to...
  11. Replies
    11
    Views
    196

    Kurt.. maybe yes. Years ago, we all said ESP is...

    Kurt.. maybe yes.
    Years ago, we all said ESP is crap and nothing works. Now, the software and api-side are better than the "old-style" arduino stuff.. so, times are changing...and we should see...
  12. Replies
    11
    Views
    196

    Storing it in the EEPROm makes it useless, as the...

    Storing it in the EEPROm makes it useless, as the first write of a program not aware of it (=> all) will kill the data.
    But that's the trick: Unlike EEPROM, it can store settings which stay...
  13. Replies
    466
    Views
    48,688

    Don't know.

    Don't know.
  14. Replies
    11
    Views
    196

    LOL, forget some of my questions. It's already...

    LOL, forget some of my questions. It's already used for EEPROM emulation, right?
    Ok, then I must be a bit bold and ask if you would spend another 64k for such a feature :)
  15. Replies
    11
    Views
    196

    Flash - Storing preferences

    @Paul:

    Hello Paul,
    on my short trip to the ESP32 world i learned to enjoy the "preferences" library.
    It is very handy because it allows to store key/value pairs. This could be a PIN assignment,...
  16. Replies
    21
    Views
    801

    Thank Luni

    Thank Luni
  17. Replies
    21
    Views
    801

    @Paul, As you (maybe) touch the ld-files anyway...

    @Paul,
    As you (maybe) touch the ld-files anyway - could you rename "RAM" to "OCRAM"?
    That would make the output a little bit more logical.
  18. Replies
    21
    Views
    801

    Great! you can just create a boards.local.txt...

    Great!

    you can just create a boards.local.txt (seems not to work on a MAC) ,
    and add this:


    teensy41.build.flags.ld=-Wl,--print-memory-usage,--gc-sections,--relax...
  19. Replies
    21
    Views
    801

    -> @kd5rxt-mark...

    -> @kd5rxt-mark maybe your project works, despite of displayed "101%" RAM. Just try it.
  20. Replies
    21
    Views
    801

    Hm, "blink" shows high RAM usage, too: ...

    Hm, "blink" shows high RAM usage, too:


    "C:\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-size" -A "e:\\temp\\arduino_build_699700/Blink.ino.elf"
    Der Sketch verwendet 15668 Bytes...
  21. Replies
    466
    Views
    48,688

    There is a MTP Compliencetest in the Windows...

    There is a MTP Compliencetest in the Windows Hardware Lab Kit
    https://docs.microsoft.com/de-de/windows-hardware/test/hlk/testref/bbfe7dc4-8ccf-4d8d-b68e-5b6ccab11f0f
    Maybe it is useful and can give...
  22. 64MB is very difficult. There are no SPI-chips...

    64MB is very difficult. There are no SPI-chips with that size as far as I know.
    Your chip CY15B104Q-SXI is 4Mbit.
    So, I think SD is your only option. Or the 2nd Teensy with SD.

    SPI? Around...
  23. Replies
    466
    Views
    48,688

    writestring(MTP_VERS); // version char...

    writestring(MTP_VERS); // version
    char buf[16];
    #if defined(__IMXRT1062__)
    uint32_t num = (HW_OCOTP_MAC0 & 0xFFFFFF);
    ultoa(num, buf, 10);
    #else
    uint32_t...
  24. Me too :) Maybe it gets erased on reboot. But it...

    Me too :) Maybe it gets erased on reboot. But it shouldn't be too hard to modify that, if that's the case.
    Anyway, without knowing more details, and how Sean measures his data, its difficult..
  25. Replies
    466
    Views
    48,688

    Wmxz, great!

    Wmxz, great!
  26. Or lift the VCC pin of a PSRAM and connect a...

    Or lift the VCC pin of a PSRAM and connect a battery there.
    Should work, I think. If there is no code that erases the RAM on reboot.
  27. Maybe you should just use a battery-backup,...

    Maybe you should just use a battery-backup, Battery backed SRAM, or an other memory technology like MRAM. MRAM is expensive.
    Flash and SD are not things you want, if you really need low latency for...
  28. Replies
    7
    Views
    200

    Print rounds if you don't display more digits. ...

    Print rounds if you don't display more digits.

    try Serial.print( pow(a,b), 20)
    (that's double)
    powf() is not good as pow() but you wanted float ..
  29. Replies
    7
    Views
    200

    Hm, what exactly is wrong with pow() ? note,...

    Hm, what exactly is wrong with pow() ?

    note, pow() is the double-precision version. you need to include <math.h>
    powf() is the float version.

    pow(PI, PI) prints as 36.462159607207901 which is...
  30. Replies
    466
    Views
    48,688

    I've added a PR that adds usage of the real...

    I've added a PR that adds usage of the real Teensy serialnumber instead of the fixed #define MTP_SERNR "1234"
    22560
    Was quite easy:


    char buf[11]; // serial
    for (size_t i=0;...
  31. Replies
    466
    Views
    48,688

    @wmxz, good job! No crash anymore with long...

    @wmxz, good job!
    No crash anymore with long filenames.
  32. Replies
    5
    Views
    97

    https://github.com/PaulStoffregen/cores/blob/maste...

    https://github.com/PaulStoffregen/cores/blob/master/teensy4/keylayouts.h

    or cores/(your Teensy model)/keylayouts.h
  33. Replies
    466
    Views
    48,688

    Wow, i'm pretty impressed by GCC. I played a bit...

    Wow, i'm pretty impressed by GCC.
    I played a bit with godbolt, and indeed it is smart enough to re-use the result of strlen().
    Even if you add a const string with strcat inbetween - it calls strlen...
  34. T41 is nearly as fast as the RasPi. But don't has...

    T41 is nearly as fast as the RasPi. But don't has the OS overhead.
  35. Sd is not fast enough to buffer the RAM while...

    Sd is not fast enough to buffer the RAM while decoding MP3.
    Maybe you can add a RAM Chip, but this would require to rewrite much of the MP3/AAC code. Its not worth to try that...
    Go for a Teensy -...
  36. The problem is, the Teensy LC has not enough RAM...

    The problem is, the Teensy LC has not enough RAM to decode MP3. You'll need a Teensy 3.2 minimum, or an external decoder chip.
  37. Replies
    466
    Views
    48,688

    uint16_t MTPStorage_SD::ConstructFilename(int i,...

    uint16_t MTPStorage_SD::ConstructFilename(int i, char* out, int len) // construct filename rexursively
    {
    Record tmp = ReadIndexRecord(i);

    if (tmp.parent==(unsigned)i)
    {...
  38. Replies
    466
    Views
    48,688

    I fear, it does not matter wether we like it or...

    I fear, it does not matter wether we like it or not.
    (And no, i did not name the Mp3s this way ;)

    Anyway, it does not hurt much to accept more than 64.
    And it hurts even less to add secure...
  39. Replies
    466
    Views
    48,688

    No, but they were the reasons for the crashes I...

    No, but they were the reasons for the crashes I had. My MP3s tend to have very long names :) and they were on the SD-Card. It was enough that they existed. I guess something in the RAM got overriden....
  40. Replies
    466
    Views
    48,688

    ...at least here is a problem: bool...

    ...at least here is a problem:


    bool MTPStorage_SD::rename(uint32_t handle, const char* name)
    { char oldName[256];
    char newName[256];
    char temp[64];

    uint16_t store =...
  41. Replies
    466
    Views
    48,688

    I renamed a file. Looks like this in the...

    I renamed a file. Looks like this in the explorer:
    22554

    Edit: The wrong Character at the end is an ACK (0x06h), the rest of the filename is missing.
    22555
  42. Replies
    466
    Views
    48,688

    That was with files from SD. I'm pretty sure...

    That was with files from SD.
    I'm pretty sure there is a limitation to ~64 somewhere in the MTP or SdFatCode.
    I removed those files, and everything works now...
  43. Replies
    466
    Views
    48,688

    Is there any restriction on the length of...

    Is there any restriction on the length of filenames?
    64, perhaps? (if yes: that's way too short)

    I had some MP3 with longer filenames.
    As a test i removed them.. and guess what... i can copy...
  44. Replies
    4
    Views
    100

    You can split them up, but all the GNDs are...

    You can split them up, but all the GNDs are interconnected anyway on the Teensy-board.
  45. Replies
    403
    Views
    7,150

    copied the latest code again (one hour old, from...

    copied the latest code again (one hour old, from github).
    code from "official" wmxz example.
    22552
    RAM1 seems to work - everything else not.


    Edit:Correcton, RAM1 does not work, too.
    This...
  46. Replies
    403
    Views
    7,150

    Latest fresh install of beta #5, latest...

    Latest fresh install of beta #5, latest github-rep from WMXZ, sketch from "examples":
    My PC shows the teensy, and size of drives, but navigating to the drives "ram" or "sdio" shows a hourglass only...
  47. Replies
    403
    Views
    7,150

    This is a bit unstable or I'm doing something...

    This is a bit unstable or I'm doing something wrong (?!?
    I even had trouble to get the most simple "listfiles" example to work, until I switched fromt GCC 9 to GCC 5. (WTF? The first time GCC9...
  48. Replies
    403
    Views
    7,150

    Ok, seems to compile now :) The trick was to use...

    Ok, seems to compile now :)
    The trick was to use Pauls fork of SdFat.

    I get a bunch of warnings:
    C:\Arduino\hardware\teensy\avr\libraries\Time/time.h:1:2: warning: #warning "Please include...
  49. Replies
    403
    Views
    7,150

    @all, wmxz, what do I need to install or...

    @all, wmxz,

    what do I need to install or update? I want to try these things, too .. :)

    @wmxz with your Sketch from your other Thread (vtable), I get the following:


    In file included from...
  50. Replies
    14
    Views
    231

    I've added my boards.local.txt to post#8 Maybe...

    I've added my boards.local.txt to post#8
    Maybe it's helpful?

    Edit: ahh.. I see, you don't need to add the original boards.txt to the local variant.
    Just add the NEW entries only.
    Great.
    ...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4