kbr-net / sdrive-max

Arduino based Atari 8-bit Floppy Emulator with Touchscreen
http://www.kbrnet.de/projekte/sdrive-max/index.html
GNU General Public License v3.0
92 stars 23 forks source link

ILI9325 - touch screen and SD card reading not working #49

Closed jopl closed 3 years ago

jopl commented 3 years ago

Hello SDrive Max enthusiastics, I just downloaded and program ATMega328P with Corona release of SDrive Max with LCD ILI9325. Touch screen during EEPROM writing is detected ... "Detecting touchscreen... Values 26, 35 XP: A2, XM: 0, YP: 1, YM: A3", but after SDrive.hex is uploaded, touchscreen is not working and SD card is not working as well ... SD card not inserted -> "Error init SD: 1" SD card inserted -> "READY" but SDRIVE.ATR not found (despite file is in the root :-o) Any idea why it is not working at all, please? regards, JoPl

jopl commented 3 years ago

Friends, I found out my issue, I am sorry for confusing ... as I used AVR Studio 4 for ATmega programming, EEPROM content was erased before uploading firmware due to erase option checked, but it is the need. And solution is to reprogram EEPROM in the end, i.e. I had to program "eeprom_writer.hex" first (with erase option checked), save EEPROM content after that, program "SDrive.hex" (again with erase option checked) and program EEPROM content saved before (with erase option unchecked). After this procedure, everything going smoothly. Regards, JoPl.