RPC기반으로된 VXI-11 프로토콜 질문있습니다..

melody3741의 이미지

제가 많이 부족하여 이렇게 질문을 남기게 되었습니다..
우선.. 제가 리눅스를 많이 모르고 펌웨어 개발자 이긴한데 펌웨어도 그렇게 잘하지는 못하는거 같네요... 그래서 도움을 받기위해 이렇게 질문을 남기게 되었습니다..
VXI-11 프로토콜이.. 계측기에서 주로 사용되는 TCP/IP 로 RCP 기반으로 된 프로토콜인데요..

VXI consortium (http://www.vxibus.org/specifications.html) 스펙 문서가 있습니다..
보니깐..
unix에서 rpcgen을 이용해서 코드를 생성하더군요.. 4개의 파일을요..

The UNIX utility program rpcgen creates a number of files if given a protocol
description written in RPCL (RPC Language, based on C). For every file xxx.rpcl it
generates (see also corresponding manual page)
• a header file xxx.h, containing the type definitions, the function numbers and
the prototypes for the generated functions
• a C source file xxx_clnt.c containing client side functions
• a C source file xxx_svc.c containing server side code and
• a C source file xxx_xdr.c containing data type conversion functions for the data
types declared in xxx.rpcl.

RPC 언어 라고 하는데요.. 자세히 몰라서 구글링으로..
예를들어서 xxx.x 라는 파일을 만들고 RPCL 언어를 넣어주고
rpcgen xxx.x 실행을 하니 코드가 생성되던데요.. stub이라는 얘가 알아서 처리해준다고 얼핏봤거든요...

그런데 문제가.. 지금 8bit avr (atmega64)로 작업을 진행을 하고 있습니다.. Non-OS 입니다..
rpcgen 으로 생성된 코드들이 OS가 있어야 돌아가는 기반인건가요??
OS 없이 Non-OS에서 생성된 코드들을 적용시켜서 할수는 없는건가요?? 만약 이게 가능하다면.. 어떻게 적용을 시켜야할지..
VXI consortium에서제공해주는 문서에는 데이터 패킷 포멧 정보라든가 그런부분은 없더군요.. rpcl에 대해서만..

혹시나.. VXI-11프로토콜을 구현해 보셧으면.. 도움을 주시면 감사하겠습니다...

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.