Hi
I have made an XBAR video here which may help with general understanding:
https://youtu.be/zNWIG-O7ZW0
Regards
Mark
Type: Posts; User: uTasker
Hi
I have made an XBAR video here which may help with general understanding:
https://youtu.be/zNWIG-O7ZW0
Regards
Mark
Hi
Below is the code that I use which you may be able to reverse engineer to your environment. It is from the uTasker project so uses different headers and formatted output commands.
If you just...
Hi All
I didn't realise that the Teensy 4.1 had a MAC address burned into its eFUSEs until reading this thread so I read out the eFUSEs on my board:
eFUSEs
======
LOCK
0x40528107
CFG
...
Hi
The connector on the socket may be 180° reversed. Like this the LED won't work since its polarity is incorrect but the Ethernet still works (as I have heard) since it doesn't care about the...
Hi
I have Telnet operation on a Teensy 4.1 here: https://www.utasker.com/iMX/Teensy_4_1.html
together with FTP, HTTP and some other Internet protocols.
Here's a Telnet session connected to a...
Hi All
I have made a video explaining some details about the normal and high-speed GPIO in the i.MX RT 1062, as on the Teensy 4.x, including speed comparisons:
https://youtu.be/nLInUIboLR0
...
Hi
DMA from / to GPIO is possible by using the XBAR.
The following video explains and shows it in operation:
https://youtu.be/zNWIG-O7ZW0
Regards
Mark
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 =...
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...
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...
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...
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
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...
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...
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...
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
- 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...
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...
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),...
>>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...
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...
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...
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.
...
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...
Hi
Please quote figures in comparisons - how much Flash and how much RAM is consumed in the two cases?
Regards
Mark
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...
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...
What is meant by Arduino? SW, HW, development environment? Or other?
Regards
Mark
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
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...
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...
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...
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...
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:
...
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...
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...
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...
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...
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,...
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...
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...
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...
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...
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...
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:...
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...
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
...
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...
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...
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...