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

Problem after flash. #37

Closed pasmoi87 closed 4 years ago

pasmoi87 commented 4 years ago

Hi, First flash with atmega328-ili9329i my screen is miroring, touch screen is working. So i test atmega328-ili9340, my screen is now in good meaning, touch screen initialization working but after this touch screen not working. I test atmega328-ili9341, the screen is in good meaning, but touch screen initialization not working. An idea of the problem ? Thanks.

kbr-net commented 4 years ago

Please test the new firmware with touchscreen autodetection: https://github.com/kbr-net/sdrive-max/releases/download/v12c1/sdrive-max-v12c1.zip

pasmoi87 commented 4 years ago

Hi, Thanks, but not working for me. The only one that work is the atmega328-ili9329i : touch screen OK after initialization, but screen is mirroring. With all others touch screen does'nt work. A atmega328-ili9340i for me ??? or a atmega328-ili9329ii ??? It is a little joke if I weel understand what is the 'i', because it doesn't make sense to me, reverse the reverse.

pasmoi87 commented 4 years ago

atmega328-ili9329i or atmega328-ili9329, screens are the same, inverted.

kbr-net commented 4 years ago

Then test the v12c2, and show me the output screen of eeprom_writer.hex.

pasmoi87 commented 4 years ago

20200130_184742 20200130_185006

pasmoi87 commented 4 years ago

Can't initialyse touch screen.

kbr-net commented 4 years ago

Hm, this looks like touchscreen is always pressed, A1(PINC1) has connection to PINB0 and PINB1. Are you sure, not have touched the screen while detection in progress?

pasmoi87 commented 4 years ago

Not touch the screen. test

pasmoi87 commented 4 years ago

With ili9329i, all is fine (it works, i can push cfg, exit etc...) but screen is inverted.

kbr-net commented 4 years ago

Thank you for debugging, i think i found the problem, please give me some time to fix this...

pasmoi87 commented 4 years ago

No problem. Thank to you, It's you who are making all the work. Take your time.

kbr-net commented 4 years ago

Nope, that was it not..., could you please run this eeprom_writer.hex with debug, and show me the output? eeprom_writer.hex.gz

iCityWork commented 4 years ago

Are you sure your TTF is working correctly? Has it been tested with anything else? I know I have had a few that have been defective and didn't work correctly. Just a thought...

pasmoi87 commented 4 years ago

20200131_164459

pasmoi87 commented 4 years ago

No, just buy for this.

kbr-net commented 4 years ago

Thanks, but something in your list may be wrong, i gave you the version for ili9340, and this is inverted now, so i think you need ili9341!

pasmoi87 commented 4 years ago

20200131_204338 For me this is that, inverted screen. touch is in the good place.

kbr-net commented 4 years ago

This is not inverted, this is mirrored! So you need ili9329.

kbr-net commented 4 years ago

Please try this one: eeprom_writer.hex.gz

pasmoi87 commented 4 years ago

this with 1.2c2 is nice. thank. (all 1.0 and 1.1 don't work with this) I can navigate in cfg, select or deselect item save and go out. Now the problem is when I insert the microsd card, touch screen doesn't work anymore. My microsd is in FAT, with sdrive.atr in root. D0: with a punct. (without punct if no card so card is well detected) After reset with card same thing, touch screen doesn't work.

pasmoi87 commented 4 years ago

IT'S OK, microsd in FAT32 work fine.

kbr-net commented 4 years ago

Please try the even released v12c3, then we can close this issue.

pasmoi87 commented 4 years ago

My microsd is the problem. Thank you for your work. You develop a SDrive for CPC but Gotek already existe and now a lot of user have this, it is not possible to do an addon like this 2,8'' screen and touch screen with a nano arduino to navigate and select a file on the usb key ? Or this https://www.youtube.com/watch?v=qLoFTItIIGo, it was develeped for Amiga Cortex firmware, this firmware is obsolete, but it will be interresting on Flashfloppy or HxC firmware, only an ESP8266, no new of the developer since 3 years.

kbr-net commented 4 years ago

The SDrive4CPC is a completely other concept, only the SD card is attached to the parallel port, and all other things have be done in software, so it is not possible to select images by hardware...

pasmoi87 commented 4 years ago

Ok, ili9340 1.2c3 work fine.