4D SYSTEMS FORUM

Register New Posts
 
 
 


Reply
 
Author Comment
 
mba

Registered: 09/10/08
Posts: 2
Reply with quote #1 
I have the above display and I want to use a serial command interface, using an external micro processor. (not 4DGL)

Is that possible? I cannot find any pmmc file in the download section for that purpose ...

thank you in advance!


__________________
MBA
smcmanus

Avatar / Picture

Registered: 19/03/07
Posts: 500
Reply with quote #2 
4D Systems will be releasing a Serial Emulator (as a 4DGL application) to permit serial commands to be sent to their 4DGL only modules such as the uOLED-3202x-P1T. Watch the "Latest News and Events" section of the 4D Systems web site for release information.

Steve

__________________
Any technology, sufficiently developed, is indistinguishable from magic. A.C. Clark(RIP)

NEW! Lower prices on all 4D Systems products for 2009 and continuing into 2010!
http://shop.littlepcbsolutions.com
mba

Registered: 09/10/08
Posts: 2
Reply with quote #3 
Hi Steve,

thank you,

Included is a small parser for test purpose, that will parse serial command and call the actual functions, very very simple. Almost compatible with some of your other products, offering serial services

 
Attached Files:
4dg MBAtest.4dg (4.03 KB, 122 views)

__________________
MBA

smcmanus

Avatar / Picture

Registered: 19/03/07
Posts: 500
Reply with quote #4 
Nice job on the parser. The Serial Emulators will emulate the full serial command set that is used by the serial display platform devices. In addition, many of the new features that were previously only available using 4DGL, will be made available through the emulators for those users that wish to continuue using an external host to send serial commands.

An additional benefit to emulating the serial commands in a 4DGL application is that users will be able to extend the "serial" command set to create new commands specific to their projects/products.

Steve

__________________
Any technology, sufficiently developed, is indistinguishable from magic. A.C. Clark(RIP)

NEW! Lower prices on all 4D Systems products for 2009 and continuing into 2010!
http://shop.littlepcbsolutions.com
mvandere

Registered: 19/11/07
Posts: 136
Reply with quote #5 
Any news on the Serial emulator?

Any chance of a 'pre-release'?


meldavia

Registered: 18/03/07
Posts: 900
Reply with quote #6 
The Serial Picaso Emulator is about to be released along with new PmmC's (version 1.05) . Due to a bug in the v1.04 PmmC release, certain string functions will not operate properly which will prevent the SPE serial 'A' and 'D' bitmap commands from working. Also, a new function has been added to v1.05 (ByteSwap(...) which swaps the upper and lower bytes of a variable, and there were a few other bugs and omissions fixed. PmmC's v1.05 will be released this evening. The alpha release of the source code for SPE is attached. A test program that runs on the PC to execute most of the SPE commands will also be made available.

 
Attached Files:
4dg 4D-SPE-V1_0.4dg (47.75 KB, 69 views)

__________________
Regards,
Dave

mvandere

Registered: 19/11/07
Posts: 136
Reply with quote #7 
I guess 'this evening' never happened?

Of course I need the PmmC to get the ByteSwap commands.

BTW I'm primarily interested in the uLCD-32032-P1T.


Atilla

Avatar / Picture

Moderator
Registered: 18/03/07
Posts: 812
Reply with quote #8 

It's been packaged up and will be available today. The 'Serial Commander' software tool took most of the time, real nice tool btw.


__________________
Atilla
mvandere

Registered: 19/11/07
Posts: 136
Reply with quote #9 


That was two days ago now.
mvandere

Registered: 19/11/07
Posts: 136
Reply with quote #10 
OK, I've got PmmC 1.04 installed, but the compiler still gives errors on 'ByteSwap', how do I tell it about the new function?

Adding it, albeit with guessing, to the .fnc file gets rid of the compile error, but does not yield working code
meldavia

Registered: 18/03/07
Posts: 900
Reply with quote #11 
Hi,
the .fnc files have also changed and will be available with the next Workshop release. Adding ByteSwap to the function file is ok, but must be in exactly the right place else all the functions will be out of sequence, it should come just after HIbyte in the CTYPE Function Prototypes eg:-
.....
func HIbyte("var"), 1;
func ByteSwap("var"), 1;


 OR - in the mean time, if you just uncomment the ByteSwap function in the 4D-SPE-V1_0.4dg file all should be ok temporarily. The latest Workshop and PmmC's should be available this evening.



__________________
Regards,
Dave
mvandere

Registered: 19/11/07
Posts: 136
Reply with quote #12 
Putting in ByteSwap fixed that bit.... and the code appeared to work....

But it broke lots of other things (fat16 file access, heap functions, sys functions, timers)
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Powered by Website Toolbox - Create a Website Forum Hosting, Guestbook Hosting, or Website Chat Room for your website.