Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating firmware on Linux - commands not working #1128

Open
mzryz opened this issue Dec 2, 2024 · 1 comment
Open

Updating firmware on Linux - commands not working #1128

mzryz opened this issue Dec 2, 2024 · 1 comment

Comments

@mzryz
Copy link

mzryz commented Dec 2, 2024

BlueRetro firmware version

unknown

BlueRetro firmware specification

HW1

BlueRetro firmware variant

Universal

BlueRetro hardware type

External adapter with multiple hardwired cord

Manufacturer

Blueretro Core

System used

Multiple systems (This is the aliexpress core dongle, with separate cables for different systems)

Bluetooth controller brand & name

n/a

What is problem? (only list ONE problem per report)

System: Arch linux (latest, rolling) esptool installed via repos.

  1. Extracted firmware (HW1)
  2. Entered directory
  3. Copy / Pasted the code from 'project documentation / usb serial flash' instructions, code listed on website is: esptool.py -p /dev/ttyUSB0 -b 460800 --before default_reset --after hard_reset --chip esp32 write_flash\ --flash_mode dio --flash_size detect --flash_freq 40m 0x1000 bootloader.bin 0x8000 partition-table.bin 0xd000 ota_data_initial.bin 0x10000 BlueRetro.bin
  4. Terminal output was: esptool: error: argument operation: invalid choice: 'write_flash--flash_mode' (choose from 'load_ram', 'dump_mem', 'read_mem', 'write_mem', 'write_flash', 'run', 'image_info', 'make_image', 'elf2image', 'read_mac', 'chip_id', 'flash_id', 'read_flash_status', 'write_flash_status', 'read_flash', 'verify_flash', 'erase_flash', 'erase_region', 'read_flash_sfdp', 'merge_bin', 'get_security_info', 'version')
  5. I assumed the syntax was incorrect, tried removing the backslash after 'write_flash' and re-entered into the terminal, but this time output was: esptool write_flash: error: argument <address> <filename>: [Errno 2] No such file or directory: 'bootloader.bin
  6. I have noticed the required files are in different directories: Am I supposed to move all these files into one directory? Are the website instructions incomplete?

What did you expect to happen?

The firmware to flash

Attach files like logs or Bluetooth traces here

n/a

@mzryz
Copy link
Author

mzryz commented Dec 8, 2024

I'm going to close this issue because I updated by the web GUI. But I think the Linux instructions need updating with more detail because they assume that the user has experience flashing esp32 modules etc. the instructions should be written step by step, not missing anything out.

@mzryz mzryz closed this as completed Dec 8, 2024
@darthcloud darthcloud reopened this Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants