Forum Rule: Always post complete source code & details to reproduce any issue!
Page 7 of 8 FirstFirst ... 5 6 7 8 LastLast
Results 151 to 175 of 178

Thread: Bootloader Chip For Teensy 4.0

  1. #151
    Junior Member
    Join Date
    Feb 2021
    Posts
    8
    Quote Originally Posted by PaulStoffregen View Post
    Just place the order on the website.

    If you have questions, ask them here. Don't email or call for any questions. All questions need to be asked & answered here on the forum.

    After you've soldered the chip to your custom PCB and you have any results or feedback, I'd prefer to see it here on this forum thread. But if your PCB is secret and you can't share photos or details here, then email.

    Only call if there is an urgent problem with your order, like the UPS says they're giving up delivering the package, a mistake in billing or shipping address, an issue with your credit card, etc. Do not call for any technical questions or feedback. PJRC has a hard rule about no telephone tech support (it takes way too much time and the answers don't benefit anyone else). All tech questions need to be asked here on this forum.
    Ok. Perfect. One other question then. I need the chips shipped to China. That is where my designer is. I see that there is an option to send there which takes 1-3 weeks, but if I want it there quicker, there are 2 other methods. Can I place an order from USA and have it shipped to China with the Fast method?

  2. #152
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    24,080
    Quote Originally Posted by siniarch View Post
    I need the chips shipped to China. That is where my designer is. I see that there is an option to send there which takes 1-3 weeks, but if I want it there quicker, there are 2 other methods. Can I place an order from USA and have it shipped to China with the Fast method?
    Don't choose postal air mail to China. It takes forever and often packages just disappear in the void. Click the expensive UPS option.

    Robin can sometimes substitute DHL for UPS if it's less expensive. If you want to explore that option, place the order and then reply to the confirmation email to ask Robin about DHL. In every email about an order, make sure the 6 digit order number is on the subject. That happens automatically if you just reply to the confirmation.

  3. #153
    Junior Member
    Join Date
    Feb 2021
    Posts
    8
    Thank you.

    Order placed.
    Last edited by siniarch; 02-19-2021 at 05:21 PM.

  4. #154
    Junior Member
    Join Date
    Jun 2020
    Posts
    10
    I notice that there is serious interest in a Teensy 4.x hardware debug environment. I and my partner are interested.
    Reading this thread highlights several impediments to such a solution.

    The design files that Paul uses are in a format that may not be importable into new board layout programs.
    Is there any chance that situation has changed recently? Paul is busy with "other fish to fry", maybe someone else on the planet has solved the issue? Can some of us find that solution?

    If this could be solved, then I and my partner might be interested in building a modified board with debug support, buying the chips from Paul and selling the resulting product.

    From our perspective this has several uses. We would like to stick with the T4, need better debugging and would prefer a real T4 environment rather than a look alike NXP Development board. If the porting of the design files were solved, it might be to Paul's advantage to be able to migrate to a newer tool. A better debugging environment should increase the use of Teensy 4 boards and chips.

    Any one interested in conspiring in such an effort?

    For those of you debugging with printf, I might as well admit that I have given up doing that where feasible, using VS Code and building small test modules which can be debugged a line at a time and then ported into the Teensy Arduino build.
    There is a always a small, but irreducible, chance of going insane using printf. You have been warned...

  5. #155
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    8,280
    Quote Originally Posted by Mike Maurice View Post
    There is a always a small, but irreducible, chance of going insane using printf. You have been warned...
    Thanks for the warning - Too late for me...

  6. #156
    Junior Member
    Join Date
    Sep 2018
    Posts
    16
    Thanks for all the work on this Paul! I'm nearly ready to order PCBs and components for my project. I see the MIMXRT1062DVJ6A is kind of hard to get these days. Is the bootloader that I can order today compatible with the revision B chip? Part no MIMXRT1062DVJ6B?

  7. #157
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    24,080
    Quote Originally Posted by criznach View Post
    Is the bootloader that I can order today compatible with the revision B chip? Part no MIMXRT1062DVJ6B?
    It should work, but hasn't been tested.

  8. #158
    Had the same question, then read the datasheet, and it seems the chip is almost identical (including same mask sets erratum though I could note one USB pb fixed):
    I don't see anymore:
    ERR050101 USB: Endpoint conflict issue in device mode is gone in Rev.B
    https://www.nxp.com/docs/en/errata/RT1060_1N00X.pdf
    (Note that it should make no difference in the T41 current impl. as Paul thankfully took care of supplying VDDHIGH_IN from the TLV75733P.)

    Page 10 of the of the new datasheet suggest that Rev.B indicates a silicon rev only (A0 to A1), (see mask changes/fixes)
    https://www.nxp.com/docs/en/nxp/data...XRT1060CEC.pdf
    Last edited by fab672000; 02-24-2021 at 05:31 PM.

  9. #159
    I just saw that the MIMXRT1062DVJ6A chip might be discontinued. Is it still safe to implement this in a new project?

    From their website: https://www.nxp.com/part/MIMXRT1062DVJ6A#/
    Not Recommended for New Designs
    While existing customers can still order the part, NXP does not recommend the part be designed into new end products. No discontinuance decision has been made, and all minimum longevity commitments will be honored. When a decision is made, it will be communicate through NXP's product discontinuance process (e.g., with a discontinuance notification to existing customers).
    If a new version is manufactured, the bootloader chip should still be able to read both versions, right?

  10. #160
    Senior Member
    Join Date
    Sep 2015
    Posts
    123
    Quote Originally Posted by tyzjames View Post
    If a new version is manufactured, the bootloader chip should still be able to read both versions, right?
    The replacement chip is the "B" version from the previous few messages. Should work identically for our purposes but hasn't been verified at this point.

  11. #161
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    24,080
    PJRC recently received 5 of the new "B" version and they were soldered to PCBs just last week.

    Click image for larger version. 

Name:	b.jpg 
Views:	13 
Size:	55.1 KB 
ID:	23980

    I have a few other urgent matters to wrap up before I can work with these boards. But I hope to have a definitive answer about using the new B version soon.

  12. #162
    The differences between A0 (A) and A1 (B) silicon are described in this document

    https://www.nxp.com/docs/en/nxp/appl...es/AN12146.pdf

  13. #163
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    24,080
    That app note appears to be for the 1052 chip's rev back in 2018.

  14. #164
    Oops. You're right.

  15. #165
    Junior Member
    Join Date
    Jan 2021
    Posts
    7
    Hey PaulStoffregen
    I followed this thread but did not come with an conclusion. I have seen that there is a bootloader chip for Teensy4.1, my question is that is it possible to buy one of these and do some modification in the bootloader code, so I can program the teensy4.1 over ethernet. I really need an answer for my master thesis. my second question is, if its possible where can I get the bootloader code so I can make the modifications.

  16. #166
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    8,280
    No you can not modify it.
    So, no need for the code.

    Easiest it to connect the Teensy to a raspberry, via usb, and to send the program to the raspberry which then flashes the teensy via usb.

  17. #167
    Quote Originally Posted by Frank B View Post
    No you can not modify it.
    So, no need for the code.

    Easiest it to connect the Teensy to a raspberry, via usb, and to send the program to the raspberry which then flashes the teensy via usb.
    What if i connect Teensy to a raspberry via ethernet, would it be possible to flash it?

  18. #168
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    8,989
    Quote Originally Posted by Tengrii View Post
    What if i connect Teensy to a raspberry via ethernet, would it be possible to flash it?
    Yes, assuming that the Teensy is connected to the RPI using USB...

    A few years ago, I was playing with hexapod with RPI and/or BBB and/or Odroid... where I was using a teensy as the Servo controller... At the time, I connected to the RPI or the like using Putty(actully KiTTy) plus WinSCP and the like (note using Windows machine).

    On the RPI I had built the Teensy command line loader (https://www.pjrc.com/teensy/loader_cli.html) built and in the normal path stuff...

    So I could build on my Windows machine, copy the executable to the RPI and through a putty window would run the command to flash the teensy

    You can do all of his manually using command prompt and WinSCP.... (again different commands on Linux).

    Later made it a bit easier, as I had a script window running on the RPI that looked for a file to be created in some location. If it found the file it would then automatically run the CLI loader app.

    I also played around with the Arduino build and setup a upload with like menu in the Teensy area, and it was pretty hacked as I had it specific to an IP address, but had it such that if the build completed, it would then upload using an FTP like command line copy the file to the RPI...

    But I don't think I have any of this sitting around any more as it was several years ago.

  19. #169
    Quote Originally Posted by KurtE View Post
    Yes, assuming that the Teensy is connected to the RPI using USB...

    A few years ago, I was playing with hexapod with RPI and/or BBB and/or Odroid... where I was using a teensy as the Servo controller... At the time, I connected to the RPI or the like using Putty(actully KiTTy) plus WinSCP and the like (note using Windows machine).

    On the RPI I had built the Teensy command line loader (https://www.pjrc.com/teensy/loader_cli.html) built and in the normal path stuff...

    So I could build on my Windows machine, copy the executable to the RPI and through a putty window would run the command to flash the teensy

    You can do all of his manually using command prompt and WinSCP.... (again different commands on Linux).

    Later made it a bit easier, as I had a script window running on the RPI that looked for a file to be created in some location. If it found the file it would then automatically run the CLI loader app.

    I also played around with the Arduino build and setup a upload with like menu in the Teensy area, and it was pretty hacked as I had it specific to an IP address, but had it such that if the build completed, it would then upload using an FTP like command line copy the file to the RPI...

    But I don't think I have any of this sitting around any more as it was several years ago.
    Thank you for your answer.

    I am sad to hear, that you don't have it sitting around anymore since I think it might have been really useful!

    I was hoping that it was possible to get rid of the USB and flash via ethernet only.

    Currently, i am working on my bachelor thesis, which is about IoT. I have some Teensy devices which need to be flashed/updated over Ethernet.
    I have been looking for alternative ways to flash the Teensy. I found about a program called Flasher4 which may give me the opportunity but i am not sure.

    Do you have any knowledge about it flasher4?

  20. #170
    Member
    Join Date
    Jan 2014
    Location
    New Jersey, USA
    Posts
    63
    Quote Originally Posted by Tengrii View Post
    Thank you for your answer.

    I am sad to hear, that you don't have it sitting around anymore since I think it might have been really useful!

    I was hoping that it was possible to get rid of the USB and flash via ethernet only.

    Currently, i am working on my bachelor thesis, which is about IoT. I have some Teensy devices which need to be flashed/updated over Ethernet.
    I have been looking for alternative ways to flash the Teensy. I found about a program called Flasher4 which may give me the opportunity but i am not sure.

    Do you have any knowledge about it flasher4?
    Boards that support flashing via Ethernet have that support built into the bootloader by necessity, because anything else can be overwritten during the flashing procedure. I don't know for a fact that the Teensy 4.x does not support this, but I think if it did, it would be common knowledge by now. But Paul is the one to ask. @PaulSfoffregen ?

  21. #171
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    8,280
    Again, the bootloader supports USB only. You can meybe use Flasher 4 - but you have to write code. I guess if you need this for the bachelor, you should be able to write it?
    Or just use hardware that supports the things you need?

  22. #172
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    8,280
    Maybe you can explain in some words _why_ you need this feature?
    And why can't you use FTP, HTPP or whatever to download your firmware to SD and flash from there?

  23. #173
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    24,080
    I've added a BGA pinout diagram to the T4 bootloader chip page.

  24. #174
    Junior Member
    Join Date
    Mar 2021
    Location
    West London, UK
    Posts
    9

    Teensy 4 PCB design

    Quote Originally Posted by PaulStoffregen View Post
    The PCB design was done using an ancient version of PADS. It uses a proprietary format which doesn't play nice with anything else.
    I have PADs VX1 software, from back when I was doing PCB design for a living - so technically I could open the older PADS file and strip it back to footprints and netlist, then instiantiate a new layout (credit-card with onboard ethernet jack perhaps?).

    However, given that there are no extra missing-pins that one might want to route out (unlike some Arduino boards) I can't see why one would want to roll one's own board when the Teensy4.1 has it all done, debuged, and produced for what is an awesome price.

    I still use my PADS software in preference to others e.g. RS DesignSpark (the devil one knows is still a lot better than most of the other stuff out there), so still in the game, and a re-layout of the Teensy4.1 would be 2 to 4 weeks work - depending if I stoped to sleep and eat occasionaly, or not.

    Anyway, my prority is understanding the RT1062 datasheets and app-notes enough to make up a set of register-level code building blocks in C because I find the C++ stuff is too obscuring of the needed functionalty when I have specific I/O units to control.

  25. #175
    Hey, just wanted to double check before i begin my first bga adventure

    This is one of the compatible processor chips right?
    https://lcsc.com/product-detail/NXP-...A_C880325.html

    (EDIT) just realized its not haha. sry


    But this one?
    https://lcsc.com/product-detail/Pre-..._C1522421.html
    its the 12x12 package right?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •