Sync error loading via USB

Post Reply
ke4rg
 

Posts: 5
Joined: 25 Feb 2023, 03:13
Location: Gretna, VA

Sync error loading via USB

Post by ke4rg »

I get sync error as reported by others but no suggested solutions. I get same error on each of my 3 uSDX (I lost SN on one, loading all zero as suggested by dl2man, same result.) I have latest version of avrdudess. Help!

Reported bt avrdudess:
Reading 31828 bytes for flash from input file KE4RG_truSDX_000000000000000000_Firmware.hex
in 1 section [0, 0x7c53]: 249 pages and 44 pad bytes
Writing 31828 bytes to flash
Writing |
Avr_write_mem(arduino, m328p, flash, 0x7c54, auto_erase = 0)
-------------------------------------------------- | 0% 0.00s
Error stk500_loadaddr() stk500.c 953: protocol expects sync byte 0x14 but got 0x1c

Error stk500_paged_load() stk500.c 1113: protocol expects sync byte 0x14 but got 0xe0
Avr_read_byte_default(arduino, m328p, flash, 0x7c00)
Error stk500_cmd() stk500.c 163: programmer is out of sync
Cannot read flash [0x7c00, 0x7c7f] to pad page
Error stk500_loadaddr() stk500.c 953: protocol expects sync byte 0x14 but got 0x00

Error stk500_paged_write() stk500.c 1049: protocol expects sync byte 0x14 but got 0x1c
Avr_write_byte(arduino, m328p, flash, 0x0000, 0x0c)
Avr_write_byte_default(arduino, m328p, flash, 0x0000, 0x0c)
Error stk500_cmd() stk500.c 163: programmer is out of sync
*** failed
Error do_op() update.c 805: unable to write flash (rc = -1)
Error stk500_disable() stk500.c 814: protocol expects sync byte 0x14 but got 0x00

Avrdude done. Thank you.
KE0QQQ
 

Posts: 87
Joined: 02 Aug 2022, 00:41

Re: Sync error loading via USB

Post by KE0QQQ »

Hello ,
Can you detail the 'device' that your connecting to ? A PC , I assume? That is all I can speak to.

I am going to assume there is other software conflicting within the Windows PC.
what com port are you trying to use?
How many com ports are there?
Between the the app / driver and Windows there is a place you may need to learn about.
Does the radio connect to FT8 software on the same PC?
Are there other Radios installed or connected to the same PC?

I dont want to waste your time here if you are using Mac, Unix, etc...
I will be pulling info from other posts I have left here if 'ing you're using Windows.
There is a software tool to assist in seeing what is happening and a reg hack or two to move ahead
ke4rg
 

Posts: 5
Joined: 25 Feb 2023, 03:13
Location: Gretna, VA

Re: Sync error loading via USB

Post by ke4rg »

I am using Windows 10 with all updates. Settings reports USB-Serial CH340 (com4). No other USB or serial devices in use. avrdude configuration matches that shown by dl2man. I don't do ft8. Avrdudess reads the input file fine, but hiccups with those errors (sync) when it tries to write. I downloaded the software for the known SN and for SN 0000000000000000 without problem. get the same errors with all three radios. What is the sync error? Help greatly appreciated. I am recovering from heart surgery during which I seem to have lost a lot of memory. hihi!
ke4rg
 

Posts: 5
Joined: 25 Feb 2023, 03:13
Location: Gretna, VA

Re: Sync error loading via USB

Post by ke4rg »

Eurika! I reloaded and reconfigured avrdudess and EVERYTHING updated to version x flawlessly. I was also able to match each radio to its SN. Many thanks for help.
Ken ke4rg
esprit
 

Posts: 5
Joined: 19 Mar 2025, 21:27

Re: Sync error loading via USB

Post by esprit »

Just wanted to share my experience, Very similar to this post. Hours spent fiddling, 10 different cables. All manner of settings tweaking. Gave up. Next day I tried a different laptop and it worked first time with default settings described in the (tr)uSDX firmware doc. (Beta FW build rocks :)
Post Reply

Users browsing this forum: No registered users and 0 guests