-
Older Activity
-
Yesterday, 05:25 PM
Another quick update:
I have been playing around with my USBHost MTP code and communicating with Kindle Fire. Note: The connection with Kindle Fire (Android) is a bit touchy. Sometimes works other times get into...
616 replies | 56727 view(s)
-
Yesterday, 01:36 AM
Sorry I really don't know the RA887x that well to know how all of the different fonts work or not. I believe this is NOT a system font so we are simply drawing the bits.
Again I also mostly just putter and don't do...
283 replies | 15640 view(s)
-
01-14-2021, 06:02 PM
The same ways as you would with a Teensy 4.
There are many ways to do so.
The Dynamixel is a half duplex serial protocol, which specification says the TTL signal is 5v, although I have never had issues with...
26 replies | 2881 view(s)
-
01-14-2021, 12:44 PM
As for best way to uininstall a version.
First I reboot to make sure I don't have any Arduino things opened up and running.
I will often just delete the arduino (actually I rename it to some other directory...
169 replies | 9486 view(s)
-
01-13-2021, 11:50 PM
Internet has been up and down... Can not complain too much as it looks like lots are still without power.
I pushed up a WIP branch MEM_send_object_large which is based off of the branch I still have an open PR back...
616 replies | 56727 view(s)
-
01-13-2021, 05:46 PM
Afternoon - Internet back, we are lucky, looking at the power outage map, it looks like a lot of areas are without power.
Wind was really strong overnight. It moved and flipped a trailer we pull behind ATV, plus...
616 replies | 56727 view(s)
-
01-13-2021, 04:18 PM
Sorry internet down, so by cell...
I noticed this morning that a case statement missing
About line 844 mtp.cpp above sendobjectinfo should be case: ox100c:
Not sure if that is what you are seeing
616 replies | 56727 view(s)
-
01-12-2021, 11:38 PM
Hi again @mjs513 - I have not tried with 3.5, maybe should. I did build for 3.6.
Note: I am building for MTP with using SEREMU... If you are building for MTP + Serial, did you update the usb_descriptor.h (I think...
616 replies | 56727 view(s)
-
01-12-2021, 11:14 PM
As I think I posted above, it looks like the T3.x does real simple for USB packet it gets it does a write.
I have not tried that way yet.
I did try some code that, if the file is greater than my bigbuffer it...
616 replies | 56727 view(s)
-
01-12-2021, 07:36 PM
@defragster - Sorry not really sure what is going on, just that when I saw stuff about configuring some pins for I2S where are not I2S pins, It made me suspicious that maybe some of the other settings like DMA and the...
799 replies | 19319 view(s)
-
01-12-2021, 06:15 PM
Quick update to above, and with the current caching code I still get timeouts, depending more on the state of the File writes I think...
Example I did a copy of 341024 bytes long and debug output:
MTPD::SendObject:...
616 replies | 56727 view(s)
-
01-12-2021, 02:20 PM
Me too,
So I am starting to play again of moving over the code I have in other branch.
But also wondering about the differences in the two current versions of the sendObject code:
The one for T3.x is really...
616 replies | 56727 view(s)
-
01-12-2021, 02:04 PM
Good morning,
I will have to play later. Looking at larger files receive... More on other thread.
I assume you have already tested that creating a directory works in a simple case.
What Teensy is this supposed...
799 replies | 19319 view(s)
-
01-12-2021, 12:54 AM
Sorry,
I am not much of an I2C person so I normally just use Wire library when I need I2C support. It would be probably easy to get most of the Master mode support in, but would take someone who plays a lot with...
4 replies | 104 view(s)
-
01-12-2021, 12:46 AM
@WMXZ/Paul and others - As for MTP and things like Modify date, I put questions and suggestions on the beta 5 thread.
Things like does LittleFS keep any dates anywhere?
FS/FILE - We don't have any APIs defined....
616 replies | 56727 view(s)
-
01-11-2021, 09:47 PM
I could be wrong, but the last time I looked this library was not yet supported on a Teensy 4.x
The last post from him (@nox771) on that was back near the end of 2019 and his last changes to the library were back in...
4 replies | 104 view(s)
-
01-11-2021, 06:54 PM
Fixed: for some reason we had the checking for bounds in the Pixel function commented out.
We called this with a negative value that in the case of frame buffer just overwrote random memory.
Fix is simple: look the...
9 replies | 168 view(s)
-
01-11-2021, 06:04 PM
It appears to be blowing up in the 5 degree drawing...
Probably on the 2nd draw line where maybe we are not detecting the negative number in some spot:
Here is my current instrumented version of your code:
...
9 replies | 168 view(s)
-
01-11-2021, 05:39 PM
@Paul @WMXZ @mjs513 @defragster... and all:
As has been mentioned up in the MTP thread, it would probably be a good thing, that when possible MTP would be able to tell the Host the dates and times for the files it...
169 replies | 9486 view(s)
-
01-11-2021, 02:40 PM
@WMXZ - Sounds good.
Note: I do think it is good that one can get some of the simple events working for those who might care about it, and in other cases as you mentioned you can use the sledge hammer event of reset,...
616 replies | 56727 view(s)
-
01-11-2021, 02:17 PM
Thanks,
I am not sure if I have that IMU here or not. I have few but not sure about that one. Also that new code is depending on two more external files... So again harder to setup and test it.
So still hard to...
9 replies | 168 view(s)
-
01-11-2021, 01:55 PM
@defragster - Who knows? But with two different ones. I think there may be some interesting timing issue, that I am running into. Will look into it again at some point, but right now looks like we have enough...
800 replies | 53607 view(s)
-
01-11-2021, 01:48 PM
Good Morning,
Not sure about why different files work differently. I suspect it is more on what the writing to the chips are doing. If with yours and Defragsters changes it finds enough already formatted blocks to...
616 replies | 56727 view(s)
-
01-11-2021, 01:48 AM
Sorry, I have not had much of a chance to look through this code.
I did try to compile it and it fails as it is missing probably some header files or the like that define: setupIMU() and UpdateIMU();
I am...
9 replies | 168 view(s)
-
01-10-2021, 11:07 PM
@wmxz and @mjs513 and ...
I pushed up the next set of changes to the branch with the Pull Request.
I am properly generating the object added events for the new files created in your 'a' command.
So if you hit...
616 replies | 56727 view(s)
-
01-10-2021, 08:05 PM
Sounds like it or pieces of it would be a good addition to the core!
17 replies | 249 view(s)
-
01-10-2021, 07:41 PM
There are probably many different ways to answer this question.
can a T4.1 run 5 servos at 125hz. The answer is probably yes, not sure to what end or what means. That is I have my doubts that most hobby servos will...
7 replies | 181 view(s)
-
01-10-2021, 06:18 PM
Note: I implemented some of the simple query functions I mentioned above... And pushed up.
616 replies | 56727 view(s)
-
01-10-2021, 05:36 PM
Yes - So far I have not had any luck with larger files on slower devices. It feels like if a transfer takes over a certain amount of time that the MTP connection will get killed...
I have the stuff in my other branch...
616 replies | 56727 view(s)
-
01-10-2021, 05:00 PM
Morning!
Yes that is the current stuff I am working off of. My LittleFS is still off of LFSinterity/PlusNAND
616 replies | 56727 view(s)
-
01-10-2021, 03:26 PM
@WMXZ and others wanting to play - I started playing some more yesterday and I am in the process of starting again from your current (master) code and adding in some of the changes I have done.
I put in a PR to core:...
616 replies | 56727 view(s)
-
01-10-2021, 02:24 PM
If your code is still what you pointed to: That has:
#define RA8875_CS 9 // not connected
#define RA8875_RESET 25
#define RA8875_INT 7 // not connected
#define...
4 replies | 128 view(s)
-
01-10-2021, 01:36 PM
One option we have is to develop a WIFI driver for some standard USB dongle that plugs into either T3.6 or T4.x. My guess is it would be a lot of work, but would be nice.
We do have some bluetooth support currently...
10 replies | 248 view(s)
-
01-09-2021, 07:56 PM
There are times I have wondered how much it would work in cases like this, if we did something like:
#define SPI_MODE_SLOWCS 0x80
So maybe one could do something like: SPI.beginTransaction(SPISettings(3000000,...
21 replies | 333 view(s)
-
01-09-2021, 03:03 PM
Sorry I missed it was the CPU speed.
I assume that you saw there is a Pull Request, waiting to be pulled in by @mjs513...
https://github.com/bolderflight/MPU9250/pull/64
It is typically not that digitalWrite is...
21 replies | 333 view(s)
-
01-09-2021, 02:40 PM
Again this only works if that hub1 is actually connected as a USBHub. AND that it actually has a name that they put into their USB Descriptor, which is optional. Some devices do not.
From your above:
USBHost...
3 replies | 90 view(s)
-
01-09-2021, 02:35 PM
Again not sure where you are getting 150Mhz?
From the header file of that library:
const uint32_t SPI_LS_CLOCK = 1000000; // 1 MHz
const uint32_t SPI_HS_CLOCK = 15000000; // 15 MHz
And from the source...
21 replies | 333 view(s)
-
01-09-2021, 02:14 PM
Sounds good.
Maybe time to do PR back into LittleFS?
799 replies | 19319 view(s)
-
01-09-2021, 01:26 PM
If you wish to get the product name of a device that has connected to one of your USB Host objects, there are methods on them to do so:
Most of the examples with the library have code like:
for (uint8_t i = 0; i <...
3 replies | 90 view(s)
-
01-09-2021, 12:58 PM
good Work... I will be picking my Sparkfun one up probably in the next hour.
30 replies | 711 view(s)
-
01-08-2021, 07:29 PM
Hard to say.
For example how is it wired up? Is it configured to run on 3,3v or 5v. What software?
I just hooked up one that was the lower resolution. RA8875_480x272
And it is working
I ran the rotation...
4 replies | 128 view(s)
-
01-08-2021, 03:03 PM
@mjs513 - Me too. I have probably done something stupid. I may try again. First I may try some mix and match of components.
That is with the Dual one (currently on PSRAM) plug into breadboard and see if it works...
23 replies | 514 view(s)
-
01-07-2021, 10:46 PM
Thanks guys,
I tried the old stuff, but it fails, but then I did not disable the new stuff first. Might try it again with the start in startup.c bypassed.
Again maybe just punt as you have most memory working...
23 replies | 514 view(s)
-
01-07-2021, 03:55 PM
Me too! Again maybe there are some wires that are not making good contact or??? But with my older extended board have been running the test again:
My current hacked up version:
extern "C" {
extern uint8_t...
23 replies | 514 view(s)
-
01-07-2021, 02:54 PM
@Paul - sounds great, yes the pages are coming along nicely! Also would be great to have an updated T4.1 card. Let us know if there is any thing we can do to help.
Side note with T4.1 and PSRAM pages:
Would be...
134 replies | 5506 view(s)
-
01-07-2021, 02:23 PM
Quick update: to the above.
I believe that large section of QSPI operations in the above logic analyzer output is due to the code in startup.c which is zeroing out memory:
That is:...
23 replies | 514 view(s)
-
01-06-2021, 10:52 PM
Hi again, looking at my one with breadboard...
Ran slightly different sketch:
extern "C" {
extern uint8_t external_psram_size;
}
void setup() {
while (!Serial && millis() < 5000);
Serial.begin(115200);
...
23 replies | 514 view(s)
-
01-06-2021, 05:59 PM
Thanks, I was able to get the short to not be a short... And the HiLowTest showed I had the right signals... This time I checked both Hi and Low...
Still does not work right on this board nor my earlier one where I...
23 replies | 514 view(s)
-
01-06-2021, 04:25 PM
Maybe try SPI1.begin();
Just before the call to the rf69.init?
Otherwise maybe need to add debug code to the init function and find out where it is failing.
10 replies | 139 view(s)
-
01-06-2021, 02:26 PM
I use Diptrace for the stuff I do. Again this is only for my own usage and like you typically never need many of any one board as I usually find something I want to change anyway...
As mentioned PCBWay works well. ...
12 replies | 234 view(s)
-
01-06-2021, 01:16 PM
It has been awhile since I did it, but there is some support for this at least in the Teensyduino installed version.
I played with this a few years ago. Note I am am using RF95, but assume would be the same... ...
10 replies | 139 view(s)
-
01-06-2021, 01:53 AM
I think I have it fixed but not sure it helped. Will play more tomorrow. I am not sure how likely it will be to get it to work. But fingers crossed.
23 replies | 514 view(s)
-
01-05-2021, 10:39 PM
Again often times you have to also look at the sub-system that you wish to use the FlexIO with and potentially setup some register settings.
Example at one point I added support to the T4.x to give the option to use...
7 replies | 156 view(s)
-
01-05-2021, 08:21 PM
Quick update. Looks like I have a short between pins 49 and 51 on the castellated board...
Not sure why it did not show up earlier. At least the HiloTest is showing it when going to 3.3v, will check next if GND...
23 replies | 514 view(s)
-
01-05-2021, 06:26 PM
Whenever I am playing with XBAR,
I look into the Teensy 4 sources at pwm.c
And I either copy the function or extern the function:
That in my sketch or .cpp files something like:
extern "C" {
extern void...
7 replies | 156 view(s)
-
01-05-2021, 05:54 PM
Sorry, I am not sure exactly what you are looking to do with XBAR? And avoid the hardware?
Note: analogWrite on pin 8 is actually another timer: FLEXPWM1_PWMA03
Again sorry, I am not understanding.
7 replies | 156 view(s)
-
01-05-2021, 03:43 PM
Thanks guys,
I have also run it on a few other boards where the memory chip(s) are directly soldered to bottom of T4.1 and no problems.
If you have diptrace, the design files for the boards I put up earlier on...
23 replies | 514 view(s)
-
01-05-2021, 03:11 PM
Frank,
As I mentioned, it was unclear how much information is useful to a majority of users. And yes I do look at things like linker scripts.
But I mentioned the starting addresses and this diagram says there...
134 replies | 5506 view(s)
-
01-05-2021, 02:19 PM
Question to self and others (especially those who have done more with FlexSPI...
I tried and resoldered some of the pin connections yesterday, plus I also retried with my original castellated extended T4.1 board with...
23 replies | 514 view(s)
-
01-05-2021, 02:06 PM
Glad you are feeling better! Just did a sync, may play soon...
799 replies | 19319 view(s)
-
01-04-2021, 10:38 PM
What are the backlights hooked up to? SPI speed defaults to: somewhere in the order of 30mhz...
The defaults can be changed by passing in a desired SPI Speed on the begin method... Actually optionally 2 parameters...
11 replies | 187 view(s)
-
01-04-2021, 09:55 PM
Understood, but I know with some sensors that work on a slower platform and not on faster ones, it can often be a timing issue, like you do a write operation to the device to ask it for something and then ask for the...
30 replies | 711 view(s)
-
01-04-2021, 08:09 PM
You are welcome. Also at times like this, it might help if you posted a picture of your current setup. Maybe someone will see something like:
you are off by one pin... Been there, or maybe MISO amd MOSI pins reversed...
12 replies | 277 view(s)
-
01-04-2021, 07:37 PM
Maybe a quick thing to try:
Try adding a delay at startup:
Something like:
void setup() {
Serial.begin(115200);
while (!Serial);
Serial.println("Adafruit BMP390");
delay(1000); // wait a second to see if...
30 replies | 711 view(s)
-
01-04-2021, 07:29 PM
Thanks,
I have since added two caps. A decouple .1uf and another 10uf to make sure there is power available...
I have also been playing some with the Quad Analyzer plug in as I was seeing some Quad commands...
23 replies | 514 view(s)
-
01-04-2021, 06:44 PM
Looks nice. I am sort of waiting for the T4.x version. Not sure when/if that might happen, but I did order a Micromod board and an ESP32 board for it that shipped today.
49 replies | 1441 view(s)
-
01-04-2021, 06:42 PM
That is the one.
Or again I could point you to the OV camera input code, which again would require changing the DMA inputs and outputs...
Also either case you will also need to figure out what is clocking the DMA...
5 replies | 108 view(s)
-
01-04-2021, 06:35 PM
Sorry it is sometimes hard to help without seeing much of anything. Like the code or the wiring or... Which Teensy? Which version of Arduino...
Yes you mentioned graphictest and you mentioned ILI9341, but for...
12 replies | 277 view(s)
-
01-04-2021, 06:09 PM
Paul, I am not sure, how many people would be interested or not...
But when I see the memory information, like in the new T4.1 page: https://www.pjrc.com/store/teensy41.html#memory
I at times need to know the...
134 replies | 5506 view(s)
-
01-04-2021, 05:42 PM
Oops, I meant the OCtoWS2811 library...
5 replies | 108 view(s)
-
01-04-2021, 05:40 PM
I have not done it, but Paul did it with the WS2812Serial library. You can look at that for an example.
I have played with it as Input pins to read in from camera, but not the other way.
With input you don't...
5 replies | 108 view(s)
-
01-04-2021, 02:37 PM
It should not matter at all in this case if they are on the same buss or not..
As the CS pins should only effect one display at a time. It would be a different answer if you were doing something like...
11 replies | 187 view(s)
-
01-04-2021, 02:28 PM
Good morning all,
Yes it would be great if PJRC would post a new bottom of the card for the T4.1 and as @defragster mentioned, I believe that is in the works. But in the mean time Paul has been making a lot of...
13 replies | 278 view(s)
-
01-04-2021, 01:40 PM
You might also check that your library Adafruit_BusIO is up to date as well.
Also you may want to turn on the debug printing in here as well. That is in the file Adafruit_I2CDevice.cpp at the top uncomment the line...
30 replies | 711 view(s)
-
01-04-2021, 01:09 PM
Sorry I am not sure how this works? Are there any compiler warnings? Do you have the compiler set to show all errors?
What I don't understand is:
void DrawIndicator(ILI9341_t3n ScreenRef,uint16_t Y, uint16_t X,...
11 replies | 187 view(s)
-
01-03-2021, 06:39 PM
I believe those errors are caused by not updating the T3.x or T4.x code as shown in readme:
## Installation:
- If you wanted to use USB_MTP_SERIAL
- T4.x edit teensy/avr/cores/teensy4/usb_desc.h with content of...
616 replies | 56727 view(s)
-
01-03-2021, 01:19 PM
Again I could not order one of the Adafruit ones, but ordered a Sparkfun 388 version, which should ship soon. (I ordered too late on New Years Eve) so will probably ship Tomorrow.
30 replies | 711 view(s)
-
01-03-2021, 01:16 PM
Good morning...
Right now when I am playing with mtp-test,
I have a modified version of the setup code, that waits up to 5 seconds for Serial monitor to connect.
void setup()
{
#if...
616 replies | 56727 view(s)
-
01-03-2021, 04:20 AM
Try getting new version of tycommander. Issue about changes to usb descriptor, if I remember correctly
616 replies | 56727 view(s)
-
01-02-2021, 10:50 PM
Thanks frank,
Yes - I started off without the logic Analyzer...
I have also tried slowing down the FlexSPI, but so far not much luck.
I need to double check wiring again.
23 replies | 514 view(s)
-
01-02-2021, 09:53 PM
Thought I would mention I have been playing around with a second version castellated breakout board, that brings out the underneath memory pins as well as the Center pins like ON/OFF, program and brings them out in a...
23 replies | 514 view(s)
-
01-02-2021, 07:57 PM
Sorry I did not want to imply that the File system information should be included here as again this tool would not know anything.
I was trying to mention it as an analogy of the code:
You see that the code takes:...
106 replies | 3981 view(s)
-
01-02-2021, 07:28 PM
Hi Frank,
For me it is hard to say, I would probably go with a) as you have the white space.
It is hard to know at times what information is needed or wanted an in what form.
Example suppose you copy 20...
106 replies | 3981 view(s)
-
01-02-2021, 07:12 PM
Paul (and all)
I am pretty sure that it is far too much details to show in a product page, but I do wish at times there were some form of extract of table or the like that for each Teensy pin it shows some of the...
134 replies | 5506 view(s)
-
01-02-2021, 03:00 PM
Thanks,
I believe the linker would only fail, if ITCM or DTCM > 512KB, not when the combined total... I put that check in earlier when I had a sketch (I think it was uncanny eyes) or it might have been a picture...
106 replies | 3981 view(s)
-
01-02-2021, 02:21 PM
Good Morning,
@Frank B - glad you have it coming along on the different platforms
Wondering if it currently outputs anything if the users sketch has extended RAM variables used in their sketch. I personally...
106 replies | 3981 view(s)
-
01-01-2021, 08:58 PM
Sorry was outside... Looks like you have the link.
106 replies | 3981 view(s)
-
01-01-2021, 05:08 PM
Bonus question - Probably anything is possible, but without a whole lot of work... It is pretty well fixed to the menu. But you can go in and make a custom version, by editing the core code to define all of the...
5 replies | 138 view(s)
-
01-01-2021, 04:32 PM
@Paul - Good morning,
T4.1 product page - Memory - Lots of new good stuff!
Should we put comments here or in the needs updates... thread?
Maybe some of this would go on to the new page about memory you...
106 replies | 3981 view(s)
-
01-01-2021, 02:16 PM
Happy New Year all....
Quick note on my USBHost MTP device host code.... As I mentioned earlier, my Kindle Fire uses MTP, although it does not register as MTP type protocol... So I thought I would try it on my older...
616 replies | 56727 view(s)