Notifications
Clear all

Firmware Download

20 Posts
3 Users
0 Likes
641 Views
0
Topic starter

Hello. I am working with the Xylo Audio 2. I am being prompted to download a firmware upgrade. While I can see in the SAMNA documentation how to use Flasher to perform the installation, I still need to download the image or at least find the name of the version I need to install. 

"Please replace the filename in example to the real firmware to run them."

https://synsense-sys-int.gitlab.io/samna/flasher.html

Thanks!

Topic Tags
4 Answers
0

Hi Rogene, the firmware for Xylo Audio 2 can be downloaded here: https://www.dropbox.com/sh/ugfzbq02qhpar8i/AABvLm6xM4LWWdwRCR-UGt1aa?dl=0

Under the directory "XyloAv2TestBoard".

Avatar rogene Topic starter 30/01/2024 8:57 am

@dylanmuir Fantastic! Thank you!

Avatar rogene Topic starter 30/01/2024 9:33 am

@dylanmuir I will need a bit more help with the firmware upgrade.

Currently, when I execute:

program_fx3_flash(d, 'motherBoard_0_11_5.img')

Can't open file motherBoard_0_11_5.img, check if it exists or its read permissions
File is empty!
Firmware not valid, abort program fx3 firmware

--

I get a similar message when I flash the fpga firmware:

program_fpga_flash(d, 'XyloA2TestBoard_1_0_1_1_3.bin')

Can't open file XyloA2TestBoard_1_0_1_1_3.bin, check if it exists or its read permissions

File is empty!

Firmware not valid, abort program fpga firmware

--

Confirming that both the *.img and *.bin files are located in the same directory that I am running the flasher script in.

Avatar Yudi 30/01/2024 10:08 am
This post was modified 6 months ago 2 times by Yudi

Hi Rogene, can you try:

import samna

d = samna.flasher.get_programmable_devices()

samna.flasher.print_firmware_info_from_device(d[0])

and post the results here? Thank you.

0
Topic starter

You bet ---

 

Device configuration id: 15
Reading fx3 info from flash
product Id: 5bc2
Fx3 firmware version: 0, 11, 3
Reading fpga info from flash
product Id : 5bc2
configuration Id : 15
Fpga firmware version : 1, 1, 2
 
Avatar Yudi 30/01/2024 10:21 am

Hi @rogene, it looks correct. From the error message in your previous post, it seems the file is empty, can you check whether the file is empty?

DylanMuir DylanMuir 30/01/2024 10:29 am

@rogene On my side, "XyloA2TestBoard_1_0_1_1_3.bin" is 1.2Mb
"motherBoard_0_11_5.img" s 144kb

Avatar rogene Topic starter 30/01/2024 10:30 am

Hi @Yudi The file size on the *.img file was rather small - 144 kB. But I downloaded several others to compare and they were all in this range. The *.bin files were bigger - around 1.4 MB. Both have content if I open with the Mac utility, Hex Fiend.

 

Edited to say that XyloA2TestBoard_1_0_1_1_3 is 1.2 MB and XyloA2TestBoard_1_0_1_1_2 is 1.4 MB, so our file sizes are the same. 

0
Topic starter

Yup!

-rwxrwxrwx@ 1 eich467  staff  1206434 Jul 10  2023 XyloA2TestBoard_1_0_1_1_3.bin

drwxrwxrwx@ 5 eich467  staff      160 Jan 29 18:34 XyloAv2TestBoard

-rwxrwxrwx@ 1 eich467  staff   143517 Jun 30  2023 motherBoard_0_11_5.img

-rw-r--r--  1 eich467  staff      586 Jan 29 18:45 updateFirmware.py

 

0
Topic starter

Got it!

The only way this works is if I give the absolute path to the files. 

I can create/write/open/read a text file to the local directory without the full path. I can also open other text files on the system using relative path.  So, I have NO idea why these files need me to specify absolute path. I have been developing on this particular Mac and in this IDE for two years now and this has never been needed to find a file. But... I will save that mystery for another day. I am really excited to move to the next step!

Device configuration id: 15
Reading fx3 info from flash
product Id: 5bc2
Fx3 firmware version: 0, 11, 5
Reading fpga info from flash
product Id : 5bc2
configuration Id : 15
Fpga firmware version : 1, 1, 3

Avatar Yudi 30/01/2024 1:45 pm

Hi @rogene , good to know, did you run the python command from another directory? For python, the files are relative to your working directory, i.e. where you execute the python command

Avatar rogene Topic starter 30/01/2024 1:53 pm

I am running the code inside VSCode.

I have been developing on this particular machine and with this IDE for over two years, and have developed in Python on other machines for over 15 years - never had this issue with absolute path being a requirement.

I tested my theory first by creating, writing, opening, reading text files to both the local directory and elsewhere in the file system using relative path. They worked fine (as they always have). But I could not open the *.img and *.bin files with anything but absolute path.

In any case, I am glad to be up and running, and I will leave that mystery for another time.

I will also mention - in case someone else gets stuck - that it was necessary to power cycle the device after installing the firmware.

Thanks for your help tonight!

Share:
Close
Back To