Lost Password?

Go Back   CodeCall Programming Forum > Software Development > C and C++

C and C++ C and C++ forum for discussing all forms of C except for C#. These languages are powerful low level languages used for creating Operating Systems, Device Drivers, compilers and much more.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-11-2008, 05:55 AM
madbunny madbunny is offline
Newbie
 
Join Date: May 2008
Posts: 1
Rep Power: 0
madbunny is on a distinguished road
Default Newbie Problems

Hi Guys,

I am a newbie to C so please excuse me if my question seems stupid. I have just written a serial communications protocol for my current employer, I have now been asked to implement it in the C programming language which has me really nervous as I have never really done much in C.They are aware of this and probably don't expect much, but i'd like to think i can do it.

Basically, what i'm looking for is some ideas on how to go about it. This is roughly what i need to do:

I will be writing the C code for a microcontroller which will be accepting the serial messages sent from a pc. The serial messages will be a 2byte instruction code which requires the microcontroller to simply respond with a similar 2 byte response depending on the instruction code.

An example of the sent message to the microcontroller,
*STX character 02h*2byte instruction code*ETX character 03h

Last edited by madbunny; 05-11-2008 at 05:59 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 05-17-2008, 12:00 AM
meeleend meeleend is offline
Newbie
 
Join Date: May 2008
Posts: 5
Rep Power: 0
meeleend is on a distinguished road
Wink Re: Newbie Problems

Hi, Madbunny
I am also newbie here but welcomes you!
__________________
texting
spyware Removers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-19-2008, 03:10 PM
Zael's Avatar   
Zael Zael is offline
Newbie
 
Join Date: Jan 2008
Posts: 10
Rep Power: 0
Zael is on a distinguished road
Default Re: Newbie Problems

Jeez, it seems like a hell of a problem. I've never done anything similiar so the only thing i'm about to say: Good Luck! :wink:

And don't give up to soon. You can do it.
Welcome to the forum...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-20-2008, 12:00 AM
meeleend meeleend is offline
Newbie
 
Join Date: May 2008
Posts: 5
Rep Power: 0
meeleend is on a distinguished road
Red face Re: Newbie Problems

Oh Thanks Zael,For welcoming me.
__________________
texting
spyware Removers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-29-2008, 02:12 AM
RavenE's Avatar   
RavenE RavenE is offline
Newbie
 
Join Date: May 2008
Posts: 8
Rep Power: 0
RavenE is on a distinguished road
Default Re: Newbie Problems

Yeah that stuff kinda new to me with microprogramming an stuff

can't help ya there sry....
good luck
__________________
----Raven Studios----
-Programming Central-
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 06-02-2008, 10:59 AM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: London, England
Posts: 3,471
Last Blog:
Web slideshow in JavaS...
Rep Power: 30
Xav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to all
Send a message via MSN to Xav
Default Re: Newbie Problems

Have fun working it out!
__________________
Xav, the power of youth
Worship the Creator... not his creations
Web Site | Beta Site
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie Needs HTML HELP HELP HELP! Callme HTML Programming 1 03-12-2008 09:27 AM
Newbie questions regarding inputing a sentence Emir C and C++ 3 12-29-2007 06:21 PM
Problems in GETMEM.INC with newer WinXP security updates. dima_q Pascal/Delphi 0 06-04-2007 09:17 AM
File I/O (newbie question) ntmurphy C and C++ 4 04-04-2007 02:30 AM
Problems in compiling D-ITG MietitoreDAnime C and C++ 2 02-15-2007 11:18 AM


All times are GMT -5. The time now is 10:27 AM.

Contest Stats

Xav ........ 164.00000
dargueta ........ 128.00000
John ........ 127.00000
gaylo565 ........ 18.00000
XaNaX ........ 15.00000
Johnnyboy ........ 3.00000
navghost ........ 1.00000

Contest Rules

Ads