Anyone know how to overcome the EEPROM.put (CW_KEY_TYPE_temp_key) error that keeps coming up in my ubitxv6 compile? -- Bob NZ2Z
|
It would help us figure it out if you pasted the error here, too, and detailed the IDE number, your Op System, and if you copied all of the files into the same directory.
Jack, W8TEE
On Thursday, January 9, 2020, 9:57:34 PM EST, Bob Bennett via Groups.Io <bobsmacbox@...> wrote:
Anyone know how to overcome the EEPROM.put (CW_KEY_TYPE_temp_key) error that keeps coming up in my ubitxv6 compile? -- Bob NZ2Z
-- Jack, W8TEE
|
In addition to what Jack said (OS, Arduino IDE version, and actual error output), the version of the code you're trying to compile and where you got it from may be helpful too.
Reed
|
In addition, for the Arduino IDE via the GUI, under File-> Preferences ? ? set to verbose by Clicking "compilation" box for "Show verbose output during" ? ? set "Compiler Warnings" to pull down "ALL". This will provide us with more, possibly useful details.
Also make sure you have the "Arduino Nano" board selected under? Tools-> Board: ? ?(I sometimes forget at first to change this between projects) and be aware that the "Processor" needs to be? ATmega328P (Old Bootloader) with the more recent versions of the IDE
Rgds, Gary
|
"...be aware that the "Processor" needs to be? ATmega328P (Old Bootloader) with the more recent versions of the IDE"
That's not always the case. It's most likely to occur with clones. You should try to compile with the default setting first. If it seems to lock when it's uploading the sketch to the microcontroller, then change to the "Old Bootloader" option. If that's the case, you will likely also need to make sure you've installed the CH340 device driver. Just search for "CH340 driver download" and run the program to install the driver.
Jack, W8TEE
On Friday, January 10, 2020, 8:43:55 AM EST, Gary Anderson <gary.ag5tx@...> wrote:
In addition, for the Arduino IDE via the GUI, under File-> Preferences ? ? set to verbose by Clicking "compilation" box for "Show verbose output during" ? ? set "Compiler Warnings" to pull down "ALL". This will provide us with more, possibly useful details.
Also make sure you have the "Arduino Nano" board selected under? Tools-> Board: ? ?(I sometimes forget at first to change this between projects) and be aware that the "Processor" needs to be? ATmega328P (Old Bootloader) with the more recent versions of the IDE
Rgds, Gary
-- Jack, W8TEE
|
hi, im getting compile errors on stock V6 code. Im using win10 and arduino ide 1.8.10 . Its set for the nano and old bootloader as this uploads to the origional nano. compile Errors.txt file is attached to show the errors. I dont get any errors on compiling the stock V5 code but i do get errors on the V6 code. Anyone any ideas? Have i got a setting wrong? do i need an earlier version of the ide? Any help is appreciated.
Thanks and 73
MM0BEF____Brian
|
Hi Brian,
Change your processor type to 'Old boot loader' that should let it compile.
Joel N6ALT
|
Brian,
It looks like those are warnings, not errors. There are binary starts at the end of that output. Are you unable to upload that code to the nano?
Reed
|
Thanks Joel. I already have the old bootloader selected.
Thanks Reed. I was getting errors as well as warnings but i uninstalled the ide and deleted all directories and folders relating to it and reinstalled. When i uploaded the firmware on previous code with errors screen would not work. I have not tried to upload the new compiled code (with warnings) to the nano as its a V5 i have and ill need to swap the lcd back to the v6 tft and jumper the pins again. Ill try later when i get a chance and get back to you. Thanks to both of you for replying so fast. Reed i will be using your speed increase code as soon as i get the origional v6 firmware working on the v5. Nice work.
Thanks
MM0BEF_____Brian
|
Hi, Just uploaded and still white screen. Ill try compile Reed's code and try that.
MM0BEF_____Brian
|
These are the warnings\errors i get with Reeds pdq code. just about to upload and try it.
MM0BEF_____Brian
|
still doesnt work, uploaded Reeds pre-compiled hex and that just gives white screen too. May be to high a voltage to data lines ill run the pins through a 1k resistor to see if that helps.
MM0BEF_____Brian
|
You might also try removing the nano from the radio entirely, then upload. If that programs successfully, but doesn't seem to work in the system, you'll probably want to start buzzing out connections.
Reed
|
Its driving me nuts. Connections all ok and wired as should be. still nothing on screen. Flashing v5 code back in till i can think of something else.
MM0BEF_____Brian
|
have been flashing nano seperately each time still no joy
MM0BEF_____Brian
|
I don't see any errors...only warnings.
Jack, W8TEE
On Friday, January 10, 2020, 7:23:13 PM EST, mm0bef@... <mm0bef@...> wrote:
These are the warnings\errors i get with Reeds pdq code. just about to upload and try it.
MM0BEF_____Brian
-- Jack, W8TEE
|
If it compiles but doesn't upload using the Old Bootloader, did you install the CH340 driver? If not, search for "CH340 Device Driver Download" and install the driver.
Jack, W8TEE
On Friday, January 10, 2020, 6:00:41 PM EST, Reed N <greenkid336600+groupsio@...> wrote:
Brian,
It looks like those are warnings, not errors. There are binary starts at the end of that output. Are you unable to upload that code to the nano?
Reed
-- Jack, W8TEE
|
Yep. That's why I think it's a connection issue of some kind. Brian, did you make sure that the panel you got uses the same ILI9341 chip for driving the screen? Is your screen's reset line pulled high?
Reed
|
Thanks Jack, it uploads using the old bootloader the ch340 driver is installed..
Yes Reed, Its connection issue. I will need to increase the resistor values on the lines. Just me being stupid and driving it with too high a voltage. Will drop in six 4k7 resistors and six 10k resistors. hopefully that should fix it.
Thanks for all your help.
MM0BEF_____Brian
|
Jack, Raspberry Pi 4 Arduino 2.1.0.5+dfsg2-4.1 All of the files are in /home/pi/ubitx6 (these are what I downloaded from Farhan on github) Attached is the file from this attempt
I will send the compile error from my Mac next -- Bob NZ2Z
|