IIRC @KurtE uses KiCad ...
Kurt - any sign of your p#998 PCBWay board?
IIRC @KurtE uses KiCad ...
Kurt - any sign of your p#998 PCBWay board?
Doug:
Maybe one of the models from <<this>> source would work for you ??
Hope that helps . . .
Mark J Culross
KD5RXT
P.S. You will need to register for & confirm a free account on their website in order to download their models. MJC
Maybe this helps?
MicroMod Stepper driver carrier (kicad)https://github.com/luni64/mmStep
(T3.2 compatible board: https://github.com/luni64/MicroMod_3.2)
I used the symbol and footprint @luni created (above)
good opportunity to say many thanks to @luni and confirm they worked out perfect.
Cheers, Paul
Some time ago I made minor updates to the my blue breakout board (pictures on msg #184 and msg #547 and msg #671).
The 14 pin display connector was changed to use pins 1 & 4 for D/C & CS, for the same connection as used with Sparkfun's ML carrier and to avoid the conflict with pin 9 needed by the camera if used in 8 bit mode.
Also added a 6 pin header for Serial2 (same LPUART port as Serial4 on Teensy 4.0 & 4.1) and fixed the silkscreen labeling error on the I2C connectors.
They arrived a few weeks ago, but I just haven't had time to build any yet. The MTP changes and so many other things have seemed like a much higher priority. If anyone *really* wants to solder one up, I could send a bare PCB and a few key parts.
Forgot to mention, I use DipTrace not KiCad...
Sounds great.... I can wait as well. I do have some previous version which I totally screwed up on... Somehow the USB object had the pin numbers wrong and I did not double check. I made one work by hacking up USB cable to get things in right order. Also the 3.3v regulator footprint had issue, I hacked one up by jumpering in a Pololu dc/dc regulator... But works well enough, plus also busy with other stuff... Like MTP, plus want to get back also to MSC and the like
I've been trying to access the 128Mb Winbond SPI flash chip for a couple days now. Anyone have any luck? I've tried spiffs and little_fs following what is generally done for QSPI flash installed on the back of the teensy 4.1.
Sorry, I am not sure what your hardware setup you are trying to test?
Since you are asking on the MicroMod thread, I am assuming a Micromod.
Are you asking about the Flash chip that is on the MicroMod? This is used to store your programs in the same way as the flash chip on the top of the T4 or T4.1. Which is different than the optional flash you can solder on the bottom of a T4.1
However with the latest releases of Teensyduino you can store stuff in unused areas of this flash by using the: LittleFS_Program class.
Note: only recently with the latest release of Teensyduino which updates the loader to version 1.07. Before this release, you could use the LittleFS_Program, but the data would wiped clean the next time you programed your Teensy. With new version it will preserve most of this space not used by the program. More details int he release notes.
If however you are talking about an external winbond spi chip connected through SPI, which class you might use would depend on exactly which chip you are using.
There is a wrapper class LittleFS_SPI which contains one of each of the three different SPI type memories...
But again this would be normal SPI, not the Quad SPI that the T4.1 uses.
Yes, I'm talking aout the external winbond SPI flash, according to the eagle schematic it is connected to QSPI pins of the IMXRT1062.![]()
LittleFS_QSPI then never prints anything after the first Serial print. Sparkfun has messed up some of the pinouts on these micromod boards, so I'm just seeing if anyone on this general thread has used the included external winbond flash with any success yet.
The IMXRT1062 has two QSPI busses,
One of the is used to hold your code and is programmed by the MKLZ chip. This QSPI buss is common to all of the T4.x, although each of them have
different capacity chips. 64MBits on T4.1 128Mbits on MMOD.
Sorry for my crude scribble off of a screen capture:
That is the green part, which corresponds with the part of the schematic you showed.
However the T4.1 brought out the pins associated with the 2nd QSPI buss and that is the part I circled in RED. Only the T4.1 brought this out.
So again to get to the unused part of the MMOD QSPI flash you need to use the Littlefs_program class
I gotcha, the product page for the micromod indicated 16MB for flash for programs with reserve for EEPROM, so I assumed the 128 Mb was for use. As I'm typing this out, I'm realizing that 128Mb is 16MB. I apologize. I left all this in for my stupidity to a dumb aha moment. Thanks for the quick responses.
You can store files in the portion of flash memory which isn't used for your code and isn't reserved eeprom emulation. Most program weigh in well under 1 MByte, so typically the majority of that chip can be used for files.
But you need to use LittleFS_Program, not LittleFS_QSPI, because it's the flash memory used for storing your program.
LittleFS_QSPI only works on Teensy 4.1, and only if you solder an extra flash memory chip to the bottom side.
Has anyone tested Snooze on the MicroMod?
I'm using the version shipped with TD1.56 on a Mac.
Using the following sketch:
I flash it, it reboots and then I get 9 blinks on the program pin:Code:#include "Snooze.h" #include "FlexCAN_T4.h" #define canRx 30 FlexCAN_T4<CAN3, RX_SIZE_256, TX_SIZE_16> Can0; SnoozeUSBSerial usb; SnoozeDigital digital;// this is the pin wakeup driver SnoozeBlock config_teensy(usb, digital); void setup() { pinMode(13, OUTPUT); digitalWrite(13, HIGH); Can0.begin(); Can0.setClock(CLK_60MHz); Can0.setBaudRate(500000); //Can0.enablInterrupt(); Can0.onReceive(canSniff); } const int loopDelay1 = 5; unsigned long timeNow1 = 0; const long SleepTimer = 30000; // Time to go to sleep unsigned long startTime = 0; void loop() { if (millis() > startTime + SleepTimer) { hibernateTeensy(); } else{ if (millis() > timeNow1 + loopDelay1){ timeNow1 = millis(); } } } void hibernateTeensy(){ Serial.println("...Time to Sleep...."); digitalWrite(13, LOW); digital.pinMode(canRx, INPUT_PULLUP, RISING); //Snooze.deepSleep( config_teensy ); //Snooze.sleep( config_teensy ); Snooze.hibernate(config_teensy); } void canSniff (const CAN_message_t &msg){ startTime = millis(); // Resets the go to sleep clock at the beginning of the loop }
Not matter what combo of setup I use, I get the same behavior.9 Blinks = ARM JTAG DAP Init Error
The ARM JTAG DAP was detected (4 blinks) but could not be initialized. This error is rather unlikely!
Not seen it done, not sure Snooze has been fully tested on the 1062 MCU - shared by T_4.x and the T_MMod.
Check the github SNOOZE for issues ... perhaps forum search for T_4.x posts.
Ive used it on a T4.0 with no issues a few months ago. But something is seriously broken this time around.
And duff not being able to work on it, I might have a go at it myself?