开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Trouble with ElektorSDR & Arduino Mega2560


 

Hi,
I am trying to get my Elektor SDR to work with my Arduino Mega2560.? I have run the program as administrator and followed the advice in previous topics.? I have used Xloader to install "../arduinocode/si5351vfoGM8JCF.hex" onto the board.? However, when I turn the board on, I still get the popup saying the firmware needs to be updated with the following result:



I have verified that I am using Com7 for the Arduino.

Thanks for the help in advance!
Reed


 

Hi Reed

After uploading the firmware, were you able to use Tera Term/Putty to verify that the firmware is installed and operating correctly ?

ie To find out that the firmware is running correctly, launch a terminal emulator, eg Tera Term, PUTTY, and connect to the UNO using a serial connection at 115200, 8 Data Bits, 1 Stop Bit, No Parity Bit. Typing V<enter> into the terminal emulator should result in a response of 1.3. If U can't make a connection into your UNO from the terminal emulator, then something very strange is going on, eg incorrect COM port, another program has the COM port opened already.

73

Peter - GM8JCF


 

I cannot connect with the device.? Looking at the device manager, the only com device listed is the Arduino.


 

Hi Reed

After uploading using XLoader, make sure to close XLoader, then launch Tera Term/Putty, ie only one program can have a COM port open at a time.

73

Peter - GM8JCF


 

I just tried a fresh boot of the system.? I cannot open a terminal window much less talk with the board

I am at a loss here

Reed


 

Hi Reed

You need to install Tera Term or Putty, Windows doesn't come with a plain old terminal emulator these days unfortunately.

Using the Device Manager

you should be able to see a USB-SERIAL port - see mine above COM7 - when you connect your Mega to your PC with a USB cable, you have to be able to get this part working before proceeding further - How did XLoader work if the COM port wasn't visible

73

Peter - GM8JCf


 

Hi Reed

I zoomed up the screenshot, and I can see that XLoader is unable to connect

73

Peter - GM8JCF


 

I downloaded PuTTY as the terminal emulator.? I can see the Arduino as Com7.? When I run Xloader alone, seems to work and ends saying "29772 bytes uploaded"


 

That's great news.

Now when you connect with just PUTTY you should be able to issue the v<crlf> command and get back 1.3<crlf>


 

The PuTTY window opens with no effect.? Im going to load a blink program into the arduino just to make certain I am not chasing a failed board


 

Hi Reed

If XLoader reported back succesful upload, then the bootloader in the Mega must be working correctly, and thus the Mega must be a working board.

When you connect to the Mega with Putty, nothing will be displayed in the Putty window until you type in v<crlf>, note that the line terminator is carriage returnCtrl+m line feed Ctrl+a, and there is no space between v and the carriage return character, so if you can't set the line terminator to CRLF, then you will need to type in vctlr+mctrl+a

There must be something very simply incorrect here.

Peter


 

Although the PuTTY window opens, the "V" does not display on the screen when I type.

I also am having trouble getting a simple Blink program to work on this board so I am begining to believe it is a dead board


 
Edited

Hi Reed

the "V" must be lower case "v". The protocol from the Host to the Arduino was designed for machine to machine communication, so there is no provision for things like backspace, skipping over white space, echo, case insensitivity and so on. If you want to see what you type, then you will need to configure PUTTY for local echo - btw I gave up on PUTTY years and years ago, and use Tera Term instead - more friendly imho.

Peter - GM8JCF