¿ªÔÆÌåÓý

Cant upload firmware


 

Trying to upload firmware to my new uBITXv6 - it's not working.

I installed the Arduino IDE and the CH340 driver, and the ubitx v6 software from github on my Win10 system.

Successfully compiled the software.
---------------- snip -----------------------
Sketch uses 28748 bytes (93%) of program storage space. Maximum is 30720 bytes.
Global variables use 1151 bytes (56%) of dynamic memory, leaving 897 bytes for local variables. Maximum is 2048 bytes.
---------------- endsnip ---------------------

But when I try to upload it to the uBITX, it freezes for a long time, and then I get the
following errors:

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x8d

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x8d

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x8d

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x8d

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x8d

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x8d

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x8d

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x8d

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x8d

avrdude: stk500_recv(): programmer is not responding

Problem uploading to board. See for suggestions.

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x8d



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
------------------- endsnip ----------------------------

I suspect that I have a wrong setting in the arduino IDE preferences: Right now I have
Board: "Arduino Nano".
Programmer: "AVRISP Mkii"
Processor: "ATmega 328p"

If I choose "Get Board Info", I get:
------------ snip ------------
BN: Unknown board
VID: 1A86
PID: 7523
SN: Upload any sketch to obtain it
------ endsnip -------------------


Can anybody supply a clue?

- Jerry KF6VB


 

On Thu, Apr 22, 2021 at 12:06 PM, jerry@... wrote:
Processor: "ATmega 328p"
use old Bootloader for most all the clones


 

Changed the "Processor" to "ATmega 328p (old bootloader)". That did it! I succesfully
uploaded software to the radio. As a "hello world" experiment, I changed "LSB" to "PSB" on
the front panel. Yup, it did it. Time to go read some code.

- Jerry KF6VB

On 2021-04-22 12:17, Gary Anderson wrote:
On Thu, Apr 22, 2021 at 12:06 PM, jerry@... wrote:

Processor: "ATmega 328p"
use old Bootloader for most all the clones
Links:
------
[1] /g/BITX20/message/87840
[2] /mt/82293432/243852
[3] /g/BITX20/post
[4] /g/BITX20/editsub/243852
[5] /g/BITX20/leave/10189903/243852/952924773/xyzzy