Page 1 of 1

[Pico Ultra W] Download Boot Fail,

Posted: 2024-10-19 17:08
by Credit5343
Hi, I just got a Luckfox Pico Ultra W, but it's not going well. I learnt that the upgrade tool doesn't work on Linux ARM or Linux macOS, and error messages are not very good, for example the tool will segfault if you don't use `sudo`, it's a random binary that is difficult to trust. Overall it's been a nightmare experience IMHO.

Now I'm using a Debian 12 machine x86_64 architecture. Could someone help with getting me started to flash my first luckfox device?

## Commands are not working
```
sudo ./upgrade_tool_v2.17_for_linux/upgrade_tool UF ./ultra-w-ubuntu/update.img
Using /home/user/Desktop/luckfox/upgrade_tool_v2.17_for_linux/config.ini
Loading firmware...
Support Type:1106 FW Ver:0.0.00 FW Time:2024-07-08 21:44:29
Loader ver:1.01 Loader Time:2024-07-08 21:43:10
Start to upgrade firmware...
Download Boot Start
Download Boot Fail
```

```
sudo ./upgrade_tool_v2.17_for_linux/upgrade_tool TD
Using /home/user/Desktop/luckfox/upgrade_tool_v2.17_for_linux/config.ini
Test Device Fail!
``

```
sudo ./upgrade_tool_v2.17_for_linux/upgrade_tool RCB
Using /home/ben/Desktop/luckfox/upgrade_tool_v2.17_for_linux/config.ini
Read capability Fail!
```

## My devices:
I pressed "boot" button and connected device to USB-C with a very good USB-C cable into USB-3.0
```
$ sudo ./upgrade_tool_v2.17_for_linux/upgrade_tool LD
Using /home/ben/Desktop/luckfox/upgrade_tool_v2.17_for_linux/config.ini
List of rockusb connected(1)
DevNo=1 Vid=0x2207,Pid=0x110c,LocationID=32 Mode=Maskrom SerialNo=
```

## `lsusb`
```
lsusb ✘ INT 18:03:09
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 018: ID 2207:110c Fuzhou Rockchip Electronics Company
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
... Other, usb devices, etc.
```

Re: [Pico Ultra W] Download Boot Fail,

Posted: 2024-10-23 1:11
by Alenwowo
Credit5343 wrote: 2024-10-19 17:08 Hi, I just got a Luckfox Pico Ultra W, but it's not going well. I learnt that the upgrade tool doesn't work on Linux ARM or Linux macOS, and error messages are not very good, for example the tool will segfault if you don't use `sudo`, it's a random binary that is difficult to trust. Overall it's been a nightmare experience IMHO.

Now I'm using a Debian 12 machine x86_64 architecture. Could someone help with getting me started to flash my first luckfox device?

## Commands are not working
```
sudo ./upgrade_tool_v2.17_for_linux/upgrade_tool UF ./ultra-w-ubuntu/update.img
Using /home/user/Desktop/luckfox/upgrade_tool_v2.17_for_linux/config.ini
Loading firmware...
Support Type:1106 FW Ver:0.0.00 FW Time:2024-07-08 21:44:29
Loader ver:1.01 Loader Time:2024-07-08 21:43:10
Start to upgrade firmware...
Download Boot Start
Download Boot Fail
```

```
sudo ./upgrade_tool_v2.17_for_linux/upgrade_tool TD
Using /home/user/Desktop/luckfox/upgrade_tool_v2.17_for_linux/config.ini
Test Device Fail!
``

```
sudo ./upgrade_tool_v2.17_for_linux/upgrade_tool RCB
Using /home/ben/Desktop/luckfox/upgrade_tool_v2.17_for_linux/config.ini
Read capability Fail!
```

## My devices:
I pressed "boot" button and connected device to USB-C with a very good USB-C cable into USB-3.0
```
$ sudo ./upgrade_tool_v2.17_for_linux/upgrade_tool LD
Using /home/ben/Desktop/luckfox/upgrade_tool_v2.17_for_linux/config.ini
List of rockusb connected(1)
DevNo=1 Vid=0x2207,Pid=0x110c,LocationID=32 Mode=Maskrom SerialNo=
```

## `lsusb`
```
lsusb ✘ INT 18:03:09
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 018: ID 2207:110c Fuzhou Rockchip Electronics Company
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
... Other, usb devices, etc.
```
Sorry, we don't have experience with Debian, we have used Ubuntu 22.04 and Windows 11 to burn without problems, you can try to change the system to try!