ghent360 / RTD-2660-Programmer

Realtek RTD2660/2662 programmer
BSD 3-Clause "New" or "Revised" License
101 stars 40 forks source link

port for arduino #3

Closed ladyada closed 5 years ago

ladyada commented 8 years ago

hiya, i did a port for arduino - i had been using the $75 standalone programmers (they can store the BIN in a flash chip for untethered programming but requires win XP). using an arduino compat+SD card is way superior!

https://github.com/adafruit/Adafruit_RTD266X_I2CFlasher

works great, and am compiling some custom RTD firmware, with success so far. thanks for the i2c code :) life is :100:

ghent360 commented 8 years ago

Cool, now if we can master an open source firmware for the rtd2660, that would be great.

On Aug 14, 2016 8:35 PM, "ladyada" notifications@github.com wrote:

hiya, i did a port for arduino - i had been using the $75 standalone programmers (they can store the BIN in a flash chip for untethered programming but requires win XP). using an arduino compat+SD card is way superior!

https://github.com/adafruit/Adafruit_RTD266X_I2CFlasher

works great, and am compiling some custom RTD firmware, with success so far. thanks for the i2c code :) life is 💯

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ghent360/RTD-2660-Programmer/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AHxY1lHP-OHTuJM2zoPX_3uR_aknkbdYks5qf96DgaJpZM4JkFs3 .

ladyada commented 8 years ago

ahhh - im not sure i want to rewrite the RTD code - maybe better to just release diff's from the "RTD2660_AV1_AV2_081015" package? the base works, that way we just tweak it as needed?

ghent360 commented 8 years ago

It can probably be compiled in a way that the LCD timing table can be located in the binary and have a tool that patches the timings in the compiled code.

What RDT2660 board are u using?

On Sun, Aug 14, 2016 at 9:16 PM, ladyada notifications@github.com wrote:

ahhh - im not sure i want to rewrite the RTD code - maybe better to just release diff's from the "RTD2660_AV1_AV2_081015" package?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ghent360/RTD-2660-Programmer/issues/3#issuecomment-239726605, or mute the thread https://github.com/notifications/unsubscribe-auth/AHxY1lyaCT4hZCEyq8re1oA6YSP_bR2fks5qf-gNgaJpZM4JkFs3 .

ladyada commented 8 years ago

handmade board, but its electrically similar to PCB800116 (HDMI -> TTL w/RTD2662) so far just got basic compiling + managed to invert Hsync and Vsync. pretty much just aiming to get 480x800 out (not 800x480). currently using https://github.com/avtehnik/RTD2662 as a base. binary patching of Panel2's data will probably be fairly easy once that is working!

eventually would like to pair with SSD2828 for DSI/MIPI - most small MIPI displays are portrait

ghent360 commented 8 years ago

Are you planning to rotate the input? I don't think the rtd2660 it is capable.

On Aug 15, 2016 10:41 AM, "ladyada" notifications@github.com wrote:

handmade board, but its electrically similar to PCB800116 (HDMI -> TTL w/RTD2662) so far just got basic compiling + managed to invert Hsync and Vsync. pretty much just aiming to get 480x800 out (not 800x480). currently using https://github.com/avtehnik/RTD2662 as a base. binary patching of Panel2's data will probably be fairly easy once that is working!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ghent360/RTD-2660-Programmer/issues/3#issuecomment-239871669, or mute the thread https://github.com/notifications/unsubscribe-auth/AHxY1o9txZi0VfHgEezCvuDegVw305aeks5qgKSsgaJpZM4JkFs3 .

ladyada commented 8 years ago

yah i dont think its possible to rotate but that's easy to do in the OS - at least Win & Linux can switch a monitor from portrait to landscape so you'd have to do that as well. not ideal but not a lot of other options!

ghent360 commented 8 years ago

I looked at a few MIPI displays and most of them can do hardware 90 deg rotation. Thanks for the SSD2828 tip. I was looking for a chip like that for quite some time.

ladyada commented 8 years ago

cool - i haven't seen that yet but maybe i'm not looking in the right place. is the rotation pin-strapped or is there a DSI command? i know there's video & cmd mode but have not done any actual work with MIPI yet

ghent360 commented 8 years ago

It's a DSi command.

On Sep 13, 2016 8:29 AM, "ladyada" notifications@github.com wrote:

cool - i haven't seen that yet but maybe i'm not looking in the right place. is the rotation pin-strapped or is there a DSI command? i know there's video & cmd mode but have not done any actual work with MIPI yet

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ghent360/RTD-2660-Programmer/issues/3#issuecomment-246720716, or mute the thread https://github.com/notifications/unsubscribe-auth/AHxY1uXoL_Al6S2Aj3cdZ14IUEDBpFveks5qpsFngaJpZM4JkFs3 .

goudon007 commented 6 years ago

Hi guys, Like you idea about connecting this RGB interface with a MIPI interface. I have already implemented some part of this. MY mipi interface is already working. But, RTD2660 some have is not giving me the right Pclk, even though I managaed to edit the EDID information in the eprom, which is used to program the RTD2660. I mean, the datasheet for RTD2660 has a whole lot of info on programming it, but its so breifly written and not elaborative to edit. Can somebody help me ?