Coollvse OLED issue

er9x is the best known firmware. It has a superb range of features and is well supported by the community. Well worth trying out.
User avatar
MikeB
9x Developer
Posts: 15613
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Coollvse OLED issue

Post by MikeB » Sun Jul 01, 2018 5:30 pm

OK, the fuses are a problem. The low fuse is set to use the internal RC oscillator at 8 MHz. The firmware expects an external crystal at 16 MHz, so the serial baudrate to the Multi module will be wrong.
Looking at the pictures of the board on RCG, it looks like there is a crystal on it. Check carefully if there is a crystal (Y1?) connected to pins 23 and 24 of the processor. If there is, then you should be able to change the fuses to the correct [email protected]
High: 0xC1
Low: 0x0E
Ext: 0xFF
eepe includes an option to set the fuses "Set fuses to protect EEPROM".
NOTE: If there is NO crystal on pins 23 and 24, then this operation will brick the processor.

Before you set the fuses, you could try configuring a timer and see if it only counts 1 second every 2 seconds.

Mike
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

Doofer
Posts: 38
Joined: Tue Jan 26, 2016 6:05 pm
Country: United Kingdom
Location: Nottingham

Re: Coollvse OLED issue

Post by Doofer » Sun Jul 01, 2018 5:47 pm

Interesting, just tried flashing with that last .hex from MikeB again, and this time it didn't need -F. Completed without error.

But the screen is now dead...

User avatar
MikeB
9x Developer
Posts: 15613
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Coollvse OLED issue

Post by MikeB » Sun Jul 01, 2018 6:00 pm

Operating with the internal oscillator as the clock can cause flashing problems as the programming speed may be too fast for the slower clock.

Mike
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
jhsa
Posts: 17811
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Coollvse OLED issue

Post by jhsa » Sun Jul 01, 2018 6:51 pm

Please check if there is a crystal on the board as Mike suggested, and if so, what numbers it has on it?

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
jhsa
Posts: 17811
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Coollvse OLED issue

Post by jhsa » Sun Jul 01, 2018 6:55 pm

Mike, it looks like it has an XTAL
Actually, it looks more like a Resonator..

https://static.rcgroups.net/forums/atta ... 034763.jpg

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW


Doofer
Posts: 38
Joined: Tue Jan 26, 2016 6:05 pm
Country: United Kingdom
Location: Nottingham

Re: Coollvse OLED issue

Post by Doofer » Mon Jul 02, 2018 6:55 am

Y1 is in a metal can and only has two connections, to those pins. Set Fuses to protect eeprom ha brought the screen back, great! Can't download eeprom - it gives a chip ID error, or if I override, it says the data is corrupt.

User avatar
jhsa
Posts: 17811
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Coollvse OLED issue

Post by jhsa » Mon Jul 02, 2018 9:47 am

Are you using eepe to download the radio's eeprom?

Again, NEVER use the -F option again.. That was what messed the fuses. You are lucky you didn't brick the chip..

João

My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

Doofer
Posts: 38
Joined: Tue Jan 26, 2016 6:05 pm
Country: United Kingdom
Location: Nottingham

Re: Coollvse OLED issue

Post by Doofer » Mon Jul 02, 2018 11:28 am

Yes - although I think eePe is just launching avrdude, which says the chip ID is incorrect and exits (or with the -F flag downloads something eepe can't open - and irritatingly doesn't seem to save?). There's probably command-line string that will get avrdude to download & save it. But it's odd that it says the chip ID is incorrect.

User avatar
jhsa
Posts: 17811
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Coollvse OLED issue

Post by jhsa » Mon Jul 02, 2018 12:08 pm

what are your settings in eepe's "Burn menu? What programmer is yours? UsbAsp?
Again, do not use -F, you will end up bricking your radio if you do..
eeepe uses AVRdude, yes, but it is still the best application to flash your radio..

You should have something like on the picture attached to this post.

João
Attachments
Eepe_ m128_UsbAsp_Config.jpg
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

Doofer
Posts: 38
Joined: Tue Jan 26, 2016 6:05 pm
Country: United Kingdom
Location: Nottingham

Re: Coollvse OLED issue

Post by Doofer » Mon Jul 02, 2018 5:34 pm

Right, everyone hold their breath... it has all started working! I just re-flashed with MikeB's last offering for the umpteenth time, the module goes into 'fast flash' when I press 'bind' in MULTI, and I've even bound a FRSkyD and DSM2 receiver!

Many, many thanks for your enthusiastic and thoughtful input.

I am now confident that everything will work perfectly forever from now on :lol: ...

Doofer
Posts: 38
Joined: Tue Jan 26, 2016 6:05 pm
Country: United Kingdom
Location: Nottingham

Re: Coollvse OLED issue

Post by Doofer » Mon Jul 02, 2018 9:38 pm

Darn, thought it was all a bit too good to be true. Now it will download the eeprom without errors, but eepe then just sits there with the endless whirling blue doughnut of Windows 10, not displaying anything. I shall leave it to whirl overnight... perhaps it's thinking...

User avatar
jhsa
Posts: 17811
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Coollvse OLED issue

Post by jhsa » Mon Jul 02, 2018 11:15 pm

Let's see what Mike say about that.. I use windows 7 not 10.. and i don't want to :)

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

Doofer
Posts: 38
Joined: Tue Jan 26, 2016 6:05 pm
Country: United Kingdom
Location: Nottingham

Re: Coollvse OLED issue

Post by Doofer » Tue Jul 03, 2018 9:07 pm

Re-flash one more time, and now it all works AND I can download the eeprom - hoorah!
Many thanks again.

User avatar
jhsa
Posts: 17811
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Coollvse OLED issue

Post by jhsa » Tue Jul 03, 2018 9:18 pm

Congratulations :D :mrgreen:

Remember, no more -F :P

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

Doofer
Posts: 38
Joined: Tue Jan 26, 2016 6:05 pm
Country: United Kingdom
Location: Nottingham

Re: Coollvse OLED issue

Post by Doofer » Wed Jul 04, 2018 12:41 pm

Thanks. Yes, it was only the last .hex MikeB supplied that (initially) wouldn't update due to the chip ID being wrong (and recommending using -F to overcome this!). Odd how, after resetting the fuses, it didn't throw this error. Of course, I don't know what the fuses were initially.

User avatar
jhsa
Posts: 17811
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Coollvse OLED issue

Post by jhsa » Wed Jul 04, 2018 12:50 pm

Yep, they probably got messed up because of the -F option. or they did it wrong at the factory :)

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

Post Reply

Return to “er9x”