Post Created date
[TUT][SOFT] Recovering from a "locked out" AVR
I have probably programmed a few thousand new AVR's but I always drop my ISP speed to 125khz, program the crystal speed and other fuses, then go back to 2mhz ISP. Then...
Saturday, 17 May 2014 - 07:02
ISR and LCD updates
Yeh Dave you right, I am being dumb. I am oscillating another port in the ISR instead of just using the native OC pins. Thanks for the wake up. I am using a ks0108 lib for the...
Friday, 15 April 2011 - 08:19
Chan Fatfs
OK implemented as said. basically I do: l_open if the file size if > 0 do l_lseek then I use l_puts to append to the file and l_sync to commit the data. This runs every 3000...
Wednesday, 2 March 2011 - 05:30
Chan Fatfs
Thanks theusch. What I am doing is a energy monitor: phase angles: screen is still a bit debugy but you get the idea:) I am now working on logging the output now. Will need...
Friday, 25 February 2011 - 15:42
Chan Fatfs
Thanks for the help, it really helps when you are tackling something new especially when it's both hardware and software. I had tried f_lseek(...
Friday, 25 February 2011 - 15:13
Chan Fatfs
Yes I should have been clear, I want to append text to a file a log of my ADC readings. As I understand the example given, it moves to a specific pointer. That works no problem. I...
Friday, 25 February 2011 - 13:08
Chan Fatfs
Having got past this, the next thing is to write a simple text file. From Chan's doc, it says you can use f_open followed by f_lseek to move to the end of file. The doc has this:...
Friday, 25 February 2011 - 11:50
Chan Fatfs
OK to answer my own question, this works: Secondly SPI2X was enabled. The only pullup needed was on D0 You need to be carefull of connecting a oscilloscope on the 3.3v logic side...
Friday, 25 February 2011 - 07:53
Chan Fatfs
I wonder if you can offer me some advice. I am also getting disk_err when accessing the SD using Chan's fatfs. I am using a Atmega128 running at 16mhz. VCC for the MCU is +5v so I...
Thursday, 24 February 2011 - 15:10
Atmega 128 firmware corrupt
OK BODEN enabled (it wasn't for some reason!!) CKOPT was enabled. Will put it back in the field and see what happens. Thanks.
Monday, 15 March 2010 - 06:51
Atmega 128 firmware corrupt
Thanks for the reply John. I am aware that Atmega's are prone to EEPROM corruption without BOD. Is the same true of flash?
Monday, 15 March 2010 - 06:11
ATMEGA32 faulty?
The board is the one found here: http://www.futurlec.com/ATMegaCo... This board must be at least 6 years old and strangely enough the ISP is the only header not in the...
Monday, 23 February 2009 - 06:41

Pages