EmbeddedRelated.com
Forums

BX24 and uploading compiled program

Started by Mario December 5, 2003
I have an issue. I am currentely using the BX-24 in a product that's
already on the market. Pretty soon I will have to make changes to
the program and will have to upgrade the program in the BX-24.
Rather than having each customer send the unit back so I can re-
program the BX-24 I need to know how to upload the compiled program
myself using my own software. All I would do is give the customer to
new binary to upload themselves and update their system. A while
back I asked for support on this to NetMedia and never got a
response.

Any help would be appreciated.

Mario



Is the product linked to the customer's PC via a COM port?

If so, you could just send them the BasicX development system
software, have them set the appropriate download port, open the
BXB file which you've provided, and have them download the compiled
software straight to the BX-24. --- In , "Mario" <domovoi22@y...> wrote:
> I have an issue. I am currentely using the BX-24 in a product
that's
> already on the market. Pretty soon I will have to make changes to
> the program and will have to upgrade the program in the BX-24.
> Rather than having each customer send the unit back so I can re-
> program the BX-24 I need to know how to upload the compiled
program
> myself using my own software. All I would do is give the customer
to
> new binary to upload themselves and update their system. A while
> back I asked for support on this to NetMedia and never got a
> response.
>
> Any help would be appreciated.
>
> Mario





Mario,
At least a year ago there was an uploader program that I saw that
allowed you to upload your program without the entire environment.
Frank, has that been updated or is it still available?
Tom

Mario wrote:

> I have an issue. I am currentely using the BX-24 in a product that's
> already on the market. Pretty soon I will have to make changes to
> the program and will have to upgrade the program in the BX-24.
> Rather than having each customer send the unit back so I can re-
> program the BX-24 I need to know how to upload the compiled program
> myself using my own software. All I would do is give the customer to
> new binary to upload themselves and update their system. A while
> back I asked for support on this to NetMedia and never got a
> response.
>
> Any help would be appreciated.
>
> Mario >
>
> <http://www.netflix.com/Default?mqso`178356&partidA16730" target="_blank" rel="nofollow">http://rd.yahoo.com/SIGcssmbaq/M&7637.4116730.5333196.1261774/D=egroupweb/S06554205:HM/EXP70737864/A53619/R=0/*http://www.netflix.com/Default?mqso`178356&partidA16730 >
> ">http://docs.yahoo.com/info/terms/>.


--- In , "Vince Pearman" <vpearman@b...> wrote:
> Is the product linked to the customer's PC via a COM port?

No, the BX24 is interfaced through a USB to RS232 chip (FTDI FT232AM)
using special direct drivers. I could use the virtual com port
drivers to install a com port, but that would be too much hassle. I
want to put the code directly into my software which uses the chip
direct drivers.

I just need to know the protocol on how to setup the BX-24 into
receive mode then I just dump the BXB file. Since programming is all
done through com port, it has to be just as simple as sending a
request, dumping data and waiting for a response.

I mentioned before that I tried to get the info from Netmedia, but
they never responded.

>
> If so, you could just send them the BasicX development system
> software, have them set the appropriate download port, open the
> BXB file which you've provided, and have them download the compiled
> software straight to the BX-24.
>

Again I am trying to simplify things for our customers.


From: twesthoff <>

> At least a year ago there was an uploader program
> that I saw that allowed you to upload your program
> without the entire environment.

About the closest we come to this now is the command line
operation of the IDE. For download-only, you only need a BXB and
PRF file from a BasicX project, and the command line can be
basically packaged in a BAT file that you can click on. See the
compiler users guide, page 28.

I'm sure you could also spawn the downloader from a separate
program, although I haven't tried that with the latest release.

For this option, you only need the IDE installed without all the
docs. See "BasicX Software Setup - Program Only" here:

http://www.basicx.com/transfer/bx_updates.htm

-- Frank Manning
-- NetMedia, Inc.



I've uploaded file BX_OEM_Downloader to the files section. Try it. Tom Becker
--... ...--
www.RighTime.com
The RighTime Clock Company, Inc., Cape Coral, Florida USA
+1239 540 5700



Thanks,

The problem is that I don't have the BX24 connected to a standard com
port, but rather through a USB->RS232 chip, and I cannot map these as
com ports.

Would it be possible to get instructions on how to open the port and
what commands I need to send, to put the BX24 in a receive mode to
download the BXB file.

Is this information propietary?

Mario

--- In , "Tom Becker" <gtbecker@r...> wrote:

> I've uploaded file BX_OEM_Downloader to the files section. Try it. > Tom Becker
> --... ...--
> GTBecker@R... GTBecker@S... www.RighTime.com
> The RighTime Clock Company, Inc., Cape Coral, Florida USA
> +1239 540 5700





> ... a USB->RS232 chip, and I cannot map these as com ports.

Why can't you do that?
Tom Becker
--... ...--
www.RighTime.com
The RighTime Clock Company, Inc., Cape Coral, Florida USA
+1239 540 5700



--- In , "Tom Becker" <gtbecker@r...> wrote:
> > ... a USB->RS232 chip, and I cannot map these as com ports.
>
> Why can't you do that?

I can and it would work, but that means that our customers would have
to uninstall the direct drivers. Install the virtual com port
drivers. Then find out where the com port got mapped. Then use the
downloader to update the firmware. Uninstall the com port drivers
and install back the direct drivers to use our software.

I know that would cause a tech support nightmare for us. It would be
easier just to include some routine in my software that would
automatically do it for them. They would just simply download the
latest firwmare from our website.

Thanks, Mario



... that would cause a tech support nightmare...

I understand. You'll have to talk with Netmedia about the OEM
downloader guts. Tom
Tom Becker
--... ...--
www.RighTime.com
The RighTime Clock Company, Inc., Cape Coral, Florida USA
+1239 540 5700