Program Successful But Boots To serial number
-
- Posts: 6
- Joined: 30 Dec 2021, 22:58
Program Successful But Boots To serial number
Hi There,
After entering my TruSDX S/N into the website, downloading the firmware and programming the TruSDX using AVRdudess with USB-asp, the radio still boots to the serial number.
What am I missing here?
AVRdudess reports a successful verify.
Cheers,
Glenn VK3YY.
-----------------------------------------------------------------------------------------------------------------------------
avrdude.exe: input file D:\downloads\VK3YY_truSDX_hiddenserialnumber_Firmware.hex contains 31480 bytes
avrdude.exe: reading on-chip flash data:
Reading | ################################################## | 100% 17.95s
avrdude.exe: verifying ...
avrdude.exe: 31480 bytes of flash verified
avrdude.exe done. Thank you.
------------------------------------------------------------------------------------------------------------------------------
After entering my TruSDX S/N into the website, downloading the firmware and programming the TruSDX using AVRdudess with USB-asp, the radio still boots to the serial number.
What am I missing here?
AVRdudess reports a successful verify.
Cheers,
Glenn VK3YY.
-----------------------------------------------------------------------------------------------------------------------------
avrdude.exe: input file D:\downloads\VK3YY_truSDX_hiddenserialnumber_Firmware.hex contains 31480 bytes
avrdude.exe: reading on-chip flash data:
Reading | ################################################## | 100% 17.95s
avrdude.exe: verifying ...
avrdude.exe: 31480 bytes of flash verified
avrdude.exe done. Thank you.
------------------------------------------------------------------------------------------------------------------------------
-
- Posts: 215
- Joined: 30 Dec 2021, 21:56
Re: Program Successful But Boots To serial number
Glenn,
Can you verify all your settings in AVRDudess match these?

Can you verify all your settings in AVRDudess match these?

-
- Posts: 6
- Joined: 30 Dec 2021, 22:58
Re: Program Successful But Boots To serial number
Hi Faraaz,
Yes they are the same except for the programmer which is USB-asp instead of Arduino.
Cheers,
Glenn VK3YY.
Yes they are the same except for the programmer which is USB-asp instead of Arduino.
Cheers,
Glenn VK3YY.
-
- Posts: 215
- Joined: 30 Dec 2021, 21:56
-
- Posts: 6
- Joined: 30 Dec 2021, 22:58
Re: Program Successful But Boots To serial number
Hi Faraaz,
I am uploading the firmware using USB-asp via the ICSP header on the main board.
Cheers,
Glenn.
I am uploading the firmware using USB-asp via the ICSP header on the main board.
Cheers,
Glenn.
-
- Posts: 6
- Joined: 30 Dec 2021, 22:58
Re: Program Successful But Boots To serial number
Hmm.... I guess I should be loading the firmware via the micro USB port....
Cheers,
Glenn VK3YY.

Cheers,
Glenn VK3YY.
-
- Posts: 215
- Joined: 30 Dec 2021, 21:56
Re: Program Successful But Boots To serial number
Glenn,
Try uploading with a USB cable please, using Arduino as the programming device.
Try uploading with a USB cable please, using Arduino as the programming device.
-
- Posts: 6
- Joined: 30 Dec 2021, 22:58
Re: Program Successful But Boots To serial number
Hi Faraaz,
I tried that, but it didn't work. I wonder if programming via the ICSP port has overwritten something?
The CH340 driver is loaded, the com port is recognised in device manager as com 6.
--------------------------------------------------------------------------------------------
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
>>>: avrdude -u -c arduino -p m328p -P COM6 -b 115200 -U flash:w:"D:\downloads\VK3YY_truSDX_hiddenserialnumber_Firmware.hex":a
avrdude.exe: stk500_recv(): programmer is not responding
avrdude.exe: stk500_getsync() attempt 1 of 10: not in sync: resp=0xb4
avrdude.exe: stk500_recv(): programmer is not responding
avrdude.exe: stk500_getsync() attempt 2 of 10: not in sync: resp=0xb4
avrdude.exe: stk500_recv(): programmer is not responding
avrdude.exe: stk500_getsync() attempt 3 of 10: not in sync: resp=0xb4
avrdude.exe: stk500_recv(): programmer is not responding
I tried that, but it didn't work. I wonder if programming via the ICSP port has overwritten something?
The CH340 driver is loaded, the com port is recognised in device manager as com 6.
--------------------------------------------------------------------------------------------
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
>>>: avrdude -u -c arduino -p m328p -P COM6 -b 115200 -U flash:w:"D:\downloads\VK3YY_truSDX_hiddenserialnumber_Firmware.hex":a
avrdude.exe: stk500_recv(): programmer is not responding
avrdude.exe: stk500_getsync() attempt 1 of 10: not in sync: resp=0xb4
avrdude.exe: stk500_recv(): programmer is not responding
avrdude.exe: stk500_getsync() attempt 2 of 10: not in sync: resp=0xb4
avrdude.exe: stk500_recv(): programmer is not responding
avrdude.exe: stk500_getsync() attempt 3 of 10: not in sync: resp=0xb4
avrdude.exe: stk500_recv(): programmer is not responding
-
- Posts: 215
- Joined: 30 Dec 2021, 21:56
Re: Program Successful But Boots To serial number
Yes, you've probably overwritten the bootloader.
Since you have a Usbasp, the quickest way would be to reflash the bootloader and set fuses (see the instruction page on the DL2MAN.de website). Then upload your firmware over USB as instructed.
There is another option which is available in the beta firmware to upload over ICS, but please try this to start with.
Since you have a Usbasp, the quickest way would be to reflash the bootloader and set fuses (see the instruction page on the DL2MAN.de website). Then upload your firmware over USB as instructed.
There is another option which is available in the beta firmware to upload over ICS, but please try this to start with.
-
- Posts: 1
- Joined: 30 Dec 2021, 20:10
Re: Program Successful But Boots To serial number
Hi,
Did you use an USB-C adapter by any chance when you were uploading the firmware?
I had the exact same message when I used USB-C adapter.
After using a straight USB cable without the adapter, everything went fine.
Did you use an USB-C adapter by any chance when you were uploading the firmware?
I had the exact same message when I used USB-C adapter.
After using a straight USB cable without the adapter, everything went fine.
-
- Posts: 6
- Joined: 30 Dec 2021, 22:58
Re: Program Successful But Boots To serial number
OK, so I rewrote the bootloader using USBasp and then loaded the firmware using the micro USB interface and it's now running fine.
Receive and transmit all bands at good power.
It was a really straightforward build.
Thanks Faraaz.
For some reason though , when AVRdudess went to verify, it said programmer not responding.
Doug, I wasn't using a USB-C adaptor.
Cheers,
Glenn VK3YY.
Receive and transmit all bands at good power.
It was a really straightforward build.
Thanks Faraaz.
For some reason though , when AVRdudess went to verify, it said programmer not responding.
Doug, I wasn't using a USB-C adaptor.
Cheers,
Glenn VK3YY.
-
- Posts: 215
- Joined: 30 Dec 2021, 21:56
Re: Program Successful But Boots To serial number
You have to be quite careful with usb-c adaptors. The data lines are often not connected as the adaptors are often designed just for charging purposes.
-
- Posts: 7
- Joined: 05 Mar 2022, 21:50
Re: Program Successful But Boots To serial number
I'm having the same problem of booting to the serial number--but I am using an Arduino, USB A, and the settings as outlined for the standard protocol... I'm quite stuck!
-
- Posts: 215
- Joined: 30 Dec 2021, 21:56
Re: Program Successful But Boots To serial number
Please post a screenshot of AVRDUDESS after you have attempted an upload.
-
- Posts: 17
- Joined: 03 Jan 2022, 16:50
Re: Program Successful But Boots To serial number
Hello.
For me it helped once to reload the bootloader and then the current firmware.
73 Marcel DM3FAM
For me it helped once to reload the bootloader and then the current firmware.
73 Marcel DM3FAM
-
- Posts: 7
- Joined: 05 Mar 2022, 21:50
Re: Program Successful But Boots To serial number
I've reinstalled the bootloader several times--I always get the same serial number, the firmware apparently loads in AVRDUDESS fine but it never reboots to the start screen
-
- Posts: 809
- Joined: 30 Dec 2021, 19:18
- Contact:
Re: Program Successful But Boots To serial number
The Problem is appearently NOT the Firmware, but the (missing or wrong) Bootloader or (missing or wrong) Fuses.
Something in that process went wrong.
Please show a screenshot of you after Uploading Bootloader and setting fuses.
And while you´re at it, please show a picture of the Serial Number in Display. If it´s generated for the wrong S/N, it will still write it OK, but keeps showing the Serial Number
73 Manuel, DL2MAN
Something in that process went wrong.
Please show a screenshot of you after Uploading Bootloader and setting fuses.
And while you´re at it, please show a picture of the Serial Number in Display. If it´s generated for the wrong S/N, it will still write it OK, but keeps showing the Serial Number
73 Manuel, DL2MAN
-
- Posts: 809
- Joined: 30 Dec 2021, 19:18
- Contact:
Re: Program Successful But Boots To serial number
Found it
Exchange the 0 for an 8....
73 Manuel DL2MAN
Exchange the 0 for an 8....

73 Manuel DL2MAN
-
- Posts: 7
- Joined: 05 Mar 2022, 21:50
Re: Program Successful But Boots To serial number
Thanks, Manuel. Do you mean change fuse settings to 8xFF, etc? If I do that, I get an error “read from file 8xFF failed” invalid byte value.
-
- Posts: 809
- Joined: 30 Dec 2021, 19:18
- Contact:
Re: Program Successful But Boots To serial number
No, i mean what you read as 0 in your serial number, actually is an 8.
So you entered the wrong serial number, downloaded the file for another serial number as your rig actually has.
There's your problem
73 Manuel DL2MAN
So you entered the wrong serial number, downloaded the file for another serial number as your rig actually has.
There's your problem
73 Manuel DL2MAN
-
- Posts: 7
- Joined: 05 Mar 2022, 21:50
Re: Program Successful But Boots To serial number
Ahh...wow, Manuel I never would have caught that! Sadly, I find myself unable to try it since the OLED no longer displays info after reinstalling the bootloader multiple times. There is power to the OLED but it repeatedly cycles up and down as if the bootloader is stuck in a loop. In any case, thanks for your help!
Users browsing this forum: No registered users and 0 guests