|
| |
Romeo 04-03-2004, 04:00 AM I need help...
My name is Romeo and I go to Devry University. My major is Computer Engineering.
For our senior project, we are building a device that turns on and off effect modules (modules that enhances inputted sound; Live musicians uses the module when they play live in concert settings. In able to turn on and off these modules, they manually have to use foot pedals/switchs)
We are building a device that targets live musicians that allows them to time when these effect modules to be turned on and off. Instead of footswitchs, they will be able to use their PC and a developed software to customize there timings on effects processing.
Now, we are using the HC11 as the microcontroller, the RS 232 interface, we will be programming with Visual Basic as far as the GUI, and effects modules. It should turn on and off by the ports.
I need to make a driver that allows to take a compiled file that was made by the developed software and it should be transfered into the HC11 for it to read the compiled file. Then this file will make the HC11 function the effects modules.
My questions is.... I don't know where to start. I have checked books, but all it has mention is how it communicates between the PC and device, but still has nothing to do with transferring data. Please I need assistance.
Thank You.
~Romeo
damien 04-04-2004, 08:20 AM I need help...
My name is Romeo and I go to Devry University. My major is Computer Engineering.
For our senior project, we are building a device that turns on and off effect modules (modules that enhances inputted sound; Live musicians uses the module when they play live in concert settings. In able to turn on and off these modules, they manually have to use foot pedals/switchs)
We are building a device that targets live musicians that allows them to time when these effect modules to be turned on and off. Instead of footswitchs, they will be able to use their PC and a developed software to customize there timings on effects processing.
Now, we are using the HC11 as the microcontroller, the RS 232 interface, we will be programming with Visual Basic as far as the GUI, and effects modules. It should turn on and off by the ports.
I need to make a driver that allows to take a compiled file that was made by the developed software and it should be transfered into the HC11 for it to read the compiled file. Then this file will make the HC11 function the effects modules.
My questions is.... I don't know where to start. I have checked books, but all it has mention is how it communicates between the PC and device, but still has nothing to do with transferring data. Please I need assistance.
Thank You.
~Romeo
which format have you saved your current programing file(s) in?
and are you wanting to convert this format into a exe file which you will call from within VB? you can use the Motorola 68HC11 C-Compiler and convert the code to a format which can be called from within your VB program
Trakar 04-28-2004, 10:19 AM Damien,
I am the project leader of the team to which Romeo belongs. I will try my best to help you, help us!
Using a Visual Basic application we are creating, we were of the mind to produce a .asm assembly text file for which our as11 assembler to translate to a .s19 machine language file. We are in the process of figuring out how to execute the as11.exe file through VB. The question really stems from our inability to take this newly created file and transfer it via COM/RS-232 port to the HC11. We have studied about and tinkered with a file called mscomm that comes with MS Visual Studio and have come to a loss to understand it.
It appears our education thus far has failed us in interfacing. We have to our access both MS Visual Studio (as mentioned before) and the DDK to make any drivers we need. I would imagine we can take an already existing Serial Driver and bend to our needs in this case. The problem lies in how.
As Romeo has pointed out, we really have no idea where to begin. We have an understanding in what is supposed to happen and how the HC11 should receive its data, but we need to know how, through Visual Basic can we send this data? If there are any locations you can direct us, we would be most appreciative.
Thank you kindly,
Michael
damien 04-29-2004, 12:52 AM Damien,
I am the project leader of the team to which Romeo belongs. I will try my best to help you, help us!
Using a Visual Basic application we are creating, we were of the mind to produce a .asm assembly text file for which our as11 assembler to translate to a .s19 machine language file. We are in the process of figuring out how to execute the as11.exe file through VB. The question really stems from our inability to take this newly created file and transfer it via COM/RS-232 port to the HC11. We have studied about and tinkered with a file called mscomm that comes with MS Visual Studio and have come to a loss to understand it.
It appears our education thus far has failed us in interfacing. We have to our access both MS Visual Studio (as mentioned before) and the DDK to make any drivers we need. I would imagine we can take an already existing Serial Driver and bend to our needs in this case. The problem lies in how.
As Romeo has pointed out, we really have no idea where to begin. We have an understanding in what is supposed to happen and how the HC11 should receive its data, but we need to know how, through Visual Basic can we send this data? If there are any locations you can direct us, we would be most appreciative.
Thank you kindly,
Michael
i would recomend that you try to use the development tools available for the H11 as this will resolve your major interfacing problems.
if you do not wish to do this then you can modularize your VB program to call the H11 when needed and simply trigger a small routine in it to do what you wish. and this way you only have to do the module(s) itself with the H11 programing apps.
please keep in mind that VB is a interperted language. it is not a assembly code compiler. to convert VB to assembly will require a specific compiler that allows this.
and VB does have the ability to call routines from within the main VB program which can be assembly sections.
these links should prove helpfull
http://members.optusnet.com.au/~draw3d/assembly.html
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaskdr/html/askgui12172002.asp
http://samples.gotdotnet.com/quickstart/howto/doc/Interop/TestServer_1.aspx
mePhil 06-17-2004, 06:21 AM its not that hard using vb to make connections with your ports...
look around on the net a bit....
if you have to steal some code.
and i suggest you use c++ anyways
|