Every few days, my LXR acts weird after start-up. These are some the symptoms:
- sometimes the screen shows two complete rows of full blocks, sometimes crazy characters
- play-button does not react, or only when pressed a few times
- mode select does not work properly
Simply, the machine is not usable in this state. After firmware re-flashing, the LXR acts "normally".
I am running 0.24a with a small custom sample set (< 480 kb).
Comments
Probably, I will "downgrade" to the non-user-sample version and see what happens.
This what a first boot brought up! - See picture.
Re-flashing does not remedy the problem.
Trying to update to 0.24a now tells me "header error". Repeated several times with two different SD cards. No difference.
So it seems the firmware image on the SD card is corrupted.
the image should be around 240kb and if you open it with a text editor the first 4 letters should read "SPFI"
is it only the front panel that is acting strange after a few days? or is the sound engine acting strangely, too?
So when the problem occurs, is there still something playing if you manage to press the start button?
I re-copied the 0.24a (non user sample) file to SD, still it showed the same size and could be opened with a text editor. Then I was able to update the LXR.
However this is the result after boot of the "success!"-message. See pic. It does not respond to any button pressing at all.
At the moment, I am not able to answer your other question since I cannot remember precisely and my LXR is currently not operatable - so that I could check again.
Forgive my ignorance, here is the complete story of this mess-up:
- built my own "LXR 1"
- took a brand-new Sandisk SD card for installation of 0.24a, did not format it, did not check file system
- "LXR 1" was running
- built a second "LXR 2" for my friend
- donated him my SD card, also installed 0.24a on his machine
- "LXR 2" was running
- used another brand-new SD card with own "LXR 1", same type and probably same batch, did not format it, did not check the file system
- installed 0.24a with user samples --> strange behavior occured, had to re-flash the firmware after a few days to keep the machine alive (this has to be validated again!)
- downgraded by copying the original sd card image to SD card and installed firmware 0.21
- "LXR 1" runs 0.21
- tried to re-install 0.24a (with or without sample user set), delivered messed up screen - see my former comments
Summary
As it looks - my fault: The SD card file system was FAT, instead of required FAT 32.
Questions that remain:
1) Why did the FAT SD card and installation work the first few times with 0.24a and 0.24a (user samples) on my "LXR1"?
2) Why did it not work later on?
3) Why did installing 0.21 (SD card image) always work with FAT?
4) Why did the FAT card work to install the firmware 0.24a (user sample) on my friend's "LXR 2"?
By the way, I am a Linux newbie and used Linux to copy the firmware to the SD card. In the last successful trial, I used XP to format the SD card to FAT 32 and also copied the files under XP.
firmware 0.24a
as TSR I'm using a set of samples with this firmware
thx
This Problem could be due to the brownout detector on the AVR not being enabled. I had the same Problem with two of my own AVR projects, that used a bootloader and didn't have the BOD enabled. Enabling the BOD solved the problem.
Sadly, this can not be done using the bootloader, but it is possible using an ISP adapter, like for example the USBASP. They can be ordered on ebay for 3 Euros from China.
If so, i shall buy one. My LXR is also having issues, similar to above.
I must admit I never build and usedan AVR projectwith a bootloader before :-.
The pictured USBASP works great (just a little bit slow)
I got one from here
https://guloshop.de/shop/Mikrocontroller-Programmierung/guloprog-der-Programmer-von-guloshop-de::70.html
but they can also be found from china on ebay and amazon.
never had any problems with the various prototype and finished units here though!
Most of the time i just plug the PSU jackin and outonmy units.
It never occured to me that the bootloader could be affected by a brownout.
I alwaysthought this ismoreintended for control applications, where a faulty controller uC command could cause hardware damage (think switching PSU,robot...)
If anyone of you that has theproblem triesout the alternative fuse settings, please report bak if it solved the issues. It is always hard to say something about a bug that won't happen onmy units :-/