Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

serial simulation using ktechlab

Status
Not open for further replies.

cyb0rg777

New Member
First hello to everyone ,I am a new member.
Has anyone tried ktechlab for linux?
It is a circuit simulation program that includes gpsim to simulate pic microcontrollers.
It is new and a little buggy but version 0.3 is an improvement over 0.2.
Unfortunately they don't have a messageboard .
I am kind of new to pic programming .
I am trying to use it to simulate a 16f84 or 16f628 sending a serial signal.
I would like to know that it works before I build a circuit.

Which would be easier to use C or assembly?
Where can I find a tutorial or example code for serial communication in C
,preferably SDCC.

I have a great cicuit idea I have put a lot of work into .I would like to share it but only if it remained open source and noone could claim it.
Thanks a lot .
 
Maybe I wasn't clear enough about what I need.

I want to simulate a mouse using a 16f628a.

I don't know if i should use C or assembly.
I understand part of assembly ,like the instructions ,but not the registers used to set up the chip.
And really ,if you use linux you should try ktechlab.
any suggestions are welcome. :D
 
cyb0rg777 said:
I am trying to use it to simulate a 16f84 or 16f628 sending a serial signal.
I would like to know that it works before I build a circuit.

Not sure if this is part of ktechlab/gpsim integration but this might be of interest ... (email to the gnupic email list Dec 29 2005)
Scott Dattalo said:
Roy Rankin has added support for an interactive text console that is tied
to the USART module. This console will display ASCII characters recieved
over an RS232 serial link. Characters typed into the module will be
transmitted over the link. Roy has also submitted an example loop back
program illustrating these new features. This is found in CVS at:

examples/modules/usart_gui/
cyb0rg777 said:
Which would be easier to use C or assembly?
Where can I find a tutorial or example code for serial communication in C
,preferably SDCC.

I've had mixed results using SDCC with 16f devices. 18f seem to be better supported, but no experience in using them (yet!). Getting better mileage at the moment using assembler. As for tutorials and example code check Nigel's page and the piclist
 
I am trying to make a chip that has inputs for left,right ,up,down LB,RB.
I am trying to write it using mikroc now .
I have some code already in mikroc ,but I want to test it before building.
SDCC is not well documented .
I am using the usart library in mikroc.
I would prefer linux version of C but this works.
Thank you both for your help.
Any more ideas ?The more the better. :D
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top