<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Работа с SD картой. Библиотека Petit FatFs. Ч2</title>
		<description>Discuss Работа с SD картой. Библиотека Petit FatFs. Ч2</description>
		<link>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html</link>
		<lastBuildDate>Fri, 17 Apr 2026 10:20:28 +0000</lastBuildDate>
		<generator>JComments</generator>
		<atom:link href="https://chipenable.ru/index.php/component/jcomments/feed/com_k2/211.html" rel="self" type="application/rss+xml" />
		<item>
			<title>Stas says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4835</link>
			<description><![CDATA[Как получить список файлов и папок в корне диска ???]]></description>
			<dc:creator>Stas</dc:creator>
			<pubDate>Fri, 03 Jun 2016 11:40:27 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4835</guid>
		</item>
		<item>
			<title>павел1996 says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4569</link>
			<description><![CDATA[У меня при попытке открыть файл test.txt (rfopen())выска кивает ошибка FR_DISK_ERR . карта памяти меньше 2 гб. Если я инициализирую FATFS переменную без модификатора static то пишет что не смонтирован]]></description>
			<dc:creator>павел1996</dc:creator>
			<pubDate>Tue, 18 Aug 2015 08:41:02 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4569</guid>
		</item>
		<item>
			<title>wadim_chip says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4464</link>
			<description><![CDATA[ причем на SPI микроконтроллер а нет никаких сигналов]]></description>
			<dc:creator>wadim_chip</dc:creator>
			<pubDate>Sat, 07 Mar 2015 13:33:03 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4464</guid>
		</item>
		<item>
			<title>wadim_chip says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4463</link>
			<description><![CDATA[Такая же проблема c disk_writep... Компилятор: Atmel Studio 6.2 Камень: mega328p В чем может быть дело?]]></description>
			<dc:creator>wadim_chip</dc:creator>
			<pubDate>Sat, 07 Mar 2015 13:30:41 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4463</guid>
		</item>
		<item>
			<title>sann says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4417</link>
			<description><![CDATA[Пробую Petit fat на меге16 не компилируется выбивает ошибку Error: diskio.c(47): declaration 'enum DRESULT' is incompatible with the previous one: 'flash enum DRESULT' from file: 'diskio.h', line: 33 и выделяет DRESULT disk_writep { кто работал с pff мож подскажете что делать?]]></description>
			<dc:creator>sann</dc:creator>
			<pubDate>Sun, 08 Feb 2015 15:31:09 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4417</guid>
		</item>
		<item>
			<title>ДмитрийВ says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4302</link>
			<description><![CDATA[В статье описана функция "FRESULT pf_write(const void* buff, WORD btw, WORD* bw" , это похоже на ее поведение! Лично я делаю так : сначала запись в ОЗУ ( там у меня буфер, равный по размеру сектору во флешке, 512 байт) а после его заполнения запись в саму флеш...]]></description>
			<dc:creator>ДмитрийВ</dc:creator>
			<pubDate>Fri, 26 Sep 2014 07:50:01 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4302</guid>
		</item>
		<item>
			<title>Dim says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4297</link>
			<description><![CDATA[Впринципе проблему я понял, но не понял почему так происходит: делал я так - смонтировать образ, потом открыть txt, записать в него строку, потом демонтировать образ, далее снова монтировать, открыть файл, сместить указатель на количество байт и записать новую строку. При это второе обращение к txt затирало первую запись в блокноте второй записью. При этом если делать много записей при только одном обращении к блокноту, то все корректно, но не совсем удобно, если записи изредка появляются]]></description>
			<dc:creator>Dim</dc:creator>
			<pubDate>Mon, 22 Sep 2014 14:27:51 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4297</guid>
		</item>
		<item>
			<title>ДмитрийВ says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4294</link>
			<description><![CDATA[Очень просто, нужно в конце каждой строки добавить "0D0A" и следующий символ будет с новой строки... Например код "31 31 0D 0A 32 32 0D 0A" откроется в блокноте как: 11 22]]></description>
			<dc:creator>ДмитрийВ</dc:creator>
			<pubDate>Mon, 22 Sep 2014 11:31:36 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4294</guid>
		</item>
		<item>
			<title>Dim says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4293</link>
			<description><![CDATA[а как записывать в txt правильно? конкретно не понятно как сделать много строк - постоянно записывает разную информацию только в первую строку, дальше не идет]]></description>
			<dc:creator>Dim</dc:creator>
			<pubDate>Sun, 21 Sep 2014 11:30:59 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4293</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4006</link>
			<description><![CDATA[Хорошо, добавлю.]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Sat, 26 Apr 2014 19:29:58 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4006</guid>
		</item>
		<item>
			<title>Rus_Partizan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4004</link>
			<description><![CDATA[Спасибо, всё работает. Долго тупил насчёт пункта 3, наверно нужно было всё же дополнить немного: "3. Задаем конфигурацию библиотеки Petit FatFs в файле pff.h" Находим строчки, выставляем 1 напротив нужных функций (чтение, директории, указатель, запись) #define	_USE_RE AD	1 #define	_USE_DI R	1 #define	_USE_LS EEK	1 #define	_USE_WR ITE	1]]></description>
			<dc:creator>Rus_Partizan</dc:creator>
			<pubDate>Sat, 26 Apr 2014 18:58:33 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4004</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4001</link>
			<description><![CDATA[У автора библиотеки на сайте написано: "Very small RAM consumption (44 bytes work area + certain stack).Very small code size (2K-4K bytes)." Atmega8 тянет, на меньших не пробовал. Автор библиотеки вроде запускал ее и на attiny. В статье про воспроизведение wav файла я писал, сколько занимает времени занимает чтение SD карты - единицы миллисекунд. Остальные времена не анализировал.]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Sat, 26 Apr 2014 17:29:59 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-4001</guid>
		</item>
		<item>
			<title>Kodex says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-3997</link>
			<description><![CDATA[Такой вопрос, сколько эта библиотека ресурсов отжирает? Особенно интересно про RAM, ну еще сколько flash и сколько времени процессорного.]]></description>
			<dc:creator>Kodex</dc:creator>
			<pubDate>Sat, 26 Apr 2014 14:26:08 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-3997</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-3863</link>
			<description><![CDATA[Нет. Не сопоставимы. Написать код с нуля будет на порядок сложнее. Для изучения Petit FatFs достаточно двух статей, которое я написал.]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Mon, 17 Mar 2014 20:48:56 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-3863</guid>
		</item>
		<item>
			<title>pyrodoctor says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-3856</link>
			<description><![CDATA[Эх, кто бы написал статью по работе с sd без этой библиотеки! Статей про fatfs в сети полно, но затраты времени на изучение этой библиотеки, я подозреваю, сопоставимы с написанием кода с нуля.]]></description>
			<dc:creator>pyrodoctor</dc:creator>
			<pubDate>Mon, 10 Mar 2014 05:36:35 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-3856</guid>
		</item>
		<item>
			<title>skullhead says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-3841</link>
			<description><![CDATA[Ура,продолжение !)Спасибо за статью!]]></description>
			<dc:creator>skullhead</dc:creator>
			<pubDate>Wed, 26 Feb 2014 20:14:40 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-3841</guid>
		</item>
		<item>
			<title>dim says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-3840</link>
			<description><![CDATA[Красота!]]></description>
			<dc:creator>dim</dc:creator>
			<pubDate>Wed, 26 Feb 2014 13:03:08 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/211-rabota-s-sd-kartoy-biblioteka-petit-fatfs-ch2.html#comment-3840</guid>
		</item>
	</channel>
</rss>
