Teensy 4.0 & 4.1
Re: Teensy 4.0 & 4.1
That's interesting. I used that branch just now for flashing. May it be that the flash is connected to a different flexspi port or requires different timings?
Re: Teensy 4.0 & 4.1
Comparing at the schematics, the FLEXSPI connections seem identical. We never tested the 1052 port with QSPI flash. I could get a ARCH MIX board for testing. It seems to export more pins than the NXP EVK board. It seems to be on backlog at the moment, with a delivery time of three weeks.
Re: Teensy 4.0 & 4.1
I've checked the schematics for MIMXRT1050-EVK
and Arch-Mix
It looks the same.
As I've described only the write to Flash does not work.
Re: Teensy 4.0 & 4.1
I dont have the schematic for VisionSOM-RT (1062) module at the moment, but as booting and Flash read operations works, I suppose the connection is the same.
Re: Teensy 4.0 & 4.1
I looked into the files, and for the 1050, the qspi_nor_flash_config.c looks wrong. Try to use the file from the MIMXRT1020_EVK at that place.
Re: Teensy 4.0 & 4.1
Thanks, I'll try it later today.
According to the mex file I have for VisionSOM-RT (1062) module the qspi flash connection is the same as on MIMXRT1020_EVK/Arch-Mix.
Re: Teensy 4.0 & 4.1
Unfortunately I have only access to the code vi phone now so a diff is not as easy. I just spotted that we have 133MHz clock speed configured in the 1050. That was one thing I found odd because that did not work for me with the 1020.
What else did you spot? Was the write command different?
Re: Teensy 4.0 & 4.1
It is different to what works on the 1020 or Teensy (like 8 pads, differential clock, ..., all the settings from the hyperflash).
Re: Teensy 4.0 & 4.1
I guess I need to take a look at that tonight, too.
Re: Teensy 4.0 & 4.1
I've just checked on both boards and using the qspi_nor_flash_config.c from MIMXRT1020_EVK it works!
The file system is mounted on boot (from _boot.py) everything (at least what I've tested) works.
@Roberthh thank you for the help and congratulations on the great work.
The file system is mounted on boot (from _boot.py) everything (at least what I've tested) works.
@Roberthh thank you for the help and congratulations on the great work.