My package made it to our PMB in town later yesterday, hopefully today I will get into town and pick it up.
Another option would be to make something setup for the MicroMod. Side note to this, I wish Sparkfun would sell a
Micromod breakout...
I tried running the example on a Teensy 4.1 with ethernet connected. Indeed it crashes.
I noticed this in the console:
sketch_aug09a: In function 'bool BasicSkills_Ethernet_INIT(uint8_t*, IPAddress)':
sketch_aug09a:10: warning: no return...
Just to make sure I answered this question:
Yes, as explained in msg #3, we updated many libraries in version 1.62 because of the change from gcc 11.3 to gcc 15.2. NativeEthernet was among them.
However the crash problem appears to be not in...
I should also mention, on every software release I manually run Ethernet (W5500) example WebClient, NativeEtheret example WebClient, and for newer releases QNEthernet example SimpleHTTPClient. On all 3, I just watch the serial monitor for a...
Quick update. Swapped base boards and now:
CPU speed: 600 MHz
===========================
CYW4343W Card::begin: SDIO2
===========================
Attaching OOB interrupt to pin 29
Enabled CYW4343W bus high speed interface
BUS_IORDY_REG (Ready...
@defragster @mjs513 - Haven't received my board yet so I can't help much. It's probably not going to get much further than reading the card ID.
This is the repo that should be used...
Ok used the triple header board as well and IDe 2x. Changed IRQ pin to 29 - hard to tell what pins are need - assume wake is still 38
CPU speed: 600 MHz
===========================
CYW4343W Card::begin: SDIO2
===========================...
Seems you've done it before - I have faith in you :) And should be able to test whatever you can post.
In the end the old unit won't matter I suppose - though mine is still sitting here. Though I did wire Serial 1&2 together to test some code...
I kind of like the stacking header method but I think I will utilize @PaulStoffregen's three tier motherboard that way I have everything on one board and an extra tier for access to all pins for testing. I do not have stacking headers at hand but...
@defragster - I do plan to integrate the 1YN device into my current 1DX version of QNEthernet until @shawn has his version up and running. There are drivers out in the wild that accommodate both the 1YN and 1DX WiFI devices. They just use a...
Great news, the prototypes are working!
Apologies for my long delay, I've been out sick for over a week. Finally back in the office and working on this again.
Long story short, the chip was populated backwards!
After reworking one board, the...
In conclusion, after much wrangling - it is a baked-in startup behavior of the driver chip, as programmed by the vendor.
I bought a 2408 kit and will try that next.
@mwomack: It may sound trivial, but you should try a different USB cable. It is a very commonly reported problem (not unique to linux) & very likely that you have a "charging only" cable (which has only the 5VDC & GROUND wires, so it is not...
Understood. But using the PICO 2W as a test to understand the driver is half the battle. It sounds like once you get the real board to test with it should go alot faster than you would have if you were starting from scratch. Probably should...
Update: Setup to compile and run the picowi library on the PICO 2W. It uses an SPI interface instead of the SDIO interface we use with T41. The SPI initialization is similar to the SDIO initialization after the low level hardware setup is done...
Yes. I personally tested two 16M chips. Special thanks to ProtoSupplies for sending me 3 of the earliest sample chips. I soldered them onto 2 Teensy 4.1s. First board got one plus a flash chip and the other got a pair of the 16MB chips so I...
Yep Frank had a library for that but sure its still available. I have used a modified version of it since his original version was working after changes to the original core. Anyways I am attaching for reference:
After including the library I...
Here's what I use for total free RAM. Maybe that can get you started.
extern "C" void* _sbrk(int incr);
// Returns the amount of free RAM.
// See: https://forum.pjrc.com/threads/57269-I-can-t-seem-to-use-all-of-the-Teensy-4-0-s-memory
// See...
Wifi work is progressing... I can scan 2.4GHz and 5GHz channels and probe access points:
Device<0x20207300> activate configuration 1(-1)
Device<0x20207300> activate interface 00 altSetting 00
New Endpoint<0x20207900> type 3
New...
Either version requires you to have relevant page of the datasheet to understand - if your field names were readable then it would be better, but probably multi-line! Perhaps best to wrap all the register encoding in functions/macros with well...
I think I cracked the problem of what to do with array elements and sub-structures and arrays of sub-structures. I also figured out how to automatically detect and set mixed w1c and non-w1c fields properly.
The compiler can now also catch:
1...
Mark,
It's fixed now. Somehow the files did not make it when we revised the website pre-launch. Please let me know if there are any other issues.
Thanks,
Greg
Folks,
At risk of seeming "not Teensy enough," I want to share that I've posted complete lecture materials to the main Stanford classes I taught in electronics, and my textbook. Freely available. I'm posting this here because a lot of the issues...
If @wwatson had one that might be the fastest way to know.
@Dogbone built his minimal boards and other than possible sanity hardware checks AFAIK they shipped for forum testing.
Software is known ready for chip change and @wwatson seems to have...
@PaulStoffregen or other might investigate or clarify if that is a safe update/proper to make to the Teensy boards.txt.
Just a suggestion to try: Move that EDIT into boards.local.txt (and restore the original command) and restart the IDE and see...
It's a hardware limitation. Here's the info from the hardware reference manual.
Only engineers at NXP who designed the hardware could give a definitive answer.
But we can guess and speculate about some of the trade-offs and choices they...
As far as the CYW4343W (1DX) chip check out post #117 in this thread. I explained to @gigapod what was done with the 1DX chip up till now. I did not have access to the 1YN board for testing. So can't comment on what others may have developed...
A while ago I bought a $5 USB wifi/bluetooth adapter from aliexpress. They seem to be very plentiful, advertised under a few different brands but usually including a mention of AX900, Wifi6 and Bluetooth 5.3 or 5.4. I thought it would be a...
Looks like we have some more work ahead of us. I have spent the last two days stepping through the PICO 2W initialization process and most of it is similar to the CYW4343W. Will probably need to start at the beginning diagnosing with my LA...
@sparkfro - Actually if there was no communication at all without the WL_REG_ON and WL_IRQ pins pins being changed you would have probably seen the CMD52 errors then.So that is indicating that we do probably have comms with the chip. That's...
I do have the PICO 2W which uses the 1YN chip. I have not used it yet But I am in the process of setting up to use it. I also have PICO debug probe so once I figure out how to use those then it should help to debug things if needed...
Sorry - Not sure why it does not compile but the latest version is listed in post #209. This is the link:
https://github.com/wwatson4506/QNEthernet_WIFI/tree/QNEthernet_WIFI_0.36.0
It is based on @shawn's latest version (0.36.0) of QNEthernet...
Ah! It builds now, thanks!
Changed the WL_REG_ON and WL_IRQ pins, but it's failing to communicate. No idea yet, will dig into it more later, (I need to head home for the day). Probably something simple :)
17:12:04.740 -> CPU speed: 600 MHz...
Ooh, aah, prototype! (we order prototypes in black, final will be red)
@wwatson I downloaded the latest master branch of https://github.com/wwatson4506/QNEthernet_WIFI. I tried the cyw43_scan.ino, but it failed to compile. I see there are a...
Paul - no intent to break rules nor irritate anyone. Please take this down if you or the community find it offensive. I would appreciate clear guidance, since not all of us will intuit the "unwritten rules."
Not everyone would pay $50 of course...