Error updating firmware

Hello, i am having trouble trying to update the firmware and I don´t know where is the error.
I tried updating with bossa, i follow the steps in the wiki:

https://wiki.newae.com/Manual_SAM3U_Firmware_Update.

image

path of the bin: hardware\capture\chipwhisperer-lite\sam3u_fw\SAM3U_VendorExample\Debug

But when i exit the program, I still have the message saying my firmware is outdated.

I tried to update firmware with the steps on the api, but I have an error entering the bootloader mode.
Code:

import chipwhisperer as cw

scope = cw.scope()

target = cw.target(None, cw.targets.CW305)

programmer = cw.SAMFWLoader(scope=target)

programmer.enter_bootloader(really_enter=True)

Warning: Could not connect to “NewAE USB (CWLite/CW1200)”. It may have been disconnected, is in an error state, or is being used by another tool.

After that I checked if the ChipWhisperer is disconnected but it is not.
image
image

I have a ChipWhisperer-Lite (Capture + UFO), the UFO is CW308 and I am using VMWare.

Update:
I have manually enter in the bootloader mode, and I use the method of the firmware path but there is an error.
Code:

import chipwhisperer as cw
programmer = cw.SAMFWLoader(scope=None)
programmer.program(‘/dev/ttyACM5’,‘chipwhisperer/hardware/capture/chipwhisperer-lite/sam3u_fw/SAM3U_VendorExample/Debug/SAM3U_CW1173.bin’

Error:

Hardware method:

Code:

import chipwhisperer as cw

programmer = cw.SAMFWLoader(scope=None)

programmer.program(‘/dev/ttyACM5’, hardware_type=‘cwlite’)

Error:


COM5 is connected to VMWare.

Are you sure /dev/ttyACM5 is the correct path for the bootloader?

We do also have a Windows exe for programming on our release page: https://github.com/newaetech/chipwhisperer/releases/tag/5.4 that you can use if you’re unable to update in the VM. That firmware should be up to date

EDIT: I also want to mention that the wiki is deprecated. You should use https://rtfm.newae.com/ for hardware documentation and https://chipwhisperer.readthedocs.io/en/latest/ for software documentation.

Alex

It was the error, the path for the bootloader was ttyS0 and I had to connect Atmel Bossa Program Port, not Serial Port, and it works.
Thank you.