Error TT

Hi! ^0^

I wanna do “CW-Lite AVR Programmer” by Notduino
but I got the message “FALED: AVR-ISP Command 0x 10 failed: err=0xc0 (Command Faild)
***FLASH Program FAILED”

I don’t know why pop up this message and what can I do for fix it.
Please help me TT

Thank you!

Hi Kim,

The error messages in the programmer GUIs are very generic, so it’s hard to debug them without more info. Can you give me any more details about your hardware setup?

One common problem with the AVR is that they sometimes need a clock to be running to be programmed. Can you set up the ChipWhisperer clock output to run at 7.37 MHz (like in the tutorials), then try to program the AVR again? Let me know if you need help setting this up.

Hi, I’m CHO.

I chose the “ChipWhisperer-Lite: AES SimpleSerial on ATMega328P” Example Script.
And, I have confirmed that “Scope Settings -> CLKGEN Settings -> Desired Frequency” is 7.37 Mhz.

So, I checked the “Debug Logging” and found something problem.
I attach a screenshot of “Debug Logging”. (programming succeed and failed)

I think the SAM3U firmware version is wrong.
How can I fix it?

Thanks :slight_smile:

Hi Cho,

Sorry for the delay - I was away all week!

There could be something wrong with the SAM3U firmware. Do you want to try re-flashing it? You can do this through the CWCapture program:

  • Connect to the ChipWhisperer normally
  • Go to Tools > CW Firmware Preferences
  • Click Open SAM3U Update Widget
  • Click Enable Bootloader Mode
  • Click Update List and make sure a COM port appears
  • Click Run Program and make sure the programming and verification finishes
  • Unplug ChipWhisperer and plug back in
    Let me know if that fixes your problems.

Hi, gdeon

Thank you.
SAM3U Firmware update succeeded, but Notduino still does not work…
“Debug Logging” shows the following error :

INFO - Running Script: ChipWhisperer-Lite: AES SimpleSerial on ATMega328P
INFO - Found ChipWhisperer-Lite, Serial Number = 4420312046304a383030382030323038
INFO - SAM3U Firmware version = 0.11 b0
INFO - FPGA programmed
INFO - OpenADC Found, Connecting
INFO - SimpleSerial: protocol V1.0 detected
WARNING - Response length from target shorter than expected (0<34): “”.
WARNING - Timeout in OpenADC capture(), trigger FORCED
WARNING - Timeout in OpenADC capture(), trigger FORCED
INFO - SimpleSerial: protocol V1.0 detected
WARNING - Response length from target shorter than expected (0<34): “”.
WARNING - Timeout in OpenADC capture(), trigger FORCED
WARNING - Timeout in OpenADC capture(), trigger FORCED
INFO - Finished Script: ChipWhisperer-Lite: AES SimpleSerial on ATMega328P

I’ve included screenshot of “Debug Logging”.
github.com/aasdzs/image/blob/ma … g?raw=true

Kind regards :slight_smile:

Okay - good to hear that the firmware update worked. Does the AVR programmer work now? There’s probably no firmware loaded on the Notduino yet, so it’s not responding to the ChipWhisperer.

Hi,gdeon
I am using Phywhisperer for USB sniffing, but now an error has occurred, indicating that fireware version SAM3U is not the latest and needs to be upgraded. So I would like to ask how you update the firmware version?
Best wishes
ShiTou