-
Older Activity
-
Yesterday, 04:31 PM
Quick update: I reworked the setup, such that the Visual Studio builds using the same .c file as used in the makefile
I then added the external stuff into that source file. And it appears to build again.
I then...
32 replies | 2760 view(s)
-
05-20-2022, 08:46 PM
Might help if we had a better idea of what is going on and what you would actually like:
That is you say you have 4 clocks running that can update the display? Do they want to update the whole display, or do they...
3 replies | 75 view(s)
-
05-20-2022, 08:04 PM
Not right now I am building for Debug x86
I am not sure if x64 can build.
If you open properties on project:
Go to linker/Input section
The Additional Dependencies:...
32 replies | 2760 view(s)
-
05-20-2022, 06:51 PM
It probably would build on 2019 as well...
The RAWHID stuff was done on 2019
32 replies | 2760 view(s)
-
05-20-2022, 05:57 PM
For the heck of it, I thought I would see if I could make a version of the teensly_loader_cli that builds on windows using visual studio.
For Linux it was easy to build even under windows using the WSL setup, but for...
32 replies | 2760 view(s)
-
05-20-2022, 12:27 PM
#define USE_NATIVE_ETHERNET
#define USE_ILI9341_T3N
//#define USE_ILI9341_T3
#ifdef USE_NATIVE_ETHERNET
// In NativeEthernet.cpp,EthernetClass::begin(...) you must remove waiting on the link status:
/// ...
10 replies | 160 view(s)
-
05-20-2022, 02:11 AM
I ran your sketch:
#define USE_NATIVE_ETHERNET
#define USE_ILI9341_T3N
//#define USE_ILI9341_T3
#ifdef USE_NATIVE_ETHERNET
// In NativeEthernet.cpp,EthernetClass::begin(...) you must remove waiting on the link...
10 replies | 160 view(s)
-
05-20-2022, 01:14 AM
As an example of this, you might try looking at the Example: Teensy->USB_SERIAL->USBtoSerial
It shows you how in the loop, it uses the Serial.available() to help determine how many bytes to read.
In addition to this...
12 replies | 184 view(s)
-
05-19-2022, 10:22 PM
Actually I am surprised it works with passing in 255 for CS...
10 replies | 160 view(s)
-
05-19-2022, 12:50 PM
:D
I just pushed up the changes after a little cleanup. That is I did a few things like remove trailing blanks from lines.
Also I set DEBUG back to 0 and then updated the code such that only errors would print out...
1231 replies | 57553 view(s)
-
05-19-2022, 12:50 AM
Sorry, no idea...
However not sure might help to know what does not work? Does not compile, does not???
That is I am not sure any reason why if ILI9341_t3 works with SPI and NativeEthernet why _t3n would not. ...
10 replies | 160 view(s)
-
05-19-2022, 12:42 AM
The Cache write stuff looks ok: I am doing an output each time we do a write to Cache:
>> cache write: 3 3 2 6144
So wrote cache 3 which was also block three to file
Then: cache write: 2 5 3 10240
So writing out...
1231 replies | 57553 view(s)
-
05-19-2022, 12:19 AM
I am sort of confused here..
You show the old style of the error messages: $$$ Failed to read Index record: 8 bytes Read: 0
The code that shows read failure:
uint64_t seek_pos = block_index *...
1231 replies | 57553 view(s)
-
05-18-2022, 11:26 PM
Quick update: You might try this storage.cpp and see if it resolves the issues.
It appeared to work for my copy of all of those files with just the one Storage on SD...
I need to remove/ comment out the debug...
1231 replies | 57553 view(s)
-
05-18-2022, 09:53 PM
Quick note: I am having File writes and reads fail... And maybe more related index_seek(block_addr, ...) is failing
The current SDFat may not be allowing seek to go beyond the current size of the file.
So my...
1231 replies | 57553 view(s)
-
05-18-2022, 07:44 PM
Maybe... I uninstalled the Teensy boards from the IDE for now...
Note: I am running my own simple sketch for SD to see if anything pops up: I am running it on T4.1 that has PSRAM... Using the previously generated...
1231 replies | 57553 view(s)
-
05-18-2022, 02:13 PM
@defragster - quick question are you running your Makefile sketch as MTP Disk or MTP Serial?
One reason I ask is some places in the code you have:
#if defined(USB_MTPDISK) || defined(USB_MTPDISK_SERIAL)
#include...
1231 replies | 57553 view(s)
-
05-18-2022, 01:51 PM
Might help to know additional information like: Burned out - Are you saying, that the board had some magic smoke, or just stopped working or...
Power connection from PC. Are we saying USB power with voltage about...
5 replies | 148 view(s)
-
05-18-2022, 01:31 PM
Morning all (at least in my time zone):
Tim, I will try to run some more of your tests over the next several days. As was mentioned yesterday it may be that there is an interaction issue with the index file and...
1231 replies | 57553 view(s)
-
05-17-2022, 10:36 PM
I did similar to what @mjs513 did.
Note I ran the original sketch, created files, tried to copy to pc, received same error message. Took ssd to pc, ran chkdsk and showed corruption
, which it fixed.
Modified...
1231 replies | 57553 view(s)
-
05-17-2022, 05:26 PM
Yes running Windows 10.... My computer is not Windows 11 compatible... They do not support my processor...
1231 replies | 57553 view(s)
-
05-17-2022, 03:56 PM
Hi @defragster
Quick update - as I mentioned in the last post I merged back to the one _part2 branch and deleted the _part2_format.
At some point soon I will take a closer look at the issues you are seeing with...
1231 replies | 57553 view(s)
-
05-17-2022, 03:17 PM
Yikes - I hope you all stay well! Also keeping fingers crossed on port shortages!
I just merged the branch with the Format code back into the branch with the open PR: ...
1231 replies | 57553 view(s)
-
05-17-2022, 01:04 PM
It will be interesting to see what you come up with. But as noted, as far as I know there are no T3.5 or 3.6 chips available and no ETA when they may be available.
Always interesting to see different trade offs.
...
6 replies | 328 view(s)
-
05-16-2022, 09:37 PM
Sorry,
When it comes to completely custom boards, I am not experienced in seeing what is different versus a stock T3.2.
So I am probably not much good at debugging this. Except to suggest that you might want to...
15 replies | 254 view(s)
-
05-16-2022, 07:20 PM
Yes - all of the above.
Assumes Beta 1 install
Plus the trees you mentioned.
Note: I have a couple of USB examples converted. Both my CircuitMicroPython example plus under simplified... examples I have example...
1231 replies | 57553 view(s)
-
05-16-2022, 05:51 PM
Next question is what do you actually have: i.e. which chip. Is it a raw chip and/or is part of some breakout board like setup. i.e. something like Adafruit or sparkfun sell?
Do you have a schematic or the like on...
15 replies | 254 view(s)
-
05-16-2022, 03:07 PM
So looking at their headers I see:
/* Error codes */
#define AD7124_INVALID_VAL -1 /* Invalid argument */
#define AD7124_COMM_ERR -2 /* Communication error on receive */
#define AD7124_TIMEOUT -3 /* A timeout...
15 replies | 254 view(s)
-
05-16-2022, 02:15 PM
Good morning Paul and all:
Status update for MSC integration into USBHost:
I currently have A Pull request: https://github.com/PaulStoffregen/USBHost_t36/pull/89
Which added in a lot of the functionality we...
1231 replies | 57553 view(s)
-
05-16-2022, 01:19 PM
This probably is related to issue that Paul is looking at in the thread: https://forum.pjrc.com/threads/69820-USBHost_t36-with-Circuitpython-serial-device-Keybow2040?p=306066#post306066
There appears to be a timing...
10 replies | 203 view(s)
-
05-16-2022, 12:55 PM
Frame buffer is simply an array of memory: 2 bytes per pixel: Think of it like:
uint16_t readPixel(x, y) { return frame_buffer;}
void writePixel(x, y, color) {frame_buffer = color;}
Note: obviously not...
36 replies | 332 view(s)
-
05-16-2022, 12:27 AM
Sorry all, keep meaning to try this stuff out...
But been distracted also with the MSC stuff. More details on that soon.
135 replies | 1785 view(s)
-
05-16-2022, 12:25 AM
There are lots of different tricks that you can do.
If for example you are simply updating one or more fields, you can use the clip rectangle code, where you set the clip around the field being updated and then do...
36 replies | 332 view(s)
-
05-15-2022, 10:00 PM
As for the display it may depend on what you are doing and the like, which library and how you are using it.
Sounds like you are using my: ILI9341_t3n
No it does not use DMA by default. You need to tell it to...
36 replies | 332 view(s)
-
05-15-2022, 08:19 PM
Hopefully someone who is less electrically challenged than me, will be able to give a more definitive answer.
Note: when I first read the message, it was not clear to me, what battery...
But looking at the...
3 replies | 63 view(s)
-
05-13-2022, 06:53 PM
Sorry I may be wrong, but I am wondering if the issue is really an issue with Serial?
That is if I am not mistaken, the chip connects using SPI.
Often times a difference between uploading new and powering up, is...
15 replies | 254 view(s)
-
05-13-2022, 05:48 PM
I may be missing something? What is the actual difference between the keybow 2040 versus plain Jane PICO or Adafruit Feather RP2040?
Yes I understand from their schematic that a bunch of the GPIOs are used for the...
43 replies | 832 view(s)
-
05-13-2022, 01:04 PM
Good morning Paul,
You can program the RPI2040 Pico with CircuitPython.
Instructions as well links to downloads are on the page: https://circuitpython.org/board/raspberry_pi_pico/
Short answer is you download a...
43 replies | 832 view(s)
-
05-13-2022, 12:46 PM
Sorry I have not used any of these DAC chips nor the library and the like.
So I have no way of trying it out and see what if anything works.
So probably not much help. One thing you might try doing is looking at...
2 replies | 207 view(s)
-
05-13-2022, 12:21 AM
Hello again @JimF
Any success?
Just for the heck of it I ordered a couple of cheap displays: https://smile.amazon.com/dp/B079M3GWFG
Which I picked up at my mailbox this morning, soldered some pins in.... And...
5 replies | 127 view(s)
-
05-12-2022, 10:08 PM
Hi Paul and all,
Quick updates - I did put a quick note in first message. Will update the main branch as well to direct others to get the beta releases.
Sorry I have been distracted working on the USBHost MSC...
1231 replies | 57553 view(s)
-
05-12-2022, 07:33 PM
So now I have some new shiny stuff like the same airwing...
Might have to see if any of it works :D
135 replies | 1785 view(s)
-
05-11-2022, 10:57 PM
Sounds good. Still draft PR (not sure what that means), but hopefully soon!
167 replies | 28832 view(s)
-
05-11-2022, 12:21 PM
Obviously the simplest way to connect would be if your GPS had some ttl level outputs, that you could connect up to a hardware serial port.
(Maybe requiring TTL level shifter(s) if voltage difference).
But as...
5 replies | 160 view(s)
-
05-10-2022, 11:00 PM
I would double check that you have a matching header file with the .cpp.
Actually now looking at it, the variable usb_mtp_status should be defined within usb_mtp.h
On my build 1.8.19 with ...
1231 replies | 57553 view(s)
-
05-10-2022, 02:37 PM
Sorry sort of hard to tell what is going on, without additional information.
So far we know you programmed it somehow with something that did not work.
In cases like, this it would really help to know details...
2 replies | 123 view(s)
-
05-10-2022, 12:10 PM
Also remember that Leonardo probably runs at 5v, and T4.1 runs at 3.3v and the IO pin are NOT 5v tolerant. So might need some form of TTL level shifting if you connect the IO pins of one
to the other.
Could as...
5 replies | 168 view(s)
-
05-10-2022, 12:57 AM
What I do, is to use github...
That is I use git clone... But other methods would be to download zip file and then have Arduino install the zip file... Which is more or less like what you mentioned.
Note: The...
1231 replies | 57553 view(s)
-
05-09-2022, 08:59 PM
I lied :D
I wondered as the only real difference between Teensy build and these other builds was these other builds left areas in their region of memory that they did not write anything to.
So I hacked up a copy...
35 replies | 1542 view(s)
-
05-09-2022, 02:40 PM
Sorry, I have not used these forms of displays for a long time.
So question is what display, what are connections, and which library are you using?
Yes I know LiquidCrystal, but is it the one that is contained in...
5 replies | 127 view(s)
-
05-09-2022, 01:53 PM
The only other thing I thought I would test, is to verify that on the same Teensy (4.1) if an Arduino sketch created a LittleFS_Program disk starting at the same place if it was retained or not.
So I hacked up the...
35 replies | 1542 view(s)
-
05-09-2022, 12:26 PM
Playing around some more: Curious about what ranges of data do MicroPython and CircuitPython define in hex file versus standard Arduino build:
Arduino build using current beta Teeensyduino...
35 replies | 1542 view(s)
-
05-08-2022, 09:25 PM
Quick update: Trying to make it sure it actually was not preserved... So print hex the reads of logical cluster (0) - hard coded in the sketch and
the Cluster 1 which is the first sector of the fat:
Here is on fresh...
35 replies | 1542 view(s)
-
05-08-2022, 05:55 PM
Hi Paul and all,
I am also trying to debug why CircuitPython (CPy for short) installs also rebuild their File Filesystem on the first boot after updating the hex file...
I have started by adding some debug output...
35 replies | 1542 view(s)
-
05-07-2022, 09:13 PM
Simple answer, no these pins can not be remapped to be swapped.
However if you only needed RX, you might be able to cheat.
Possibly two ways:
a) Set the TX pin to be in half duplex mode and leave it in RX...
3 replies | 130 view(s)
-
05-07-2022, 09:02 PM
Just curious, is this failure Teensy specific or does it happen on other hardware as well?
My new versions of the hardware won't get here until Monday or Tuesday
135 replies | 1785 view(s)
-
05-07-2022, 08:59 PM
Quick update: I un-installed the teensy IDE package.
So now building with new beta on 1.8.19
Note: I am still building with my fork of github of a few projects like SDFat, USBHost_t36... but are (or at least...
17 replies | 1056 view(s)
-
05-07-2022, 01:58 PM
Good morning @defragster -
Not sure what you are asking? If you are asking about sizes of files versus bytes used...
I am guessing it all depends on the cluster size of your storage. So for example if you have...
568 replies | 35518 view(s)
-
05-07-2022, 12:28 PM
Paul, I am also curious about having multiple Teensy installs using the Arduino15 stuff as mentioned versus how I have multiple Robotis OpenCM for example where one is in the Arduino15 and the others are in:...
17 replies | 1056 view(s)
-
05-07-2022, 11:54 AM
Paul - I had wondered if this beta would also show up as a new version for the Arduino boards packages...
i.e. if you had put the pieces in place to use the newer stuff in Arduino_cli that might better support...
17 replies | 1056 view(s)
-
05-06-2022, 06:51 PM
Likewise understood. Although my guess is that many of us have done more testing using +Serial than with +Seremu...
The issue I mentioned, sort of stumped me for a bit, but then by chance looked at the udev rules.
...
568 replies | 35518 view(s)
-
05-06-2022, 02:46 PM
Quick update...
Things are coming along :D Probably a few more pieces to be put into place, which I am guessing as it has been progressing that Paul has been filtering in the changes.
Right not playing around...
568 replies | 35518 view(s)
-
05-06-2022, 12:50 AM
Not sure what all more I can add here, but
RA8875 - Yes should work the same. Probably played more with the code using T4.x than I have with T3.x
RawHid - By default should work the same. However it can work a...
4 replies | 155 view(s)
-
05-05-2022, 11:40 PM
:D - which is funny as they have #ifdef for teensy in their pass through code.
Quick FYI - as I mentioned was able to do the breakout board again today... But being a glutton for punishment,
I ordered the Feather...
135 replies | 1785 view(s)
-
05-05-2022, 02:04 PM
https://github.com/adafruit/nina-fw/releases/tag/1.7.4
135 replies | 1785 view(s)
-
05-05-2022, 01:41 PM
Good Morning @mjs513 and All:
I thought I would try it again to see if my first success of updating the firmware with FTDI cable was a fluke/lucky or if I could repeat it again.
I succeeded :D ...
135 replies | 1785 view(s)
-
05-04-2022, 04:36 PM
Obviously it is your decision on when you wish to release a new beta. If There is lots of stuff that others are needing, one option would be to simply release the beta without any of the MSC stuff.
Understood....
568 replies | 35518 view(s)
-
05-04-2022, 01:21 PM
Paul - I am not sure if you ever looked at the branches decouple or the one that is based off of it decouple_new_sdfat?
It looked like you created your own new branch: with_PFslib that you worked in for a bit and...
568 replies | 35518 view(s)
-
05-04-2022, 12:42 PM
Good morning all,
Looks like making some progress :D
Of course I would plug in a complicated drive ;)
I have a couple of external SSDs that I have been using for experimenting, like:...
568 replies | 35518 view(s)
-
05-04-2022, 01:33 AM
Yes I used a 5v FTDI cable: probably this one: https://www.sparkfun.com/products/9718
I do have others around as well. I got lucky... So far I don't think @mjs513 has. Again mine is the breakout board so a little...
135 replies | 1785 view(s)
-
05-04-2022, 12:53 AM
Also might be good if there was an example showing where you plug in a drive which has multiple volumes, how that is handled in the new object classes.
That is where in SDFat probably that walks the MBR and/or GPT...
568 replies | 35518 view(s)
-
05-03-2022, 10:52 PM
@wwatson, that was where I started... Their sketch did not work for me, likewise several other attempts... But as I mentioned the FTDI cable did work. After setting the state of GPIO0 and Busy.
Have not done much...
135 replies | 1785 view(s)
-
05-03-2022, 10:43 PM
I would look at the BlockDeviceInterface or in current version FsBlockDeviceInterface and see if it works for you.
The header file has a few different read operations available:
/**
* Read a sector.
*
...
4 replies | 108 view(s)
-
05-03-2022, 09:24 PM
Paul - The PFSLib stuff added to support Fat12 was not migrated into FatLib
The commit I did in UsbMscFat... https://github.com/KurtE/UsbMscFat/commit/d8c1ca13aadde2f2a058801e5e4ddcbf800130dc
This includes...
568 replies | 35518 view(s)
-
05-03-2022, 09:10 PM
Curious, was your FTDI 3.3v or 5v? I did mine with 5v version
135 replies | 1785 view(s)
-
05-03-2022, 08:02 PM
Quick update, I did a quick and dirty check to see how bad the sketch I was playing with, that allowed me to plug in a CircuitPython board and connect up through the MSC stuff (Fat12).
There are the obvious things...
568 replies | 35518 view(s)
-
05-03-2022, 06:11 PM
Quick update: I was able to update, the firmware using FTDI cable... Have not tried running it yet since it updated, but:
Hooked up power, gnd, TX/RX, RX/TX, GPI0 to gnd, and I momentarily connected RST to GND...
...
135 replies | 1785 view(s)
-
05-03-2022, 03:07 PM
Good Morning Paul,
I synced up, but am waiting until you give the go ahead and try things out... still distracted with some other things.
568 replies | 35518 view(s)
-
05-03-2022, 03:06 PM
I have not tried this either, although I did use the Teensy USBToSerial sketch and tried setting up different IO pins in different states and never got it to talk...
I hacked up a version of it to try different states...
135 replies | 1785 view(s)
-
05-03-2022, 01:59 PM
Note: On mine I tried the FirmwareUpdater... Changed the IO pins to match what was shown.
And it still goes: Unable to communicate with ESP32 boot ROM!
135 replies | 1785 view(s)
-
05-03-2022, 12:14 PM
It wont talk...
...
I wonder what the state of all of the IO pins needs to be for it to talk...
135 replies | 1785 view(s)
-
05-02-2022, 10:37 PM
I am not sure, it has been awhile, and I know some of it may have been to deal with other abstractions. FsVolume may be sufficient, would need to verify things like it handles both FatVolume and ExFatVolume.
Also...
568 replies | 35518 view(s)
-
05-02-2022, 08:02 PM
Works for me... I was torn between USBFilesystem or simply USBFS or to be like SDFat have it be USBFat...
But no real strong feelings so if those two work, go for it!
568 replies | 35518 view(s)
-
05-02-2022, 02:19 PM
Forgot to talk about:
if (myFilesystem1) {
File root = myFilesystem1.open("/");
printDirectory(myFilesystem1, 0);
}
I do like that, and was considering doing that as well.
We already have: if...
568 replies | 35518 view(s)
-
05-02-2022, 01:51 PM
Good morning Paul,
Quick comments:
USBHost myusb;
USBHub hub1(myusb);
USBHub hub2(myusb);
msController myDisk1(myusb);
MSCClass myFilesystem1(myDisk1);
MSCClass myFilesystem2(myDisk1);
568 replies | 35518 view(s)
-
05-02-2022, 01:19 AM
Sorry not sure of the way with virgin builds right now. Mine is currently very convoluted.
Also we are in the process of hopefully merging the MSC functionality into the core files and hopefully an initial setup...
568 replies | 35518 view(s)
-
05-01-2022, 01:41 PM
Yes it is possible.
Look at the SdFat_Usage.ino example sketch under SD you will see several examples of different ways to initialize the SD library through more advanced features of SDFat...
// Different SPI...
8 replies | 200 view(s)
-
05-01-2022, 01:17 PM
Sorry, I can not help on this one as I don't have the Airlift featherwing... I do have one of the
Adafruit AirLift – ESP32 WiFi Co-Processor Breakout Board
Which may work the same? Although I don't think I ever...
135 replies | 1785 view(s)
-
05-01-2022, 12:41 PM
Sorry I don't see anything obvious either...
I would try it, but I don't have W11 and may be awhile before I do as my computer is not compatible...
1 replies | 64 view(s)
-
05-01-2022, 12:27 PM
Nice project.
4 replies | 348 view(s)