Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • KurtE's Avatar
    Today, 11:21 PM
    Another maybe interesting data for the R_ARM_PREL31 is from an NXP page: https://community.nxp.com/t5/i-MX-RT/RT1064-How-to-solve-gcc-linker-error-ARM-exidx-0x0-relocation/td-p/981181
    12 replies | 179 view(s)
  • KurtE's Avatar
    Today, 11:07 PM
    Continue from Beta #8 and GCC 9... When I build the simple program: Archiving built core (caching) in: C:\Users\kurte\AppData\Local\Temp\arduino_cache_384166\core\core_25376d0426ffc526bfc9b59b374b7afb.a Linking...
    12 replies | 179 view(s)
  • KurtE's Avatar
    Today, 09:56 PM
    So far I have installed on both my main PC (Windows 10) and my old Mac notebook pro and both are working. I did not see any java error when I ran it on mac.
    12 replies | 179 view(s)
  • KurtE's Avatar
    Today, 06:52 PM
    Thanks, I just redid it following the instructions... And now it fails the same way you mentioned :D
    58 replies | 1754 view(s)
  • KurtE's Avatar
    Today, 06:27 PM
    Thanks, I might be missing the copy of math libraries as I am building with Arduino and I only saw the copy of stuff mentioned under VisualTeensy But will take a look again Ooops - I installed in new directory......
    58 replies | 1754 view(s)
  • KurtE's Avatar
    Today, 05:58 PM
    The main thing to check with things like: while(dmaBusy) { yield(); }" Is I assume your eventhandler function is clearing this field. is to make sure that dmaBusy is declared as volatile such that the compiler...
    8 replies | 94 view(s)
  • KurtE's Avatar
    Today, 05:49 PM
    I believe this will only work with my ILI9341_t3n library. I am not sure if any of my changes to allow different SPI ports ever made it back into the ILI9341_t3 library or not.
    7 replies | 429 view(s)
  • KurtE's Avatar
    Today, 05:46 PM
    I have the GCC9... And I do get a failure... Currently it looks like: Linking everything together... "C:\\arduino-1.8.15\\hardware\\teensy/../tools/arm9/bin/arm-none-eabi-gcc" -O2 -Wl,--gc-sections,--relax...
    58 replies | 1754 view(s)
  • KurtE's Avatar
    Today, 01:55 PM
    I know I should and probably will look it up, but what does: -mno-unaligned-access do? That is what does this do when you have structures defined with with __attribute__((packed)) and the items are not aligned?
    58 replies | 1754 view(s)
  • KurtE's Avatar
    Today, 01:18 PM
    Glad you have stuff working. Sorry I did not respond earlier, but it is only around 5am here right now... And sorry my first response yesterday was a bit brief... I was on tablet and don't like typing much on...
    8 replies | 94 view(s)
  • KurtE's Avatar
    Yesterday, 10:28 PM
    Look at one of the display drivers for teensy, like ili9341_t3n st7735_t3 ili9488_t3. And look at updatescreenasync...
    8 replies | 94 view(s)
  • KurtE's Avatar
    Yesterday, 07:52 PM
    The teensy will likely have output the line before the Serial system was ready for it... So you might try something like: void setup() { // put your setup code here, to run once: // wait for up to 5 seconds...
    3 replies | 62 view(s)
  • KurtE's Avatar
    Yesterday, 07:18 PM
    Sorry I have not done the math. But if it were me, I would look at the resolution of the timers. That is again they run at 24mhz, so for example if you are running at 4mhz, that would imply like 6 cycles of the...
    6 replies | 122 view(s)
  • KurtE's Avatar
    Yesterday, 05:01 PM
    Hi and Welcome, For what it is worth, there are a few of us who have played around with reading in a couple of the cameras using DMA on the Teensy 4.xs... A lot of it has been done using the OV7670 using 8 bit...
    3 replies | 101 view(s)
  • KurtE's Avatar
    Yesterday, 04:06 PM
    Interesting information, but I don't really know what that means. As mentioned it could be a bug that Paul would probably want to fix, especially with the possibility later of encrypted... But what I wonder about,...
    12 replies | 226 view(s)
  • KurtE's Avatar
    Yesterday, 01:44 PM
    External SD Card insertions. No I have not done it, but should be easy to do: IF you purchase an SD Card reader that has an IO pin for insertions. Example: https://www.sparkfun.com/products/544 I believe has IO pin...
    479 replies | 10249 view(s)
  • KurtE's Avatar
    Yesterday, 01:36 PM
    Sorry I am not 100% sure of the max size that the SDFat library will support. I am guessing it does, the largest ones I think I have played with are 32gb and 64gb. I know that anything over 32GB will be formatted...
    3 replies | 84 view(s)
  • KurtE's Avatar
    Yesterday, 12:30 PM
    Sorry most of my playing with the RA8875 library and fonts, was with the ability to support GFX fonts as well as our ILI9341 fonts.... But if I were guessing I would try: tft.setFontDefault(); At least for turning...
    309 replies | 22121 view(s)
  • KurtE's Avatar
    05-16-2021, 09:31 PM
    The only relationship I know of is they share the same setup in Clock Controller Module (CCM) if you look at the Clock Tree configuration: Page 1016 in PDF file. By default they run at 24mhz. But there is a...
    6 replies | 122 view(s)
  • KurtE's Avatar
    05-16-2021, 03:07 PM
    Sorry I am not sure if it will work or not for your case. The main Raw Hid stuff handles receiving packets of 64 bytes, and hands them off to your sketch to do something with them or not... Likewise you can tell it...
    1 replies | 73 view(s)
  • KurtE's Avatar
    05-15-2021, 03:34 PM
    Again sorry hard to know what to do here... As mentioned @Paul is probably the best one to answer some of these and your thread has had comments in it by several of the members... And there are several of us up...
    58 replies | 1754 view(s)
  • KurtE's Avatar
    05-14-2021, 04:10 PM
    @Paul - I went ahead and created a Pull Request for building EEPROM on AVR builds https://github.com/PaulStoffregen/EEPROM/pull/8
    58 replies | 1754 view(s)
  • KurtE's Avatar
    05-14-2021, 03:14 PM
    Yep - and they had an open issue on it for awhile now... Pointed it out to LadyAda and she said will issue a PR so I did...
    616 replies | 346280 view(s)
  • KurtE's Avatar
    05-14-2021, 01:04 PM
    For what it is worth, I added it to my ILI9341_t3n library. However I changed the name to: setScrollMargins as the Adafruit_ili9341 library has this functionality and that is the name they gave it. Warning: I did...
    616 replies | 346280 view(s)
  • KurtE's Avatar
    05-14-2021, 01:56 AM
    It will be curious about differences in binding using USB cable versus through bluetooth. Was looking around some and found a site that appears to have a lot of information on PS4: https://www.psdevwiki.com/ps4/DS4-BT
    869 replies | 48351 view(s)
  • KurtE's Avatar
    05-14-2021, 01:05 AM
    @brianb00 and @PaulStoffregen - I hacked up a version of eeprom.h that I believe now compiles on the AVR boards... Not sure if this is the best way... I checked that if it was not __AVR, but maybe should be #ifdef...
    58 replies | 1754 view(s)
  • KurtE's Avatar
    05-14-2021, 12:25 AM
    Today I picked up the two clones from our mailbox. You can see them along with my actual PS4. All three of them work plugged directly into the USB Host port. They all have the same VID:PID ... Here is the Voyee...
    869 replies | 48351 view(s)
  • KurtE's Avatar
    05-14-2021, 12:02 AM
    @Paul - I can reproduce it easily... Just open example eeprom_get And try to compile it for Teensy 2++ As I noticed in his build: -DARDUINO_TEENSY2PP Alternatives for type_traits: In file included from...
    58 replies | 1754 view(s)
  • KurtE's Avatar
    05-13-2021, 12:29 PM
    @CorBee - You can always submit a Pull Request to the libraries to have it incorporated. The only interesting thing would be to to see what impact that would have if you are using a frame buffer in ili9341_t3n
    616 replies | 346280 view(s)
  • KurtE's Avatar
    05-12-2021, 06:14 PM
    I have 1.8.14 and beta8 and things run... :D Will test more during the day. And yes I received warning from both Windows... And Norton... on trying to install it.
    58 replies | 1754 view(s)
  • KurtE's Avatar
    05-12-2021, 12:28 PM
    @defragster has done a lot more playing with and testing of LittleFS than I have. I have mostly played with it, in trying to integrate it with some other pieces like MTP... As he mentioned, right now the main...
    7 replies | 265 view(s)
  • KurtE's Avatar
    05-12-2021, 12:00 PM
    I pulled out my MAC which I have that beta on and it built for me... /Applications/Teensyduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware...
    6 replies | 160 view(s)
  • KurtE's Avatar
    05-11-2021, 05:36 PM
    I was running it on the Machine Learning MMod board. Right now it is only connected using the QWIIC connector, so it is running on 3.3v https://www.sparkfun.com/products/14783 You can cut some jumpers and use...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    05-11-2021, 02:12 PM
    Or a Ghost :D That built on my PC configured for T4.1 ... But I am running Beta 7 of 1.54... https://forum.pjrc.com/threads/66357-Teensyduino-1-54-Beta-7 You might try giving that build a try... Not sure if...
    6 replies | 160 view(s)
  • KurtE's Avatar
    05-11-2021, 12:56 PM
    Sorry I don't have my MAC running right now. Also would help to know what sketch you are trying to build to see if it can be duplicated... But in your above: Is this a typo or is that the actual name of he file...
    6 replies | 160 view(s)
  • KurtE's Avatar
    05-11-2021, 12:42 PM
    I put a comment in the thread about the website could use a few updates...
    869 replies | 48351 view(s)
  • KurtE's Avatar
    05-11-2021, 12:38 PM
    @Paul - as mentioned in a different thread: https://forum.pjrc.com/threads/49358-T3-6-USB-Host-Bluetooth?p=278928&viewfull=1#post278928 Which pins that have XBar capabilities is different for T4, T4.1 and soon (I...
    151 replies | 10525 view(s)
  • KurtE's Avatar
    05-11-2021, 01:53 AM
    Actually for all of the Serial ports for a CTS pin you can use any pin that is an XBAR pin The attachCts method knows about this and sets up the XBar plus the Hardware Serial. This is also true for RX pin for serial...
    869 replies | 48351 view(s)
  • KurtE's Avatar
    05-11-2021, 01:48 AM
    Part of today I have screwed off, after getting a package of stuff from Sparkfun. So I thought I would torture there VR using the QWIIC LED stick. Appears to work: Also a SSD1327 128x128 QwIIC display which...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    05-10-2021, 11:23 PM
    As I mentioned I don't think there is anything on the Bluetooth side yet. We have really only scratched the surface on some of this. Like some Mice, Keyboards, Joysticks... Alternatively I think there are...
    869 replies | 48351 view(s)
  • KurtE's Avatar
    05-10-2021, 11:14 PM
    No relationship. The USB Host Shield 2 uses an external piece of hardware to do USB stuff.. Again I don't know what you mean it will work with Teensy 4.1. That is you can hook up their hardware to a T4.1 and use...
    4 replies | 123 view(s)
  • KurtE's Avatar
    05-10-2021, 11:08 PM
    Eagles yep... We have several around here. Sometimes they are sitting up in trees near our Chicken coop. The Owls are fun to watch as well. Me neither - I was a MS CS... And that was decades ago :0 But assuming...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    05-10-2021, 10:05 PM
    Actually I picked two :D Won't know much until they arrive. But bright side is maybe it will get it to the point were it also works with the Switch and ... But we both know that it is a pretty big rabbit hole :D
    869 replies | 48351 view(s)
  • KurtE's Avatar
    05-10-2021, 10:03 PM
    I think the simple answer is I don't believe we have implemented SPP... Could it be implemented. Probably, but I have not looked into it.
    4 replies | 123 view(s)
  • KurtE's Avatar
    05-10-2021, 06:54 PM
    With PS3, we have a simple pairing, that if you first plug in BT adapter, then joystick and then press the PS3 with either L1 or R1, it will write out the binding to the PS3... PS4, I think we had the stuff that if...
    869 replies | 48351 view(s)
  • KurtE's Avatar
    05-10-2021, 05:22 PM
    Mine are scheduled to arrive Wednesday... You sure get quicker shipments! Will take a look then. I have to remember how we did the paring on these... Some of the clones talked about pairing the device by plugging...
    869 replies | 48351 view(s)
  • KurtE's Avatar
    05-10-2021, 02:03 PM
    Forgot to mention: The Tindie camera: https://www.tindie.com/products/uctronics/hm01b0-qvga-spi-camera-module-for-rpi-pico/ It showed it was in stock for a day or so, so I ordered one Thursday, which was supposedly...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    05-10-2021, 01:55 PM
    @mjs513 - Good to know! Have not played with it for awhile now.
    888 replies | 21032 view(s)
  • KurtE's Avatar
    05-09-2021, 01:51 PM
    KurtE replied to a thread UART Communication in Project Guidance
    Sorry I was reading this thread and it is very unclear to me, what your setup or desired setup is and what are you trying to solve. Maybe if you showed a diagram or the like, which sort of shows what pieces are...
    6 replies | 212 view(s)
  • KurtE's Avatar
    05-08-2021, 10:47 PM
    Soon may be playing some more with PS4 controllers as maybe several people up on the RobotShop/Lynxmotion Hexapod stuff may be wanting to start off using PS4 controllers. Which I will start playing some more with...
    869 replies | 48351 view(s)
  • KurtE's Avatar
    05-07-2021, 06:12 PM
    @PaulStoffregen - Wondering if I should update HardwareSerial to check the state of the CCM_CSCDR1 And properly configure the baud rate for the input clock of either 24 or 80mhz? My guess is to leave the default...
    11 replies | 312 view(s)
  • KurtE's Avatar
    05-07-2021, 02:41 PM
    Currently the Serial code on T4.x is using the fixed 24mhz clock and probably the min divide is which gives your 6M... I believe it would be possible to make it faster. I have never tried it: In the...
    11 replies | 312 view(s)
  • KurtE's Avatar
    05-07-2021, 02:11 PM
    Sorry, there is almost nothing shown here to know where your memory is being used. Also I don't know what it means to say library made with the faust IDE... But it does sound like either: a) there are some very...
    1 replies | 76 view(s)
  • KurtE's Avatar
    05-05-2021, 08:33 PM
    Glad it is looking promising!
    9 replies | 324 view(s)
  • KurtE's Avatar
    05-05-2021, 03:29 PM
    Sorry, I am not much of a MAC person. I do have an older Mac Air, that I use as secondary or third development/test machine. But might help to know things like what version of MAC OS are your running? Answer from...
    18 replies | 470 view(s)
  • KurtE's Avatar
    05-05-2021, 12:32 PM
    Good Morning all, @mjs513 - Looks like fun... Downloaded and builds :D Will have to play later. The last few days started to do some more needed outside work, and did some mowing, and some hand brush clearing...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    05-04-2021, 08:36 PM
    If it were me, I would run some type of check on Mac to make sure there is not something corrupted or going bad. Then would probably delete arduino install, and install fresh copy and see if that helps
    18 replies | 470 view(s)
  • KurtE's Avatar
    05-04-2021, 02:34 PM
    Yes you can use the same button... Although your current organization of the code may make it a little more difficult... That is you have section like: if (MSGroen.fallingEdge()) { Serial.println("MEDISCHE...
    1 replies | 104 view(s)
  • KurtE's Avatar
    05-04-2021, 01:20 PM
    Hello Jeroen, Hard to say yet what is going on. What happens when there is a short often depends on what is shorted. For example if VIN/GND shorted directly then no power goes to teensy, and it would likely...
    9 replies | 324 view(s)
  • KurtE's Avatar
    05-04-2021, 01:55 AM
    Again have no idea of your requirements. Like does your program need to do anything while the camera is reading using SPI? If not, it can be as simple as: SPI.transfer(nullptr, receive_buffer, count); And the...
    4 replies | 216 view(s)
  • KurtE's Avatar
    05-03-2021, 11:44 PM
    I am assuming T4.1 as you mention QSPI... Assuming this, than you can access that 16mb memory is in the linear address space, so you can simply use addresses in that range. Two ways to allocate: define variables...
    4 replies | 216 view(s)
  • KurtE's Avatar
    05-03-2021, 08:50 PM
    You are welcome, Glad you got it working!
    3 replies | 148 view(s)
  • KurtE's Avatar
    05-03-2021, 07:15 PM
    Sorry, hard to know exactly what is going on here without a lot more details. Example what do you mean by crash? Is the program restarting? Is it hanging, random results? Also things like what is display? what...
    3 replies | 148 view(s)
  • KurtE's Avatar
    05-03-2021, 04:10 PM
    Yes should be fun! Pushed the files up to: https://github.com/KurtE/Teensy3.1-Breakout-Boards/tree/master/MicroMod The zip files are the ones I sent to OSHPark... Thought of again using PCBWay, but went more local
    888 replies | 21032 view(s)
  • KurtE's Avatar
    05-03-2021, 03:53 PM
    @mjs513 - Sounds like you have been busy! At some point may take a look, but math makes my head hurt ;) Side note: I did order a set of 3 MMOD boards from OSHPark as well as 3 of the Himax to OV7670 adapters... ...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    05-03-2021, 12:32 AM
    I will probably order a set tomorrow... Was playing around with another layout of it... Not cleaned up... Lots of wasted space on top, but idea is with that camera could put a little double faced tape behind it...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    05-02-2021, 01:16 PM
    Morning all, @defragster - I have not run any tests yet today, but it looks like you have been busy. When mine was resetting I put my finger on Teensy and VR... and did not feel anything overly warm. That is...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    05-02-2021, 01:48 AM
    Sorry been screwing around today... Quick and dirty so far, need to add labels...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    05-01-2021, 08:44 PM
    Sorry others can answer this better than I can. But several of were playing with Fat16/Fat32 and ExFat to make them work with MTP, and MSC and ... So learned a little bit. Fat32 - can address up to 127GB volume... ...
    3 replies | 141 view(s)
  • KurtE's Avatar
    05-01-2021, 07:36 PM
    Also looks like Arducam will be selling that same one... They show for preorder and then direct you to uctronics.
    888 replies | 21032 view(s)
  • KurtE's Avatar
    05-01-2021, 06:38 PM
    Looks good, out of stock, signed up for notify... But still makes me wonder if any of the issues we are seeing on either board have to do with not fully following the doc...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    05-01-2021, 04:35 PM
    On a slightly different/related topic. So far I have not ordered my MMOD breakout board. Still trying to decide a few things like: USB-C/USB-B cable... Nice thing of C is it can deliver more amperage. Again...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    05-01-2021, 03:10 PM
    Thanks, I should probably reread the PDF file... Actually I have it open now as I was wondering.... @Paul - several times when I would have the PJRC carrier board stop working, I thought I heard a pop sound.......
    888 replies | 21032 view(s)
  • KurtE's Avatar
    05-01-2021, 02:38 PM
    Interesting question to self and others with the ML board. I am suing pins D0, D1, A0, A1 for debug pins.... (4, 5, 14, 15) But now if you look at the Schematic: It looks like D1 is also the Camera Trigger pin? ...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    05-01-2021, 02:17 PM
    Yep, looks different with the other camera: Looks different...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    05-01-2021, 02:00 PM
    Morning all, I thought I would do a little testing on the ML board, to avoid the maybe power issue... But the interesting thing on this board with it's camera I do not get a good FlexIO image... It is like there...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    04-30-2021, 04:51 PM
    I am letting it cool off again... Wondering about power management for this carrier board? That is I believe the Sparkfun breakout boards have a 1 amp 3.3v regulator. I think this breakout board has a .5amp...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    04-30-2021, 04:32 PM
    It was running again. I am debugging if I stop Continuous and then try to do a single frame it gets part of frame, I do it a couple more times, and it dies... I hear a pop sound and a reboot. Not sure if that...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    04-30-2021, 03:55 PM
    I just pushed up a new branch video_mode_partc with the do it at the sub-frames. You might give it a try or I could just do PR? Right now it is in PJRC carrier 4 bit and I am in a system dead mode. It stopped...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    04-30-2021, 03:51 PM
    I have been able to get it to sort of work with Ubuntu, at least with the set of binaries that several of us are working with. BUT with many caveats. Note: Linux is not my main machines, so I only know enough to be...
    912 replies | 76578 view(s)
  • KurtE's Avatar
    04-30-2021, 12:48 PM
    Morning all, Will play a little more with the 'V' stuff this morning. Note: I have not fully implemented the c) option yet to hopefully smooth some things out. Here are some issues I suspect with the two previous...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    04-29-2021, 10:10 PM
    Remember on the ML board, there is an enable pin that turns on the 1.8V regulator that supplies power to the camera. So if you don't enable that, the scanner will not find the camera.
    888 replies | 21032 view(s)
  • KurtE's Avatar
    04-29-2021, 09:53 PM
    I just pushed up the changes. However it was in conflict as some of my earlier stuff was already merged... So I used github desktop to rebase to main, Then pushed that up, found a couple of merge issues, which I then...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    04-29-2021, 09:17 PM
    Do you think I Should I PR my changes or wait until I try a few more things to see if we can get smoother video when things are moving? Looks like I will need to rebase my changes to the current stuff (i.e. it shows...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    04-29-2021, 07:29 PM
    Afternoon all, Question with the V command above, is that with or without my changes? If without: What was happening is we don't have a frame buffer, so when you get the callback from the camera, the code...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    04-29-2021, 04:27 PM
    I enabled the Frame buffer :D by freeing up memory. I think that some of the other functions should all share memory and/or they should maybe malloc/new memory and free it after the Raw or bitmap... I am seeing...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    04-29-2021, 03:42 PM
    Sorry I am sort of lost, here? How is it that you want an IO pin to be both Input and Output at the same time? I know that you can switch their direction as Input or Output using: IOMUXC_GPR_GPR6 or the like. So...
    4 replies | 183 view(s)
  • KurtE's Avatar
    04-29-2021, 02:31 PM
    I have a version I think that is working a lot better. up in the branch: https://github.com/KurtE/TMM-HB01B0-Camera/tree/video_mode_partb Not sure if I needed the part b, to move it to when the frame completed or...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    04-29-2021, 01:11 PM
    Aargh :o - Playing with Zelda with V and F... And noise and ... Sometimes it helps to go back and the basic stuff. Things like: Where in the code do we ever turn on using the frame Buffer? We don't in this...
    888 replies | 21032 view(s)
  • KurtE's Avatar
    04-29-2021, 12:24 PM
    KurtE replied to a thread Soft SPI on T4.x in Project Guidance
    Sorry, I am not sure what is all going on here and there are several other things I am playing with right now, so won't be much help here. But if it were me, I think I would spend a few more minutes debugging why you...
    6 replies | 323 view(s)
More Activity
About KurtE

Basic Information

Statistics


Total Posts
Total Posts
9,037
Posts Per Day
3.37
Last Post
Teensyduino 1.54 Beta #9 Today 11:21 PM
General Information
Last Activity
Today 11:21 PM
Join Date
01-12-2014