Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: uTasker

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    19
    Views
    478

    Alan Here are a few of the HW macros used for...

    Alan

    Here are a few of the HW macros used for i.MX RT:

    // Toggle a port with a mask eg. _TOGGLE_PORT(1, PORT1_BIT3)
    //
    #define _TOGGLE_PORT(ref, mask) GPIO##ref##_DR_TOGGLE =...
  2. Replies
    19
    Views
    478

    Alan I use macros for GPIO so that they are...

    Alan

    I use macros for GPIO so that they are more or less portable between parts.
    Eg. To set up a GPIO output:

    #define USER_LED (PIN_GPIO_11_GPIO1_IO11) // USER_LED...
  3. Replies
    19
    Views
    478

    Ahan856 First thing to remember is that the...

    Ahan856

    First thing to remember is that the GPIO and peripherals have nothing to do with ARM. ARM delivers only the core and the rest is up to the processor chip manufacturer. GPIO control in the...
  4. Hi All This issue has been solved. The...

    Hi All

    This issue has been solved.
    The extended record being sent didn't have both a CR and LF like all other lines and this looks to cause a problem with the line following it.
    I ensure all...
  5. Replies
    19
    Views
    478

    This video gives some background to GPIOs in the...

    This video gives some background to GPIOs in the i.MX RT:

    https://www.youtube.com/watch?v=SmFTi8hlba0&list=PLWKlVb_MqDQEOCnsNOJO8gd3jDCwiyKKe&index=2

    Regards

    Mark
  6. Possible error in Teensy Loader for i.MX RT

    Hi All

    Attached is an Intel Hex file for the Teensy 4.0 which programs 4 different programs in one go. It has a boot loader at the start, then a recovery loader at 0x4000, followed by a second...
  7. Replies
    7
    Views
    577

    When I configure the i.MX RT 1062 pin SD_B0_05 as...

    When I configure the i.MX RT 1062 pin SD_B0_05 as CLKO2 and connect it to an internal clock I can measure this signal on the SD card's DC/DAT3 line.

    I believe that this proves that the HW is...
  8. Replies
    7
    Views
    577

    As comparison, this is the diagram from an NXP...

    As comparison, this is the diagram from an NXP i.MX RT 1062 board:

    19542

    which is different from the Teensy circuit diagram and matches the chips' documentation.

    I have worked with the same...
  9. Replies
    7
    Views
    577

    Error in Teensy 4.0 circuit diagram (?)

    Hi All

    Would it be correct to say that the labels on these two pins (Teensy 4.0 circuit diagram) are incorrect and need to be swapped?

    19540

    Regards

    Mark
  10. - Source code is generally available at...

    - Source code is generally available at https://github.com/uTasker/uTasker-Kinetis but presently only for Teensy 3.1, 3.2. 3.5 and 3.6. Teensy 4.0 will probably be published for open-source use at a...
  11. Hi I have updated the binaries after...

    Hi

    I have updated the binaries after performing better testing, whereby all loading methods have been verified (originally the operation had been simulated but not fully tested on HW since the SD...
  12. Teensy 4.0 Boot loaders (USB-MSD, SREC, Kboot-HID, SD card) with AES256 encryption

    Hi All

    The following is a boot loader that can be installed on the Teensy 4.0:
    https://www.utasker.com/iMX/Teensy_4.html
    to allows it to load new code via USB-MSD, serial SREC (on LPUART3),...
  13. Replies
    5
    Views
    411

    >>Can you tell me how I can see the registers of...

    >>Can you tell me how I can see the registers of the W25Q16?

    One needs to program the FlexSPI's look-up table with the commands to read registers 1 and 2 and have an FlexSPI driver to execute the...
  14. Can enabling the BEE eFUSE cause problems with the Teensy 4?

    HI All

    I need to enable encryption on the QSPI interface by using the i.MX RT 1062's BEE (Bus Encryption Engine). To do this the eFUSEs will be programmed accordingly and the code stored in an...
  15. Replies
    5
    Views
    411

    Thanks. I checked the status registers of the...

    Thanks.
    I checked the status registers of the W25Q16 and find
    0x44 for register 1 and
    0x03 for register 2
    This interprets to having the last 4k protected and the protection locked until the next...
  16. Replies
    5
    Views
    411

    Teensy 4.0 Recovery program in QSPI Flash

    Hi All

    I understand that by holding the button down on the Teensy 4 for 15s will cause the reference program stored at the end of the QSPI flash to be loaded so that a "known-good" program runs.
    ...
  17. Replies
    30
    Views
    23,033

    Hi The uTasker project has a solution for...

    Hi

    The uTasker project has a solution for Kinetis parts with Ethernet or the Teensy with ENC424J600 (potentially over RNDIS on USB but I never tried it and it probably has no advantage over...
  18. Hi Please quote figures in comparisons - how...

    Hi

    Please quote figures in comparisons - how much Flash and how much RAM is consumed in the two cases?

    Regards

    Mark
  19. Replies
    76
    Views
    44,550

    Hi uTasker uses a simple scheduler or can...

    Hi

    uTasker uses a simple scheduler or can operate with FreeRTOS. This is a different concept from the simple super-loop used in the sketches.

    Remember that (see statistics in this report) that...
  20. Replies
    76
    Views
    44,550

    Teensy 3.5 and Teensy 3.6 ports are at...

    Teensy 3.5 and Teensy 3.6 ports are at
    http://www.utasker.com/kinetis/TEENSY_3.5.html
    and
    http://www.utasker.com/kinetis/TEENSY_3.6.html

    - USB-MSD boot-loading via FS or HS (3.6), SD card...
  21. Replies
    76
    Views
    44,550

    What is meant by Arduino? SW, HW, development...

    What is meant by Arduino? SW, HW, development environment? Or other?

    Regards

    Mark
  22. Replies
    76
    Views
    44,550

    The software works already on about 60 hardware...

    The software works already on about 60 hardware references, including K66 based ones, so a Teensy 3.6 port will take about 15 minutes.... (I may do it later if I find some time).

    Regards

    Mark
  23. I would use the utaskerSerialBoot project but...

    I would use the utaskerSerialBoot project but with usb_application.c (USB task) from utaskerV.4 project instead of usb_loader.c (original USB task in the loader project).

    Probably it is easiest to...
  24. Zachtos I don't recommend USB-MSD to do...

    Zachtos

    I don't recommend USB-MSD to do firmware loading and SD card (memory stick) on the same interface due to the fact that this would involve having multiple LUMs (two disk drives appear to...
  25. Replies
    549
    Views
    241,533

    Hi All Just an idea to make a "really cheap"...

    Hi All

    Just an idea to make a "really cheap" version in case this would be of interest in the future.

    The Teensy LC uses the KL26Z64 which costs $1.50 in quantity but needs the Mini54tan for...
  26. Hi Note on processor speed configuration. This...

    Hi

    Note on processor speed configuration. This is in app_hw_kinetis.h - for the Teensy 3.1 it is 72MHz by default, which is set by this block

    #define OSC_LOW_GAIN_MODE
    #define...
  27. Hi I can confirm that this 'restriction' is...

    Hi

    I can confirm that this 'restriction' is due to the compiler pre-processor not being able to use defines for its macro input.

    One 'help' is to use the port reference in the pin name:

    ...
  28. Replies
    27
    Views
    6,904

    The meaning of the byte in Flash at 0x40c is...

    The meaning of the byte in Flash at 0x40c is documented in the FTFL_FSEC field description of the K20 user's manual.
    It has nothing to do with the Teensy or the Teensy loader, but is defined by the...
  29. Replies
    27
    Views
    6,904

    Hi Neutronstriker In fact I may have made a...

    Hi Neutronstriker

    In fact I may have made a mistake writing that a chip has all flash deleted (at 0xff) when it leaves the factory because in fact probaby the byte at 0x40c is set to 0x7e so that...
  30. Replies
    2
    Views
    2,005

    Hi Steve There are always pros and cons of...

    Hi Steve

    There are always pros and cons of every solution/implementation.

    I am involved professionally with many Ethernet based applications where typically a Kinetis K60 or STM32F4xx (for...
  31. Replies
    2
    Views
    2,005

    Ethernet TCP/IP and Teensy C

    Hi All

    As an experiment I have connected a Microchip ENC424J600 (10/10M Ethernet) to a Teensy LC:
    http://www.utasker.com/kinetis/TEENSY_LC.html#LAN

    Due to the fact that the device hasn't a...
  32. Replies
    27
    Views
    6,904

    Hi neutronstriker I have just seen that you...

    Hi neutronstriker

    I have just seen that you had a probem after commanding a mass erase.

    This command calls the Flash code to delete all sectors of Flash:
    fnFlashNow(FCMD_ERASE_ALL_BLOCKS, 0,...
  33. Replies
    30
    Views
    23,033

    Hi All I have just completed connecting a...

    Hi All

    I have just completed connecting a Microchip ENC424J600 (http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en542414&redirects=ENC424J600) to the Teensy (via the WIZ820io & Micro SD...
  34. Teensy LC Supported in the uTasker Project (including USB-MSD and UART loaders)

    Hi All

    The TEENSY LC is now supported in the uTasker project (fully tested on new HW):
    http://www.utasker.com/kinetis/TEENSY_LC.html

    The link includes a simulation and images for USB-MSD and...
  35. Replies
    549
    Views
    241,533

    Hi All There is a simulation of the Teensy LC...

    Hi All

    There is a simulation of the Teensy LC here: http://www.utasker.com/kinetis/TEENSY_LC.html

    It can be downloaded and executed without any installation (see screen shot at the link) and...
  36. Replies
    549
    Views
    241,533

    Hi I have attached memcpy code from the...

    Hi

    I have attached memcpy code from the uTasker project below (there is also memset which is very similar) which is suitable for the KL26.
    It can be used generally since it will work out the...
  37. Replies
    549
    Views
    241,533

    Hi All I have worked with the KL26 on the...

    Hi All

    I have worked with the KL26 on the Freescale FRDM-KL26Z boards so prepared a project for the Teensy LC for when the HW is available.

    Some notes:
    1. Would it not be better to use a...
  38. Replies
    20
    Views
    13,209

    Hi All The serial loader for the Teensy 3.1...

    Hi All

    The serial loader for the Teensy 3.1 has been updated to include Freescale KBOOT support as option (KBOOT is detailed at the Freescale web site:...
  39. Replies
    30
    Views
    23,033

    Hi All I am using remote Ethernet updates via...

    Hi All

    I am using remote Ethernet updates via Web server, TFTP and/or FTP but this needs an external Ethernet controller connected via SPI (or parallel port) when the Kinetis doesn't have inbuilt...
  40. Replies
    20
    Views
    13,209

    Hi All There is a (definitive) guide to using...

    Hi All

    There is a (definitive) guide to using the Teensy 3.1 Arduino/Teensyduino application together with the uTasker serial loader (vaid for USB-MSD, SREC UART and SD card techniques) at
    ...
  41. Replies
    23
    Views
    6,026

    Frank The code in the thread is suitable for...

    Frank

    The code in the thread is suitable for any K processor which uses long-word programming (including K20-72 as on the Teensy).
    There are a few differences for K parts using phrase programming...
  42. Replies
    23
    Views
    6,026

    Frank Lock bits are controlled in the flash...

    Frank

    Lock bits are controlled in the flash configuration area (0x400..0x40f). Since you have full control over these and the Teensy project sets them per default with 0xff 0xff 0xff 0xff 0xff...
  43. Replies
    23
    Views
    6,026

    Frank Thank you for the clarification. I have...

    Frank

    Thank you for the clarification. I have been using the "ARMŪv7-M Architecture Reference Manual" where this detail is not mentioned.

    Now it is clear that the 0x200 boundary, as found from...
  44. Replies
    23
    Views
    6,026

    @embedded-creations Thank you, we weren't using...

    @embedded-creations
    Thank you, we weren't using a version with interrupts in SRAM, but moving them there does solve the issue.

    It has been possible to identify the actual cause in that the UART0...
  45. Replies
    23
    Views
    6,026

    Hi For completeness I have attached the blink...

    Hi

    For completeness I have attached the blink and serial HEX files that have already been prepared (the one with "0" in the name is the standard one without an offset). These can be easily loaded...
  46. Replies
    23
    Views
    6,026

    Hi Paul After another day of work I have...

    Hi Paul

    After another day of work I have defined a simple way to show that the "MultiSerialMega" fails (doesn't operate as normal) if the code is set at an offset.
    This doesn't involve installing...
  47. Replies
    23
    Views
    6,026

    Hi I will chime in now since things are...

    Hi

    I will chime in now since things are getting quite serious. I have myself spend many hours trying to debug what is taking place but not being able to do real source code debugging it is proving...
  48. Replies
    20
    Views
    13,209

    Hi Benoit I am not sure whether you are...

    Hi Benoit

    I am not sure whether you are referring to the complete uTasker project or the uTasker serial loader project?
    The serial loader project includes various boot loader features (presently...
  49. Replies
    20
    Views
    13,209

    Hi >>what do you mean by interrupt vector set...

    Hi

    >>what do you mean by interrupt vector set in the code?

    As I wrote earlier;:
    "Then the values 59C0000059C00000 (addresses 0x0000c059) look to be interrupt vector addresses (probaly handling...
  50. Replies
    20
    Views
    13,209

    Hi It looks basically OK to me. Although...

    Hi

    It looks basically OK to me.

    Although probably not important, the address of the .vectors could also be set to the link address and the .flashconfig can be removed since it doesn't serve any...
Results 1 to 50 of 100
Page 1 of 2 1 2