-
Older Activity
-
Yesterday, 01:33 PM
Great you are making progress and having some fun! For your granddaughter ;)
As a kid back in similar time frame had my brother and I had a train set, not sure whatever happened to it. My wife did give me a set 3...
19 replies | 382 view(s)
-
Yesterday, 02:26 AM
@mjs513 - It did not build at when I just downloaded your branch. I was able to get it to build was to copy the conifig_example.h to config.h
That does not show up as a updated file in github as config.h is in the...
19 replies | 382 view(s)
-
Yesterday, 01:10 AM
Quick update:
I still have not finished the above of a hybrid version, will work on that more tomorrow.
I did push up my WIP stuff up in the MEM_send_object_large branch, with a few random things some of which...
638 replies | 58164 view(s)
-
Yesterday, 12:09 AM
Probably best to avoid it ;) :D
For lack of better stuff, I would probably start off with things like adding digitalWriteFast or digitalToggleFast at different places in the code to see if you can get it localized...
19 replies | 382 view(s)
-
01-26-2021, 05:31 PM
Good morning all,
As I think I mentioned, I screwed up my order and forgot to hit the final place the order at Sparkfun after the paypal stuff... So it will be awhile before I can order any.
Will be interesting to...
137 replies | 4393 view(s)
-
01-26-2021, 03:44 PM
I don't see any reason pins 20 and 21 should not work. However without seeing the program it may be hard to tell. Example if you still have the PulsePosition library configured and it is using those pins or...
As...
10 replies | 239 view(s)
-
01-26-2021, 02:49 PM
Sorry, I have not had enough coffee yet so I may not be following this yet.
But I have having a hard time trying to understand your setup (sorry it still is early here)
Do you have an RC receiver that is receiving...
10 replies | 239 view(s)
-
01-26-2021, 01:42 PM
There are lots of different things you can do to speed things up.
a) The use of Opaque text drawing versus transparent. Again your code does not show enough info to know what you are doing. But if you do...
9 replies | 248 view(s)
-
01-26-2021, 01:53 AM
I have found in lots of cases the connections with many breadboards and with many jumper cables, does not always work that great. It usually works find for most things I end up doing.
After all I mainly just dink...
9 replies | 248 view(s)
-
01-26-2021, 01:20 AM
Sorry I am not sure what you are saying or asking here.
There are lots of options that you can choose to build for the Teensy, which many of us do.
Yes I do use the Arduino IDE for lots of basic things and also...
16 replies | 381 view(s)
-
01-25-2021, 09:32 PM
@mjs513 @defragster @WMXZ @PaulStoffregen ...
Mike I think you are right we may never get a 100% in all cases.
The question is can we get closer.
As I mentioned, I am thinking of a Hybrid version, where...
638 replies | 58164 view(s)
-
01-25-2021, 08:05 PM
@luni - Thanks,
I sort of remembered having issues if two files included eeprom.h...
Example sketch:
#include <EEPROM.h>
extern void donothing();
int i=0;
void setup() {
7 replies | 123 view(s)
-
01-25-2021, 07:45 PM
Sorry, I may not be too much help when using those new fangled c++ things like templates ;) I am still more used to using stones and chisels :D
it is complaining by the different times the templates are being used...
7 replies | 123 view(s)
-
01-25-2021, 06:12 PM
Slight update to the previous post:
Yes the using larger buffers for SD does appear to have a good speedup for the transfer of files to SD Cards. I have not tried yet to see if there are differences between 2k, 4k,...
638 replies | 58164 view(s)
-
01-25-2021, 05:00 PM
It often helps to have additional information, like: Arduino version, Teensyduino version, what SD library are you using? Are you using the SD on the T4.1?
My assumption is you are using SD library as you mentioned...
25 replies | 3080 view(s)
-
01-25-2021, 03:51 PM
Sorry not really sure what would work for you here. Hopefully others have better ideas. But if it were me, some things I might look at include:
a) an array of Time Of Flight (TOF) sensors, examples include:...
6 replies | 283 view(s)
-
01-25-2021, 03:27 PM
@WMXZ (and others) - I hacked up a bool like I mentioned, which I have not pushed up yet in my WIP branch. I May push it also into the branch that I have an OpenPR on.
Still playing some with different techniques...
638 replies | 58164 view(s)
-
01-24-2021, 05:32 PM
Again not fully knowing your setup.
You can setup a host USB connector to the T3.6.
The simplest way to try it out is using the USB Host cable: https://www.pjrc.com/store/cable_usb_host_t36.html And of course the...
4 replies | 122 view(s)
-
01-24-2021, 03:40 PM
Glad you got it working.
Was going to mention that you did not have a Serial1.begin...
2 replies | 85 view(s)
-
01-24-2021, 01:44 PM
Take this with a grain of salt, as I never use Eagle and the version I have is really old (6.6.0) and may not have read everything properly
But when I looked at your T4.1 board, it almost looks like some of the...
8 replies | 195 view(s)
-
01-24-2021, 12:46 AM
It is showing you where the matching brace is to the brace next to text curser
15 replies | 270 view(s)
-
01-23-2021, 05:51 PM
Note: you have to order them in groups of 480
137 replies | 4393 view(s)
-
01-23-2021, 04:19 PM
I was wondering if we should build that capability into the mtp object?
That is do like we do in the USB Host cases or the !Serial type cases...
That is maybe add a member to MTPD:
Sort of like at the...
638 replies | 58164 view(s)
-
01-22-2021, 04:58 AM
Sorry not enough info to guess. What os?What version of arduino was installed. What version of teensyduino did you try to install?
16 replies | 288 view(s)
-
01-21-2021, 07:17 PM
I also ordered a couple of them from Sparkfun... Out of curiosity.
But I will probably not comment much here as if I do start playing with them at all, will probably look at the Pico pages up on the RPI forums:...
137 replies | 4393 view(s)
-
01-21-2021, 03:20 PM
Works on the T4.1 I just tried... Pin 3 and 9 are fine.
7 replies | 181 view(s)
-
01-20-2021, 01:44 AM
I believe the that library supports changing which SPI on the begin method...
That is if you do something like:
XPT2046_Touchscreen ts(CS_PIN, TIRQ_PIN); // Param 2 - Touch IRQ Pin - interrupt enabled polling
......
2 replies | 127 view(s)
-
01-19-2021, 08:49 PM
Yes, the T4 and T4.1 actually have a few SPI buses.
They are shown on the released card as well as my excel document and photo made from it:
SPI1 has a few alternate pins for some of the features (on T4.1)...
4 replies | 155 view(s)
-
01-19-2021, 06:23 PM
Sounds like you are making great progress!
118 replies | 13672 view(s)
-
01-19-2021, 02:50 PM
May depend on which library you use.
But I think your commented code is wrong above: TFT_MOSI should be TFT_MISO
Note: Most of the libraries will do something like SPI.begin() and while doing this will configure...
2 replies | 91 view(s)
-
01-18-2021, 07:47 PM
The interesting thing is I tried the simple version that crashed after 3 plus seconds to Flash to go instead to SDIO. Again 512 bytes at a time.
CMD: 100c(SEND_OBJECT_INFO)l: 20 T:299 : 1 ffffffff...
638 replies | 58164 view(s)
-
01-18-2021, 07:35 PM
XBAR - for me it was reading the manual a few times.. (sometimes more than a few)... Note: So far when playing with DMA, I have mainly needed to have some understanding of XBAR for GPIO and for ADC... Note: ADC is a...
22 replies | 1348 view(s)
-
01-18-2021, 04:05 PM
Totally understand.... Pretty frustrating.
This morning I decided to waste some time and see if going at this completely wrong. So tried a KISS version of the code...
bool MTPD::SendObject() {
bool...
638 replies | 58164 view(s)
-
01-18-2021, 02:33 PM
In many cases like this, it is often easiest to look at code that ships with the Teensyduino release, at least to get ideas, even if you may be the type who who wants to write everything from scratch.
In this case...
4 replies | 140 view(s)
-
01-18-2021, 01:29 PM
Nice write up - Puts a lot of the details into one place which is great.
Note: another gotcha you may run into with DMA is with caching.
That is with the example above you are using the dmabuffer
DMAChannel...
22 replies | 1348 view(s)
-
01-17-2021, 02:05 PM
Are you using the library: https://github.com/robopeak/rplidar_arduino
It looks like your code is pretty close to their example: simple_connect?
If I am looking at their documents correctly:...
2 replies | 325 view(s)
-
01-17-2021, 01:53 PM
Morning - Right now playing in the branch: MEM_send_object_large
638 replies | 58164 view(s)
-
01-17-2021, 01:20 PM
@Paul - sounds great
@mjs513 - Did you have enough memory PSRAM available to be able to allocated that large of a file? Right now I try to allocate the whole thing with extmem_alloc. So if that is not available it...
638 replies | 58164 view(s)
-
01-17-2021, 12:37 AM
I know ... talking to myself ;)
Just pushed up a WIP version of the MTP send object code, that in addition of trying to allocate a full size buffer for the file. Once the whole file has been received over USB, I...
638 replies | 58164 view(s)
-
01-16-2021, 09:26 PM
Note: the Teensy boards will not show up as a USB Serial device, unless you program them to do so.
What I typically do with a new teensy, is to load up a simple sketch like the example blink,
Set the Device as to...
3 replies | 147 view(s)
-
01-16-2021, 09:20 PM
Hopefully someone one will be able to help you here. I personally have not tried any of the RA8875/76 custom font stuff, nor any of their ROM chips.
What we have done when we were playing with supporting drivers...
334 replies | 15532 view(s)
-
01-16-2021, 02:36 PM
@mjs513 Sounds like you have been busy!
What about Teensy 2? ;) (Just kidding)
810 replies | 20839 view(s)
-
01-16-2021, 02:05 PM
Yes it would be great if there was some tutorial or web page, that discuss DMA for the different Teensy boards. There have been several threads talking about DMA with GPIO on T4.x, that you can get a lot of information...
8 replies | 1072 view(s)
-
01-15-2021, 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...
638 replies | 58164 view(s)
-
01-15-2021, 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 | 16104 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 | 2953 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...
191 replies | 11580 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...
638 replies | 58164 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...
638 replies | 58164 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
638 replies | 58164 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...
638 replies | 58164 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...
638 replies | 58164 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...
810 replies | 20839 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:...
638 replies | 58164 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...
638 replies | 58164 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...
810 replies | 20839 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 | 124 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....
638 replies | 58164 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 | 124 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 | 199 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 | 199 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...
191 replies | 11580 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,...
638 replies | 58164 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 | 199 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 | 54609 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...
638 replies | 58164 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 | 199 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...
638 replies | 58164 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 | 303 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 | 239 view(s)
-
01-10-2021, 06:18 PM
Note: I implemented some of the simple query functions I mentioned above... And pushed up.
638 replies | 58164 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...
638 replies | 58164 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
638 replies | 58164 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:...
638 replies | 58164 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 | 186 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 | 319 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 | 444 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 | 444 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 | 118 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 | 444 view(s)
-
01-09-2021, 02:14 PM
Sounds good.
Maybe time to do PR back into LittleFS?
810 replies | 20839 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 | 118 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 | 865 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 | 186 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 | 621 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 | 621 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 | 621 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 | 6006 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 | 621 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 | 621 view(s)