Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • mjs513's Avatar
    Today, 04:13 PM
    Quick status. Not sure I did this right, probably not or my chip is not on right :) Here is the start of using FLEXSPI with the NAND chip where the FLASH goes: #define LUT0(opcode, pads, operand)...
    7 replies | 218 view(s)
  • mjs513's Avatar
    06-30-2020, 03:56 PM
    @ecurtz Thanks for posting so I can at least do a verification that i did the soldering correct. Will also help when I try to use FLEXSPI :)
    7 replies | 218 view(s)
  • mjs513's Avatar
    06-30-2020, 02:45 PM
    Just by way of update and warning. Got my NAND chips from Digikey and just soldered up one to a T4.1. Soldering that chip is not easy, at least for me, it was a real challenge to get everything line up right. Lots...
    7 replies | 218 view(s)
  • mjs513's Avatar
    06-30-2020, 02:42 PM
    @KurtE Sorry was busy soldering up a couple more T4.1's. Was the hack we put for drawing from SD Card was in the sketch itself - we used drawRect for the scanline?
    42 replies | 2105 view(s)
  • mjs513's Avatar
    06-30-2020, 12:21 AM
    Just thought you should know. Couldn't find much on it.
    770 replies | 25427 view(s)
  • mjs513's Avatar
    06-29-2020, 10:16 PM
    Could very well be looking for a specific command. Someone identified it as "The dongle identifies as VID_0BDA&PID_8771" Someone else said its a "The adapter has a realtek rtl8761a". Probably start there. @KurtE will...
    770 replies | 25427 view(s)
  • mjs513's Avatar
    06-29-2020, 10:09 PM
    Received my 7in RA8875 display and hooked it up. Ran the ManyGauge example sketch with a T4.0 at 600Mhz without issue. Also ran benchmark.ino and FontTest4 with no problem at default SPI clock for the display. ...
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-29-2020, 08:12 PM
    Going to be interesting. Just reading the reviews and a few people complaint about it not pairing with the PS4 joystick. The very last review in the list was interesting. Seems you have to use there drivers otherwise...
    770 replies | 25427 view(s)
  • mjs513's Avatar
    06-29-2020, 07:57 PM
    Could be the dongle is ble?
    770 replies | 25427 view(s)
  • mjs513's Avatar
    06-29-2020, 05:02 PM
    The Rii keyboard/mouse may need to be paired with the keyboard object - remember that on my keyboard/mouse Rii i had to type "0000" on the keyboard then it would pair - man memory is getting tougher :) Think the new...
    770 replies | 25427 view(s)
  • mjs513's Avatar
    06-29-2020, 12:06 PM
    A simple solution to not checking the json is to go to "File => Preferences" and un-check the box that says "Check for updates on startup". That should prevent it from going to the internet to check the JSON.
    30 replies | 1100 view(s)
  • mjs513's Avatar
    06-29-2020, 12:01 PM
    @defragster Good Morning: May be the dongle itself. Reading the debug looks like it recognizes the dongle: *** Device Bluet bda:8771 - connected *** manufacturer: Realtek product: Bluetooth Radio Serial:...
    770 replies | 25427 view(s)
  • mjs513's Avatar
    06-28-2020, 12:45 PM
    mjs513 replied to a thread ILI9341 Speedup in General Discussion
    @KurtE implemented getTextBounds as well as using GFX fonts into his ILI9341_t3n library as well as having frame buffering support. Any potential of using that library in teensyduino instead of the ILI9341 library. If...
    8 replies | 420 view(s)
  • mjs513's Avatar
    06-27-2020, 10:16 PM
    mjs513 replied to a thread uNav INS in General Discussion
    Maybe this will make it a bit clearer, added some notes along the test curve:
    708 replies | 147052 view(s)
  • mjs513's Avatar
    06-27-2020, 09:56 PM
    Just saw b3 was released, right on schedule :) Noticed Adafruit GFX was not auto installed with Teensyduino so remember to install it from library manager. It will auto install Adafruit BusIO as well which it now...
    30 replies | 1100 view(s)
  • mjs513's Avatar
    06-27-2020, 05:24 PM
    @ftrias and @defragster Ok got it working. Just had the wrong file in the hardware/tools. Wasn't expecting another a GDB cmd window to pop open either, probably should read the readme better.
    67 replies | 1378 view(s)
  • mjs513's Avatar
    06-27-2020, 04:15 PM
    @ftrias Sorry for the delay in responding - keep getting sidetracked. Anyway I followed these instructions in the readme: Just for clarity the teensy_debug file I copy to 'hardware/tools' is teensy_debug.py or...
    67 replies | 1378 view(s)
  • mjs513's Avatar
    06-27-2020, 04:02 PM
    @ecurtz Thanks for starting this thread, kept meaning too but kept getting side tracked with other things :) Anyway @defragster posted a NXP Community question on using NAND: FlexSpi NOR and NAND Flash...
    7 replies | 218 view(s)
  • mjs513's Avatar
    06-27-2020, 02:49 PM
    @ftrias Ok since I also install via the zip file, so I ran the following from the command prompt ffter I downloaded and put all files in the Arduino Libraries folder.: teensy_debug -i=f:\Arduino-1.8.13 But I keep...
    67 replies | 1378 view(s)
  • mjs513's Avatar
    06-27-2020, 02:41 PM
    @gotty101 Ok lets start at the beginning. 1. You need to reinstall the RA8876 library from github: https://github.com/mjs513/Ra8876LiteTeensy. Then delete the RA8876Lite that you installed for Due. The two...
    246 replies | 5876 view(s)
  • mjs513's Avatar
    06-27-2020, 01:09 PM
    Thanks - missed the updates to MTP_T4 :) See the logger example now.
    86 replies | 1632 view(s)
  • mjs513's Avatar
    06-27-2020, 11:23 AM
    Thanks @mborgerson. Wouldn't be the first time I edited the some of the core files :) Oh if I can ask you one more question - can this be used with a T4.0 using an external card reader? Besides the SDConfig...
    86 replies | 1632 view(s)
  • mjs513's Avatar
    06-27-2020, 12:58 AM
    mjs513 replied to a thread uNav INS in General Discussion
    @brtaylor Well finally got the whole test bed set up with a simple logger and a button to end logging and close the file. Plot is a bit confusing but put a little plot of the lat/long from google maps. Basically...
    708 replies | 147052 view(s)
  • mjs513's Avatar
    06-26-2020, 10:03 PM
    Thank you for the updated zip. PS. I noticed that you had a custom MTP Responder Library for you logger when I was going through it. Like how you used the pointer for the file system instead of the default. Didn't...
    86 replies | 1632 view(s)
  • mjs513's Avatar
    06-26-2020, 09:55 PM
    Glad that worked but not sure why still the problem with i2c. Guess i will be buying for testing.
    6 replies | 138 view(s)
  • mjs513's Avatar
    06-26-2020, 08:31 PM
    Are you using the latest IDE/TD (1.83 and 1.53beta2)? At one point there was alot of work done to prove i2c comm? One of the things i did to debug I2C as a test was to put some delays after Wire.send etc, something...
    6 replies | 138 view(s)
  • mjs513's Avatar
    06-26-2020, 08:18 PM
    Just a glance at the library it seems all its doing is sending bytes through I2C using Wire which is pins 18/19. Would suggest that you leave the CPU clock at 600Mhz and edit the .cpp file to put a...
    6 replies | 138 view(s)
  • mjs513's Avatar
    06-26-2020, 02:11 PM
    @KurtE Very true. The only other place that I see the use of QuadTimers is when you do AnalogWriteFrequency: void analogWriteFrequency(uint8_t pin, float frequency) { const struct pwm_pin_info_struct *info; if...
    10 replies | 196 view(s)
  • mjs513's Avatar
    06-26-2020, 11:05 AM
    @janbbeck In the Teensy 4 core you will a file called startup.c, in there you will see that it calls pwm_init (which is in pwm.c) when the T4.x starts up. To save some time here is what pwm_init and quadtimer_init :...
    10 replies | 196 view(s)
  • mjs513's Avatar
    06-25-2020, 08:58 PM
    Very cool indeed. Oxygen and kerosene, reminds me of Goddard's first rocket, Liquid Oxygen and gasoline. Congratulations! Not sure if you have seen this guys efforts but its fun too: https://bps.space/about/
    2 replies | 169 view(s)
  • mjs513's Avatar
    06-25-2020, 05:52 PM
    Probably should start a new thread for NAND memory. as for MTP change = that mode wasn't put into the 1.53 core so we have to edit it each time.
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-25-2020, 01:22 PM
    @PaulStoffregen Was just using MTP responder with T4.0 and remembered an issue we were have with using MTP above 450 Mhz. Basically above 450Mhz MTP responder would not work. The fix was relatively easy but took a...
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-25-2020, 12:17 PM
    @PaulStoffregen Thanks for the info Paul. Website updates and documentation have to be first as the site does need some updating. That's going to be a job and a half. When you dangle little tidbits I get...
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-25-2020, 11:20 AM
    Good Morning - sorry i missed this last night. Sounds like a plan. Know its early but any thoughts on which NAND chips you are looking at or what FLASH Chips yet or should I just be patient. Think i know the...
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-24-2020, 11:50 PM
    @PaulStoffregen - are you playing on pulling in The spiff library. If so be careful which branch. If you want I can pull it into a separate repository.
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-24-2020, 09:37 PM
    SPIFFS are not set up for PSRAM, only for FLASH, never tested with 2 FLASH Chips though. I would be reluctant to use PSRAM for logging data though, if you were to loose power you would loose whatever data you saved. ...
    86 replies | 1632 view(s)
  • mjs513's Avatar
    06-24-2020, 08:25 PM
    @mborgerson - @defragster Just as a test I used the SDFat-beta BufferedPrint example and used it to log the data to the SD Card on SPI and it worked without a problem. So question is what really needs to be...
    86 replies | 1632 view(s)
  • mjs513's Avatar
    06-24-2020, 06:33 PM
    Makes sense for an on demand application to me. The issue I am having may be associated that I am trying to use an external card reader on SPI and SDIO.
    86 replies | 1632 view(s)
  • mjs513's Avatar
    06-24-2020, 04:56 PM
    I did make a couple of changes but right now its hanging on File open using an external Card reader on a T4.0 bool DataLogger::OpenDataFile(const char *filename) { Serial.print("Opening FIle ");...
    86 replies | 1632 view(s)
  • mjs513's Avatar
    06-24-2020, 04:24 PM
    @mborgerson Believe me I say I understand your fundamental rules. Been there and done that. In some cases though you need to process the data real-time so say an autonomous vehicle can make decisions on obstacles...
    86 replies | 1632 view(s)
  • mjs513's Avatar
    06-24-2020, 12:13 PM
    @mborgerson - Hope you enjoyed your camping trip and got some good data out of it :) Thanks for posting the additional examples. I have been using a modified Bolderflight GPS by Chirs O. Actually lets you set some...
    86 replies | 1632 view(s)
  • mjs513's Avatar
    06-23-2020, 07:23 PM
    Oops, my bad that version didn;t have the datalogger in it = my bad . sorry
    86 replies | 1632 view(s)
  • mjs513's Avatar
    06-23-2020, 07:09 PM
    I attached it in post #56 but here is the latest i am working with. You know you can just hard code the GPS lat, long etc instead of attaching a GPS.
    86 replies | 1632 view(s)
  • mjs513's Avatar
    06-23-2020, 07:01 PM
    @defragster Seems to hanging on this line: cptr((void*)collectPtr); // call data collection function in datalogger::TimeChore
    86 replies | 1632 view(s)
  • mjs513's Avatar
    06-23-2020, 06:13 PM
    @defragster -- seems to hang as soon as it trys to write the first pack. May have to do something else
    86 replies | 1632 view(s)
  • mjs513's Avatar
    06-23-2020, 03:27 PM
    @KurtE The only things that don't seem to work are Rumble and LEDs? Can't seem to break the code on that.
    770 replies | 25427 view(s)
  • mjs513's Avatar
    06-23-2020, 02:30 PM
    @KurtE Once I commented the println's in the rx_data section (right at the beginning), looks like its working without any changes necessary to the structure. Bottom line: looks like you got it resolved. Give it...
    770 replies | 25427 view(s)
  • mjs513's Avatar
    06-23-2020, 02:00 PM
    Ethernet both work. The NativeEthernet library does require an additional library to be installed. Its dependent on the FNET library. Seems relatively easy to work with. Used it for the temperature measurements with...
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-23-2020, 01:43 PM
    Yeah but seem to keep getting distracted with other fun stuff for some reason :)
    770 replies | 25427 view(s)
  • mjs513's Avatar
    06-23-2020, 01:18 PM
    @KurtE - @PaulStoffregen Merge Completed! No need for warning in the file - @KurtE removed references to extMem_t4 as well. Thanks Kurt
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-23-2020, 01:06 PM
    @KurtE - @Paul Just did the same thing and getting the same errors. Could have sworn we fixed those errors a while ago. Wil wait for the PR
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-23-2020, 12:52 PM
    Nice Paul. Mine is a bit more complicated since I set it up to be multi-purpose for all the displays we play with: But sometimes simple is better, i tend to get carried away I liked your little wired boards that...
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-23-2020, 12:45 PM
    Not a problem will do as soon as I get another cup of coffee :)
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-23-2020, 12:42 PM
    @KurtE Yep - early morning - guess i am a morning person :) Was thinking along the same lines as you, started doing the same thing. The one thing that will have to be adjusted is the structure for the data the...
    770 replies | 25427 view(s)
  • mjs513's Avatar
    06-23-2020, 11:58 AM
    Simple answer is yes. More complicated answer is that with one PSRAM chip extram_t4 reserves the lower 4 MBs for user to use for EXTRAM, etc and the upper 4MBs for other purposes. Also addresses if you have no PSRAM...
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-23-2020, 11:34 AM
    Morning @defragster Thanks for looking I will give it a try. BTW heres the latest piece of code I am using with Brian's updated uNavIns. Oh, think I figured out what the primary cause of yaw drift is - the GPS.
    86 replies | 1632 view(s)
  • mjs513's Avatar
    06-23-2020, 11:30 AM
    Morning @KurtE Was playing with your update this morning. Think I isolated the problem. Based on what you currently have the report id is 0x14 but the code only seems to accept rpt 0x01. If I look at the other...
    770 replies | 25427 view(s)
  • mjs513's Avatar
    06-23-2020, 02:25 AM
    Yeah was just playing with that a bit. Funny thing is that USBHost shield recognizes it as 360 and its working but cant see any differences from the xbox one s. Didnt try that ???? But my eyes are closing now.
    770 replies | 25427 view(s)
  • mjs513's Avatar
    06-23-2020, 02:23 AM
    @defragster Guess thats exactly what I am looking for: 'LogThisNow( _record_ )' - too bad
    86 replies | 1632 view(s)
  • mjs513's Avatar
    06-23-2020, 02:21 AM
    Yes they do from what I remember. Not sure if you want to pull that stuff in yet.
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-22-2020, 11:20 PM
    Ok going through the examples seems everything is based on a timer call back. Question is if I just want to log data every 200ms based on the data available test in a loop: if ((newIMUData == 1 && rtk.upDated ==...
    86 replies | 1632 view(s)
  • mjs513's Avatar
    06-22-2020, 11:14 PM
    Updated ILI9488, HX8357 and RA8876 with the GFX font changes.
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-22-2020, 09:10 PM
    @KurtE and @PaulStoffregen Went ahead and did the merge of the PR and added the GPIOX(true) for Adafruit displays in the "begin" function.
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-22-2020, 08:12 PM
    Just posted a response on Github
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-22-2020, 07:59 PM
    Ok fixed issue with GFX fonts - real easy: 1. substitute new font structure in glcdfont.h for what we have in RA8875.h /// Font data stored PER GLYPH typedef struct { uint16_t bitmapOffset; ///< Pointer into...
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-22-2020, 07:37 PM
    Sorry had to run out to the store. Needed to let the car run awhile - battery died yesterday today ok. Just tested probably the same board you have @Paul just to see if it works and no problems either. Just as a...
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-22-2020, 05:30 PM
    @KurtE Which display are you using? The 480x272 seems to be working. I will check out the new GFX issue
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-22-2020, 05:04 PM
    Reason I was saying about SPI Clock was because of the warning Sumotoy had in the file: I am going to pull out scope and see what it looks like with my setup out of curiosity.
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-22-2020, 04:47 PM
    I have the 4.3 inch one, https://www.buydisplay.com/4-3-tft-l...al-spi-i2c-mcu, setup for 5v, SPI 4-wire, resistive but capacitive works as well.
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-22-2020, 04:33 PM
    Have a 480x272. :) Have to order it quick - they close for awhile starting June 25th.
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-22-2020, 04:07 PM
    Just tried round gauges on the 480x272 and its been running at 600Mhz for the last 6 minutes. Something strange going on. I just ordered a 800x480 7inch display from BuyDisplay should be here end of the week. EDIT:...
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-22-2020, 03:39 PM
    I added this line to the end of "begin" function in the RA8875.cpp file: if(_displaySize == Adafruit_480x272 || _displaySize == Adafruit_800x480 ) GPIOX(true); Should work.
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-22-2020, 03:27 PM
    Don't have a 800x480 display, think Kurt has one, but i just ran it on a 480x272 display with 4 gauges (does clip the last one) but it looks like its working on a T4.0 without a problem. Can you try just 4 gauges to...
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-22-2020, 01:54 PM
    Don't think it will hurt. Looks like its used for turning on the display using PWM as opposed to just having the BL hooked up to a power pin. With BuyDisplay think the jumpers are set to use BL attached to a power pin
    75 replies | 1990 view(s)
  • mjs513's Avatar
    06-22-2020, 01:46 PM
    @KurtE Morning. Got that last night for both of those controllers. Neither one works wired either to save you some time :) In going USBHostShield2.0 and the issue and the code Lazurus has for BT the HCI log is...
    770 replies | 25427 view(s)
  • mjs513's Avatar
    06-22-2020, 12:10 AM
    @KurtE BT Dump from host shield: HID Bluetooth Library Started Bluetooth Dongle Initialized No response to HCI Reset HCI Reset complete Write class of device Local Bluetooth Address: 00:15:83:F6:2B:28 Please...
    770 replies | 25427 view(s)
  • mjs513's Avatar
    06-21-2020, 11:01 PM
    @KurtE Maybe this makes sense; https://github.com/felis/USB_Host_Shield_2.0/issues/252
    770 replies | 25427 view(s)
  • mjs513's Avatar
    06-21-2020, 05:21 PM
    Thanks Michael. You are absolutely right except in the use case I am looking at on rover I will have primary power source when the rover is running around the house and the secondary is when i am doing testing where i...
    795 replies | 32525 view(s)
  • mjs513's Avatar
    06-21-2020, 04:09 PM
    Yeah - just got my coffee and decided to look on the back of the T4.0 card and sure enough. Thats what I get for using your spreadsheet all the time :)
    795 replies | 32525 view(s)
  • mjs513's Avatar
    06-21-2020, 03:55 PM
    OK this is going to sound like a silly question at this point in time but my memory is failing me, where is the trace I have to cut to separate Vin from USB if i want to use external power? Is it at 1 going from...
    795 replies | 32525 view(s)
  • mjs513's Avatar
    06-20-2020, 06:36 PM
    Just for you:
    39 replies | 1503 view(s)
  • mjs513's Avatar
    06-20-2020, 02:41 PM
    I got curious - always a problem so I ran a few test cases: 1. Blink with prints of temp after turning on and off. 2. Demosauce on a ILI9488, every second 3. OpenGL demo on a ILI9488, every second 4. UDP with a...
    39 replies | 1503 view(s)
  • mjs513's Avatar
    06-19-2020, 01:45 AM
    mjs513 replied to a thread uNav INS in General Discussion
    For me i usually do a web search but you will have to get an understanding of noise and standard deviation. Heres a couple of references: http://www.geologie.ens.fr/~ecalais/teaching/gps-geodesy/gps_noise_models.pdf...
    708 replies | 147052 view(s)
  • mjs513's Avatar
    06-18-2020, 10:14 PM
    Just sent the invitation to the RA8875 lib
    48 replies | 2143 view(s)
  • mjs513's Avatar
    06-18-2020, 09:52 PM
    @KurtE Think the RA8876 library needs some clean up before adding it Teensyduino, so i agree it may be too soon for 1.53 release. @PaulStoffregen Just did a little search for ST7565 they are still out there,...
    48 replies | 2143 view(s)
More Activity
About mjs513

Basic Information

About mjs513
Location:
New York
Interests:
Robotics, Image Processing
Occupation:
Aerospace Eng (Retired)

Statistics


Total Posts
Total Posts
5,318
Posts Per Day
2.42
Last Post
NAND flash support in 1.54 Today 04:13 PM
General Information
Last Activity
Today 08:57 PM
Join Date
07-01-2014