Digole
Digital Solutions
iDigole Buyer ProtectioniDigole Buyer
Protection
My shopping cart
0 Items:
Secure Checkout
Top Rated Plus
Visit Our Live Auctions
99.9% Customer's Satisfaction
 
Forum : Digole Serial Display :

 Search Forum.. 
 Creat New Topic   Reply 

Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 Many of the pictures are broken converted.

Example source

Output

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 Strange, is now all the images when converting to 262K converted broken picture.

When converting to 256 colors very well.

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 We will check that soon

The problem solved by "khseal" is:

"The problem was in the long wire and initialization UART port.
Now everything is running at 115200 without any errors."

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 What is the master controller do you use? does it have enough memory space to store the picture data and then send it to the display module?

The picture data for 262K color and 160x128 size needs 61440 bytes. if your master controller hasn't enough memory space to store it, some of the data send to display module will be garbage.

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 I think, I have a problem with the firmware. Images are converted before normal, is now broken.

Plus, something happened to the standard fonts.

This fonts 6,10,18. Font 10 does not operate. It is standart font.

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 Master controllel a processor Atheros AR9331

Picture before the problems.

 

Image after the appearance of a problem.
Bugs love me =(
 
 

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 It seems the picture width that you send to the module is wrong, please double check it, the width you told the module must be same as the picture you converted to.

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

The width and height are not changed. They have the same images.

Here are the data that are sent
https://dl.dropboxusercontent.com/u/30741962/test.sh

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 The problem's picture seems that shift to right after each line, the width send to the module is less thant the real picture data.

Please try a small picture as test

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 I tried to reduce the image. The problem is on the small picture.

Plus fonts have become not work correctly.

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 Can you post the small picture program like above?

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 Here https://dl.dropboxusercontent.com/u/30741962/test%20%282%29.sh

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 We will check it later

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 

 What news?

 I think the problem in the firmware. I can recover it?

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 The firmware unable to be recovered, please give us couple of days to figure out how that could happen on the module.

Thanks,

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

Maybe I did not full upload pictures  and turn the display off or was incorrectly specified image size. I thought firmware the display with high reliability.
 
I have a programming device. But you do not seem to give a firmware update and recovery the display.  This is very bad.

 

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 My problem is very similar to the one described here http://digole.com/forum.php?topicID=51 , but I have not found an answer to it. But I also have a problem with the standard 10 font.

 

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 We are tring to make one module with the problem as you said, but still in good condition, by the way, can you try other communication mode, Like I2C or SPI?

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 Also, please try to reduce the communication cable as much as you can, if the communication wires are too long, interference will be introduced, we saw data losting on I2C module if wire >20cm.

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 I can not try to I2C or SPI = (

I have an Arduino pro micro. I try to connect the display to him and run the demo.

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 If the baud rates are not matched on master controller and display module, it will cause the similar problem as you described too, the baud rate always be 9600bps after power recycled on the display module.

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 I tried to change the speed uart. This does not solve the problem.

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 Also, just want to remind you: if you using high speed on UART, you better put some delay after transmitting the data of each line, otherwise, you may drive the receiving buffer in the display module overflowed.

So try to test the problem at lower speed first, then upgrade to high speed.

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 Does it work at 256 color mode? or 65k color mode?

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 I tried to use the speed of 9600. Nothing unchanged. Works 256 color mode. You can send a test picture for 65K color mode? You converter does not work with 65K colors.

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 We will upgrade the converter for 65K color soon.

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 Picture converter upgraded, you can covert picture to 65K color now.
PS: sorry, we didn't have time to full test 65K color till now, so, if there were any issue, please let us know.

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

Ok I'll check the converter. 

I'm confused. I compiled a demo for the Arduino. Connected by SPI. Everything works without problems.

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 Check the uart rate and protocol: the module start at: 9600 8N1, otherwise, there should be interference injected to the circuit.

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 Ok, I will check the UART on the computer. 65k color works but it with small artifacts.

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 Sorry for your time spent.

The problem was in the long wire and initialization UART port.
Now everything is running at 115200 without any errors.
I'm liitle stupid =(

RE:Bug in PicturetoC_Hex_converter.php (Convert to 262K)

 That's what we thought about also, good to hear that the problem solved

Copyright Digole Digital Solutions, 2008-2017. All rights reserved.
Powered by Victor Sun