RL2000 goes Teensy

Thank you @Bernard It seems that something is wrong/different with the latest toolchain for VS-code.
You are using an older version than platformio will install now.
Code:
PLATFORM: Teensy (4.13.1) > Teensy 4.1
HARDWARE: IMXRT1062 600MHz, 512KB RAM, 7.75MB Flash
DEBUG: Current (jlink) External (jlink)
PACKAGES:
 - framework-arduinoteensy @ 1.154.0 (1.54)
 - tool-teensy @ 1.155.0 (1.55)
 - toolchain-gccarmnoneeabi @ 1.50401.190816 (5.4.1)

latest with Platform 4.18.0:
Code:
PLATFORM: Teensy (4.18.0) > Teensy 4.1
HARDWARE: IMXRT1062 600MHz, 512KB RAM, 7.75MB Flash
DEBUG: Current (jlink) External (jlink)
PACKAGES:
 - framework-arduinoteensy @ 1.158.0 (1.58)
 - tool-teensy @ 1.158.0 (1.58)
 - toolchain-gccarmnoneeabi-teensy @ 1.110301.0 (11.3.1)

also the resulting code size is much smaller with your environement:
Code:
teensy_size: Memory Usage on Teensy 4.1:
teensy_size:   FLASH: code:187484, data:34928, headers:9008   free for files:7895044
teensy_size:    RAM1: variables:45824, code:184600, padding:12008   free for local variables:281856
teensy_size:    RAM2: variables:12384  free for malloc/new:511904

4.18.0:
Code:
teensy_size: Memory Usage on Teensy 4.1:
teensy_size:   FLASH: code:212520, data:32080, headers:8324   free for files:7873540
teensy_size:    RAM1: variables:41856, code:209432, padding:19944   free for local variables:253056
teensy_size:    RAM2: variables:12416  free for malloc/new:511872

I will try to move back to your version / platform
 
Unfortunately I cannot go back to platform 4.13.1, it is not available for Win10 AMD64. @Bernard which OS do you use?
May your Arduino-IDE is using an newer platform and toolchain too? This can match your observation of chattering motors, before you switched to VSC.
 
Last edited:
I use Win 11

How to check this ?
It can be found inside Boardmanager in Arduino IDE
Arduino_IDE_Toolchain.png
This 1.59.0 refers to the VS-Code Compile LOG

snap_compiledata.png

Unfortunately I cannot go back to your version in VS-Code because it is not available to download anymore.
May you should not update your VS-Code Toolchain ;-)
Thank you @Bernard
 
@Bernard would it be possible that you send me some file copies from your platfomio installation?
May I can install the version you are using on my system.
C:\Users\"username"\.platformio\packages\framework-arduinoteensy... (can be more than 1 folder)
C:\Users\"username"\.platformio\packages\tool-teensy
C:\Users\"username"\.platformio\platforms\teensy... (can be more than 1 folder)

I appreciate your help.

PS: If the size is too big, I can share a dropbox-link
 
What type of GPS components did you use?
The mower ist still mowing?
Ich habe direkt bei Ardusimple bestellt und werde dann Ntrip nutzen, da Sapos bei uns kostenlos ist. (simpleRTK2B - Basic Starter Kit ohne Stiftleisten + WiFi NTRIP Master). Plan ist aber komplett auf einen RPi4 mit Cassandra im RL2000 zu setzen (großer Dank an @EinEinfach ) und dann auch das NTRIP über den RPi zu machen NTRIP mit RPi (WiFi NTRIP Master kann dann entfallen)
Der Mower fährt noch nicht komplett, aber GPS ist schon getestet mit Sunray ohne Cassandra. Bisher gab es noch ein paar Probleme mit dem Kompilieren des Teensy-Code (siehe oben).
Über Pfingsten geht es weiter ;-)
 
Last edited:
Ich habe nicht ausreichend Fläche, da lohnt sich GPS nicht wirklich. Ich bin jetzt auch fast fertig (ein Die Dioden sind noch nicht hier) und versuche die alten RL2000 Perimeterspulen zu nutzen.
Heute werde ich noch ein paar Kabel Crimpen. Ich hoffe das ich dem Mäher in der nächsten Woche leben einhauchen kann. Ich habe einen großen liio-Akku vom Chinesen hier, 7S6P 18Ah, mal sehen ob der seine Leistung auch liefert.
 
My RL2000 work actually with Sunray running on Teensy MainPCB /PowerPCB/PI4 with Pisunray for camera and map management.
No particular issue except bad GPS reception under big tree ,so i work on it and a lot of work to have something working in all condition.
 
Back
Top