Lang geleden dat ik Marlin heb geflashed. Nu kom ik er even niet uit. Wie kan helpen?
situatie:
board: BTT_SKR1_4_Turbo
IDE: platformio
Ik heb configuration.h aangepast voor dit board.
in platformio.ini heb ik chipset aangegeven (LPC1769)
Ik heb het board aangesloten via USB op mijn laptop en de jumper op het board is ingesteld voor USB.
Als ik de firmware compile en upload lukt dat compilen prima, echter krijg ik de foutmelding dat platformio de target niet kan vinden. Een beetje zoeken geeft aan dat de parameter upload_port in platformio.ini gedefinieerd moet worden.
in de documentatio vind ik:
upload_port
Type: String (Pattern) | Multiple: No
This option is used by “uploader” tool when sending firmware to board via upload_port. For example,
/dev/ttyUSB0 - Serial port (Unix-based OS)
COM3 - Serial port (Windows OS)
192.168.0.13 - IP address when using OTA
/media/disk - physical path to media disk/flash drive (Mbed enabled boards)
D: - physical path to media disk/flash drive (Windows OS).
If upload_port isn’t specified, then PlatformIO will try to detect it automatically.
To print all available serial ports please use platformio device list command.
This option can also be set by global environment variable PLATFORMIO_UPLOAD_PORT.
Please note that you can use Unix shell-style wildcards:
Pattern Meaning
* matches everything
? matches any single character
[seq] matches any character in seq
[!seq] matches any character not in seq
Example
[env:uno]
platform = atmelavr
framework = arduino
; any port that starts with /dev/ttyUSB
upload_port = /dev/ttyUSB*
; COM1 or COM3
upload_port = COM[13]
Ik heb op mijn laptop fedora31. Een mountpoint van USB gaat niet naar /media/<device> maar in fedora gaat die naar /run/media/<user>/<deviceID> zou het daar aan kunnen liggenm dat platformio het device niet kan vinden?
Ik heb in platformio.ini alle mogele opties al geprobeerd:
voor upload_port heb ik geprobeerd:
/run/media/user/A87B-A154/
/dev/sdb1
wat voor opties heb ik nog meer? ik krijg steevast: Unable to find destination disk (Autodetect Error)
Please select it in platformio.ini using the upload_port keyword (
https://docs.platformio.o...f/section_env_upload.html) or copy the firmware (.pio/build/LPC1769/firmware.bin) manually to the appropriate disk
Wat doe ik fout?