12 Replies - 1308 Views - Last Post: 27 July 2016 - 07:54 AM

#1 Factorisable   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 26-July 16

Managing camera in assembly program by writing its driver

Posted 26 July 2016 - 03:02 AM

Hi,

I apologize in advance for possible grammatical mistake, i am french. I would know if it was possible to manage this camera http://www.robotshop.../rb-fds-100.pdf just by reading this document and without the software proposed (workshop 4 IDE), therefore only knowing its interrupts, how this camera works and using nasm. Is it possible ?

Thanks you in advance.

Is This A Good Question/Topic? 0
  • +

Replies To: Managing camera in assembly program by writing its driver

#2 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 15677
  • View blog
  • Posts: 62,769
  • Joined: 12-June 08

Re: Managing camera in assembly program by writing its driver

Posted 26 July 2016 - 05:06 AM

Why go through that much trouble?
Was This Post Helpful? 0
  • +
  • -

#3 Factorisable   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 26-July 16

Re: Managing camera in assembly program by writing its driver

Posted 26 July 2016 - 06:08 AM

I am programming in assembly language, it is slow but sure, this is my choice. Please i need a quick response.
Was This Post Helpful? 0
  • +
  • -

#4 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 15677
  • View blog
  • Posts: 62,769
  • Joined: 12-June 08

Re: Managing camera in assembly program by writing its driver

Posted 26 July 2016 - 06:40 AM

It's a poor choice, for sure.

What, exactly, are you looking to do with this camera information in assembly? I mean sure I guess you could get the various serial information, but to actually splice that into something viewable by people would require driver writing..
Was This Post Helpful? 0
  • +
  • -

#5 Factorisable   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 26-July 16

Re: Managing camera in assembly program by writing its driver

Posted 26 July 2016 - 07:08 AM

That is for image processing for my i.a, therefore you say that by knowing only camera interrupts and how camera works it is possible to manage this camera in my assembly program without any other software ? Because someone said me that this camera camera interrupts in the document are "software interrupts" and not "hardware interrupts of my camera", is it true ?
Was This Post Helpful? 0
  • +
  • -

#6 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 15677
  • View blog
  • Posts: 62,769
  • Joined: 12-June 08

Re: Managing camera in assembly program by writing its driver

Posted 26 July 2016 - 07:19 AM

Quote

for my i.a,

What's an I.A.?

Quote

manage this camera in my assembly program without any other software ?

Again.. manage for what? Do you want your other assembly code to process the image? That's going to be rough since the device is sending information packaged serially.
Was This Post Helpful? 0
  • +
  • -

#7 Factorisable   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 26-July 16

Re: Managing camera in assembly program by writing its driver

Posted 26 July 2016 - 07:47 AM

A.i excuse me. Yes i want to control this camera in my bootable assembly language which works only with my created programs. You say it is impossible because of packaged serially ? What is packaged serially ? I do not find that on google.

View PostFactorisable, on 26 July 2016 - 07:46 AM, said:

A.i excuse me. Yes i want to control this camera in my bootable assembly program which works only with my created programs. You say it is impossible because of packaged serially ? What is packaged serially ? I do not find that on google.

Was This Post Helpful? 0
  • +
  • -

#8 macosxnerd101   User is offline

  • Games, Graphs, and Auctions
  • member icon




Reputation: 12737
  • View blog
  • Posts: 45,923
  • Joined: 27-December 08

Re: Managing camera in assembly program by writing its driver

Posted 26 July 2016 - 07:48 AM

Moved to Assembly. Please post your questions in the correct forum, not the Other Languages forum.
Was This Post Helpful? 0
  • +
  • -

#9 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 15677
  • View blog
  • Posts: 62,769
  • Joined: 12-June 08

Re: Managing camera in assembly program by writing its driver

Posted 26 July 2016 - 07:57 AM

The device doc says the information transmitted is sent serial.

I would assume you would want to search for things like "serial and assembly".
http://www.zeepedia....amming&b=5&c=14
http://what-when-how...ng-in-assembly/

Quote

A.i

Artificial intelligence in assembly? Seems like masochistic endeavor.
Was This Post Helpful? 0
  • +
  • -

#10 Factorisable   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 26-July 16

Re: Managing camera in assembly program by writing its driver

Posted 26 July 2016 - 08:11 AM

If i understood correctly, that i want to do is more than possible. thank you very much for helping.
Was This Post Helpful? 0
  • +
  • -

#11 turboscrew   User is offline

  • D.I.C Lover
  • member icon

Reputation: 172
  • View blog
  • Posts: 1,114
  • Joined: 03-April 12

Re: Managing camera in assembly program by writing its driver

Posted 26 July 2016 - 03:14 PM

Yes. The document seems to contain everything you need.
Pretty simple interface. :smile2:/>

You just need a 3.3 volt RS port to connect the camera to. The interrupt is that port's interrupt, the HW protocol is RS-232 protocol, and the message bytes and higher level protocol is described in the document.

It would be still easier if you just used the serial port from an application that knows the application level protocol.

This post has been edited by turboscrew: 26 July 2016 - 03:25 PM

Was This Post Helpful? 0
  • +
  • -

#12 Factorisable   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 26-July 16

Re: Managing camera in assembly program by writing its driver

Posted 26 July 2016 - 10:08 PM

View Postturboscrew, on 26 July 2016 - 03:14 PM, said:

Thanks for confirmation.

It would be still easier if you just used the serial port from an application that knows the application level protocol.


Difficult if I stay only in programs of my hand (if you talk about application where application = software).
Was This Post Helpful? 0
  • +
  • -

#13 turboscrew   User is offline

  • D.I.C Lover
  • member icon

Reputation: 172
  • View blog
  • Posts: 1,114
  • Joined: 03-April 12

Re: Managing camera in assembly program by writing its driver

Posted 27 July 2016 - 07:54 AM

Oh, sorry. I missed this: "in my bootable assembly language".

"Because someone said me that this camera camera interrupts in the document are "software interrupts" and not "hardware interrupts of my camera", is it true ?"
As far as I understood it: yes. The "software interrupt" here seems to mean that the cam just starts sending without any request from the host. Perfectly normal when dealing with, say, terminals.

The only interrupts you see are the UART interrupts thrown by the chip you use to interface with the cam.

And the only packing is jpeg-internal, which you don't need to care. You just receive the databytes in several small messages.

This post has been edited by turboscrew: 27 July 2016 - 08:13 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1