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

    ...yes and don't use adapters with levelshifters.

    ...yes and don't use adapters with levelshifters.
  2. ah..ok...I thought is was for Teensy4.0

    ah..ok...I thought is was for Teensy4.0
  3. @luni: add these lines: ...

    @luni:

    add these lines:


    teensy40.menu.usb.2xserial=2x Serial
    teensy40.menu.usb.serial.build.usbtype=USB_DUAL_SERIAL
    teensy40.menu.usb.3xserial=3x Serial...
  4. sure... :) is it -DUSB_DUAL_SERIAL and...

    sure... :)
    is it -DUSB_DUAL_SERIAL and -DUSB_TRIPLE_SERIAL ?
    (a fake serial would be better for debugging - needs no comport)
  5. LOL... as you want... 19140 No need to edit...

    LOL... as you want...
    19140

    No need to edit platform.txt.
    @Tim: set memory=
    should do it.

    .. Have fun til next update :)

    Perhaps one should write an automated Arduino-patcher... maybe...
  6. The linker file says: FLASH (rwx): ORIGIN...

    The linker file says:

    FLASH (rwx): ORIGIN = 0x60000000, LENGTH = 1984K

    2048 - 1984 = 64KB.

    What is your reason not to use a Teensy? And why should your product be "Teensy-Hex" ...
  7. Edit: Ok, new try :) rename linkerfile above...

    Edit:

    Ok, new try :) rename linkerfile above to imxrt1062f.ld

    FASTRUN works. The pervious version from an hour ago had a problem with the calculated number of ITCM blocks. This is fixed.
  8. attached a working boards.txt for "Teensy40Flash"...

    attached a working boards.txt for "Teensy40Flash" - name the ld file from above imxrt1062f.ld
    that should work, I hope :)
  9. hm, ok, that does not work. so just change the...

    hm, ok, that does not work.
    so just change the name of the file in the teensy40 section in boards txt.
  10. Just add a new "board" to boards.txt with the new...

    Just add a new "board" to boards.txt with the new file. Maybe name it "Teensy 4-flashmem" or something like that. Copy and paste from Teensy4 and edit the name of the ld file.
  11. With the script above, ITCM is zero. As I said -...

    With the script above, ITCM is zero.
    As I said - have not found a way to re-enable FASTRUN. Maybe this weekend. At least it would be nice to know the reason for the linkage error.
  12. @Defragster, WMXZ: tried the *.ld above? ...

    @Defragster, WMXZ: tried the *.ld above?

    Coremark is now 2316 - ok, it fits into the cache.

    When trying to move only FASTRUN to ITCM, I always get a relocation error - not sure why. Jumps too...
  13. Init only - or things where speed does not matter.

    Init only - or things where speed does not matter.
  14. T4: This loads _everything_ to flash: (even...

    T4:
    This loads _everything_ to flash:
    (even "Fastrun")



    MEMORY
    {
    ITCM (rwx): ORIGIN = 0x00000000, LENGTH = 512K
    DTCM (rwx): ORIGIN = 0x20000000, LENGTH = 512K
  15. I can try today. No risk - no fun :) Have no idea...

    I can try today. No risk - no fun :) Have no idea if it will work :)
  16. ...lol.. wrong. better: 2. receiver: if the...

    ...lol.. wrong.
    better:
    2. receiver: if the high-byte is 0xaa skipt the next byte.
  17. That depends only on your imagination:) A...

    That depends only on your imagination:)

    A simple way:
    1. on the sender, send the value 0xffaa in intervals (once per second for example).
    2. receiver:
    - if you receive 0xaaff (<- note, bytes...
  18. As you're using values

    As you're using values <1024 , an idea for a sync could be to use a larger value as sync. For example something like 0xffaa.
  19. Yes, but it's better to learn how to do it,...

    Yes, but it's better to learn how to do it, before using a library for that.
    Its not that hard to add a simple sync.
  20. >1 will do.

    >1 will do.
  21. The next step would be to wait for TWO bytes in...

    The next step would be to wait for TWO bytes in the receiving sketch ;)

    After that, you may want to add a simple sync mechanism to get the bytes in the right order.
  22. You're sending 0. Delete that semicolon in the...

    You're sending 0.

    Delete that semicolon in the sending sketch where check number for 1024... (if... )

    This sets number always to 0 - the if does nothing.
  23. Replies
    1
    Views
    53

    Again: It is not a serial connection (well ok USB...

    Again: It is not a serial connection (well ok USB is serial too, but it's not the slow serial what you mean - unlike many other boards)
    It is not possible to run code from SD.
    The teensy loader is...
  24. The decision what needs to be where is not always...

    The decision what needs to be where is not always easy.
    For printf -don't know if it is possible to move it without special linkerfile.
    The other libs -from core- already use FLASHMEM.
  25. @wmxz: you're right. (And they should at least...

    @wmxz: you're right. (And they should at least have their init code in flashmem by default)

    If I had wishes free for Arduino, i'd knew a lot.

    Project settings, force rebuild, serial monitor...
  26. ... but I'm with you: Would be good to have a way...

    ... but I'm with you: Would be good to have a way to choose a different linkerfile from the Arduino-menus.

    But, really, as long Arduino does not save the settings on a per-project basis, it's only...
  27. You can use FLASHMEM to run code from flash,...

    You can use FLASHMEM to run code from flash,
    PROGMEM to have const data in FLASh,
    And you can use malloc() or DMAMEM to use the OCRAM.

    Combining these can help a lot - without changing the...
  28. Replies
    20
    Views
    3,178

    If a student from Europe is reading this, who...

    If a student from Europe is reading this, who seriously wants to buy a Hantek BE6022: Don't do that, don't throw your money out the window. It's no good. So that you'll believe me: I'll give you mine...
  29. Replies
    20
    Views
    3,178

    Hm, was thinking about it - but I used my LA...

    Hm, was thinking about it - but I used my LA (100MHz saelea clone) a year ago.. I think I'll wait for the 800MHz version.
    I use my scope more.
  30. Replies
    20
    Views
    3,178

    oh..in Germany ...

    oh..in Germany
    https://www.real.de/product/344336309/?kwd=&source=pla&sid=28921452&gclid=EAIaIQobChMIwZ300J7e5wIVleF3Ch3d_ARkEAQYAiABEgJlpfD_BwE

    69€

    400MHz max.. not bad for the price.
  31. Replies
    16
    Views
    228

    Ok for a master degree you already know what to...

    Ok for a master degree you already know what to do, and which way is the best. If you think it's ethernet: OK.
    Good luck and my best wishes. :)
  32. Replies
    16
    Views
    228

    P.s. you know that ODB-II is a serial protocol,...

    P.s. you know that ODB-II is a serial protocol, too?

    ..and look at post#3 :-)
  33. Replies
    16
    Views
    228

    Then, buy a odb-II Serial adapter cable...

    Then, buy a odb-II <-> Serial adapter cable (about 10$) and you have the Hardware almost done.

    Is this a school project?
  34. Replies
    16
    Views
    228

    Just plug the Teensy into the Raspberry USB port....

    Just plug the Teensy into the Raspberry USB port.
    It is full USB-speed - not slow serial.
    You should read some documentation about the boards you want to use...

    Everything else is...
  35. Replies
    16
    Views
    228

    And: Is it needed to use Ethernet on the Teensy?...

    And: Is it needed to use Ethernet on the Teensy? (Why?)
  36. Replies
    16
    Views
    228

    What is this ROS system? The Teensy connects to...

    What is this ROS system?
    The Teensy connects to the ROS - not to the Raspberry - correct?
    So, some information about it would be useful..
  37. Replies
    14
    Views
    466

    Kannst du das Signal mal als Audio sampeln (mit...

    Kannst du das Signal mal als Audio sampeln (mit dem PC) und mir als wav-file senden?

    Can you record the signal as audio-wav and send it to me?
    I can try to make it work.
  38. Replies
    14
    Views
    466

    Making it more exact will not help, I think. I...

    Making it more exact will not help, I think.
    I assume it's a hardwareproblem - the Teensy interrupts are really much faster, and I.e. a slow rising signal may cause 2 interrupts - for example....
  39. Replies
    315
    Views
    6,648

    "tmp" is a nice name for that :) Thank You!! But...

    "tmp" is a nice name for that :) Thank You!!
    But It does not work for me.. i updated the IP fo my ntp-server (my router) - but it happens nothing.
  40. Replies
    315
    Views
    6,648

    Ah, great, thank you. Would you mind to post...

    Ah, great, thank you.
    Would you mind to post your SNTP sketch?
  41. Replies
    21
    Views
    241

    Some years ago I made a board (name was...

    Some years ago I made a board (name was "flexiboard" with teensy + ESP8266)
    It was able to flash new firmware to the ESP8266
    The code is here:...
  42. Replies
    1
    Views
    51

    Double post. ...

    Double post.

    https://forum.pjrc.com/threads/59623-Teensy-3-6-OBD-II-Arduino-ide-software
  43. Replies
    7
    Views
    380

    I got mine for cheap as "Chronodot 2.0" - Mine is...

    I got mine for cheap as "Chronodot 2.0" - Mine is most likely a clone of the Adafruit board (mine was <5€ - I did not know that it is a Adafruit product)
    You can use Paul's DS1307 library for the...
  44. Replies
    21
    Views
    241

    Ok in this case it might be worth to take a...

    Ok in this case it might be worth to take a look...
  45. Replies
    21
    Views
    241

    Ok, please verify If the Teensy has the same...

    Ok, please verify If the Teensy has the same issue.
    It uses it's own (different) USB Stack as far as I know.
  46. Replies
    21
    Views
    241

    This forum is about PJRC products. Arduino Micro...

    This forum is about PJRC products.
    Arduino Micro is not a PJRC product.

    Maybe ask here: https://forum.arduino.cc
  47. The name 4.1 might be less-ideal for minor...

    The name 4.1 might be less-ideal for minor updates.. see T3.0, T3.1, T3.2 ?!?
  48. Replies
    29
    Views
    1,973

    edits will be gone after the next update.. ...

    edits will be gone after the next update..


    @Paul do you plan to repair CMSIS and make shiftOut()* or tempmon work?

    *my son wants to build a working clock with 7segs but your lib does not work...
  49. But you get a stream of data, not data chunks. If...

    But you get a stream of data, not data chunks. If your application interpretes this as chunks - ok, it can :)

    - insert a static bool startflag=false in SendAnalogData
    - if the startflag is...
  50. A question: The 3.6 has 6 UARTs in Hardware - why...

    A question: The 3.6 has 6 UARTs in Hardware - why do you want to emulate one with software?
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4