Post Created date
FatFs halting sometimes
Update: Apparently this is a known bug, described on the Errata section of the ATSAM4L datasheet (pg.1192).    The bug (as described on the datasheet) is:   In...
Tue. Apr 3, 2018 - 11:31 PM
Can't program fuses
Yes, I thought about that too. But it did seem to me more like a bug. And I even got scared when I searched online and saw a post saying that the AVRISP mkII can't program...
Sat. Mar 17, 2018 - 04:52 PM
Can't program fuses
Well, erasing the device before setting the fuses did solve the problem. I truly didn't know that, specially since the fuses were set to FF / FF / FE / FF, and I was bring bits to...
Sat. Mar 17, 2018 - 01:18 AM
kabasan wrote: When using EEPROM, please also enable BOD.   Kabasan,   That was exactly it! I enabled the BOD to continuous mode @ 3.0V and the problem disappeared!...
Sat. Mar 17, 2018 - 01:11 AM
Well, in my case, rewritting of the EEPROM is not being done at anytime, so I don't think its getting corrupted because of a Vcc below the minimum for NVM rewrite. The EEPROM has...
Fri. Mar 16, 2018 - 02:44 AM
kabasan wrote: When using EEPROM, please also enable BOD.   This actually explains a lot. The problem is triggered by power on/power off, and brown-out detection was...
Fri. Mar 16, 2018 - 01:18 AM
Well, the only relevant piece of code in this case is the one that maps the EEPROM into the SRAM:   ; Map EEPROM memory into SRAM address 0x1000-0x17FF for read (Pg.25)...
Thu. Mar 15, 2018 - 10:15 PM
I/O's supplied by LCDA have no power
UPDATE: Problem is solved. I'll leave the solution here for the record: The ATSAM4L datasheet says on page 47: "When LCD feature is not used, VLCDIN must be always powered (1.8-3....
Fri. Dec 8, 2017 - 12:55 AM
32MHz external oscillator
I did search on both the manual and the datasheet. But the one I have looks different from those images you posted. Maybe its an older version. But anyways, thanks for the info. I...
Thu. Aug 31, 2017 - 01:51 AM
32MHz external oscillator
By the way, I'm still not finding anything like that on the ATXMEGA256D3 datasheet nor the manual. I looked all over the System Clock and Clock options section and did several...
Thu. Aug 31, 2017 - 12:12 AM
32MHz external oscillator
*blush*   So, we can indeed do it. That's good. Thanks for the info.
Thu. Aug 31, 2017 - 12:05 AM
Porting ATSAM4LC4 code into ATSAM4LC2
Ops sorry :) I'm kind of a forum noob
Thu. Jul 13, 2017 - 06:33 AM