Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

Discussion Groups | BasicX | Re: Software Download without BasicX downloader

Discussion forum for the BasicX family of microcontroller chips.

Re: Software Download without BasicX downloader - Frank Manning - Oct 25 13:25:00 2001

From: "Frank Manning" <>, 12 Oct 2001:

> From: <>
>
>> The project I put together has a serial connector on it and
>> I readily upgrade/download software to the x24 using the BasicX
>> downloader. I have "customers" who use this project and at
>> times I would like to upgrade the software in it; but the
>> "customers" are not local so I can just rush over and do it
>> for them.
>> [...]
> We're working on an OEM downloader for just this purpose. Our
> intent is to include the program in the next revision of the
> compiler, which should be released in the near future.

A BX-24 OEM downloader is available for beta testing. Check out:

http://www.basicx.com/beta

The downloader can be operated in either GUI mode or command line mode.
Comments and suggestions are welcomed.

-- Frank Manning
-- NetMedia, Inc.





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )


Re: Software Download without BasicX downloader - Dave Houston - Oct 25 14:14:00 2001

Frank,

From a brief look at the readme file it appears you have ignored my
feedback (which was based on my own use as well as that of a couple
of people beta testing my app) so I'll repeat it.

There needs to be a way to set the download port from the command
line, registry entry, or INI key so that it will use the same port
that my user has set for communicating with the BX-24 board in my
Windows app and through which the PC and my BX-24 board are already
physically connected and communicating.

Then I can...

Close the port in my Windows app
Shell to the downloader
Wait for the downloader to finish
Reopen the port when the download completes and control returns to
my Windows app and my user then sees my sign on message.

On a successful download, the downloader should close automatically
so that control returns to my Windows app. This could be controlled
by a switch in the INI file for those who want it to operate as it
does now.

In my "File" menu, there is a "BX-24 Loader..." menu item. The user
clicks on this and the loader pops up over my app's main screen. This
makes for a very seamless, transparent, and professional download.
Your way does not and end users take note of that.

Here's my VB code again:

Private Sub mnuBXB_Click()

mscomm1.PortOpen = False
WaitForProcessToEnd "bxoem.exe"
mscomm1.PortOpen = True

End Sub

Public Sub WaitForProcessToEnd(cmdLine As String)

Dim retVal As Long
Dim pID As Long
Dim pHandle As Long

pID = Shell(cmdLine)
pHandle = OpenProcess(&H100000, True, pID)
retVal = WaitForSingleObject(pHandle, -1&)

End Sub

It would help if there were fewer "Verify Errors", etc. as these
really confuse the end users. But, I can live with telling them how
to regain control after such errors if I could just have the other
things.

On 25 Oct 2001, at 11:25, Frank Manning wrote:

> From: "Frank Manning" <>, 12 Oct 2001:
>
> > From: <>
> >
> >> The project I put together has a serial connector on it and
> >> I readily upgrade/download software to the x24 using the BasicX
> >> downloader. I have "customers" who use this project and at times I
> >> would like to upgrade the software in it; but the "customers" are
> >> not local so I can just rush over and do it for them.
> >> [...]
> > We're working on an OEM downloader for just this purpose. Our
> > intent is to include the program in the next revision of the
> > compiler, which should be released in the near future.
>
> A BX-24 OEM downloader is available for beta testing. Check out:
>
> http://www.basicx.com/beta
>
> The downloader can be operated in either GUI mode or command line
> mode. Comments and suggestions are welcomed.
>
> -- Frank Manning
> -- NetMedia, Inc. >

---
http://www.laser.com/dhouston/




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: Software Download without BasicX downloader - Dave Houston - Oct 25 14:43:00 2001

Frank,

Here's more feedback now that I've tried it.

It still doesn't work with Com12. It stops the processor, gives me an
ACK and then "No Communications". My application works fine on Com12
and I've used the port for many other things successfully. The
downloader does work on Com1. My Com1 is on my Asus motherboard; my
Com12 is on a ByteRunner PCI card and is rated for 921600 bps. I have
not tried it on my USB serial ports.

I'd like INI file switches to hide the "Monitor Port" and "About"
menu items. The first will only confuse my users and I see no way to
put any text in the About box that will not also confuse them. I
don't want them thinking my software is beta because of the About box.

On 25 Oct 2001, at 11:25, Frank Manning wrote:

> From: "Frank Manning" <>, 12 Oct 2001:
>
> > From: <>
> >
> >> The project I put together has a serial connector on it and
> >> I readily upgrade/download software to the x24 using the BasicX
> >> downloader. I have "customers" who use this project and at times I
> >> would like to upgrade the software in it; but the "customers" are
> >> not local so I can just rush over and do it for them.
> >> [...]
> > We're working on an OEM downloader for just this purpose. Our
> > intent is to include the program in the next revision of the
> > compiler, which should be released in the near future.
>
> A BX-24 OEM downloader is available for beta testing. Check out:
>
> http://www.basicx.com/beta
>
> The downloader can be operated in either GUI mode or command line
> mode. Comments and suggestions are welcomed.
>
> -- Frank Manning
> -- NetMedia, Inc. >

---
http://www.laser.com/dhouston/





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

RE: Software Download without BasicX downloader - Dan Bielecki - Oct 25 15:05:00 2001

Yeah! -----Original Message-----
From: Frank Manning [mailto:]
Sent: Thursday, October 25, 2001 11:25 AM
To:
Subject: Re: [BasicX] Software Download without BasicX downloader From: "Frank Manning" <>, 12 Oct 2001:

> From: <>
>
>> The project I put together has a serial connector on it and
>> I readily upgrade/download software to the x24 using the BasicX
>> downloader. I have "customers" who use this project and at
>> times I would like to upgrade the software in it; but the
>> "customers" are not local so I can just rush over and do it
>> for them.
>> [...]
> We're working on an OEM downloader for just this purpose. Our
> intent is to include the program in the next revision of the
> compiler, which should be released in the near future.

A BX-24 OEM downloader is available for beta testing. Check out:

http://www.basicx.com/beta

The downloader can be operated in either GUI mode or command line mode.
Comments and suggestions are welcomed.

-- Frank Manning
-- NetMedia, Inc.
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

RE: Software Download without BasicX downloader - Miguel Puchol - Oct 25 18:02:00 2001

Excellent !!!! I almost had no nails left to chew on...

Cheers,

Mike

> -----Mensaje original-----
> De: Frank Manning [mailto:]
> Enviado el: jueves, 25 de octubre de 2001 20:25
> Para:
> Asunto: Re: [BasicX] Software Download without BasicX downloader > From: "Frank Manning" <>, 12 Oct 2001:
>
> > From: <>
> >
> >> The project I put together has a serial connector on it and
> >> I readily upgrade/download software to the x24 using the BasicX
> >> downloader. I have "customers" who use this project and at
> >> times I would like to upgrade the software in it; but the
> >> "customers" are not local so I can just rush over and do it
> >> for them.
> >> [...]
> > We're working on an OEM downloader for just this purpose. Our
> > intent is to include the program in the next revision of the
> > compiler, which should be released in the near future.
>
> A BX-24 OEM downloader is available for beta testing. Check out:
>
> http://www.basicx.com/beta
>
> The downloader can be operated in either GUI mode or command line mode.
> Comments and suggestions are welcomed.
>
> -- Frank Manning
> -- NetMedia, Inc.




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

RE: Software Download without BasicX downloader - Dan Bielecki - Oct 27 6:55:00 2001

I think an INI file that contains ALL the loader instructions is a perfect
answer.
I set all the options in it and call the OEM Downloader with the INI file on
the command line.
The loader works from it.

Call the loader without an INI command line file switch and the GUI version
loads where I can perform interactively ...with an option to create the INI
if I want or load settings from an existing INI.

Four uses are then possible.

1) Interactive GUI and I type all options and work the loader manually.
2) Interactive GUI after loading an INI via file menu.
3) INI saved interactively by the GUI once. INI/BXB/PRF sent to customer.
Customer runs loader via INI command line.
4) INI created by logic on-the-fly and then the loader is externally called
with the INI on the command line.

Its real easy to make an INI on the fly. Its just a text file. I can trash
it when Im done so no trace is left behind. A simple DO Loop in VB can read
and write an INI. I do it all the time. A user could even enter an INI by
hand with tech support on the other end of the phone line, telling em what
to type into Notepad.

If Reg keys are used then one has to mess with the Registry, storing and
fetching values. Ever try to talk a user thru RegEdit?

I say make the loader function strictly from INI and GUI .

.db. -----Original Message-----
From: Dave Houston [mailto:]
Sent: Thursday, October 25, 2001 12:44 PM
To:
Subject: Re: [BasicX] Software Download without BasicX downloader Frank,

Here's more feedback now that I've tried it.

It still doesn't work with Com12. It stops the processor, gives me an
ACK and then "No Communications". My application works fine on Com12
and I've used the port for many other things successfully. The
downloader does work on Com1. My Com1 is on my Asus motherboard; my
Com12 is on a ByteRunner PCI card and is rated for 921600 bps. I have
not tried it on my USB serial ports.

I'd like INI file switches to hide the "Monitor Port" and "About"
menu items. The first will only confuse my users and I see no way to
put any text in the About box that will not also confuse them. I
don't want them thinking my software is beta because of the About box.

On 25 Oct 2001, at 11:25, Frank Manning wrote:

> From: "Frank Manning" <>, 12 Oct 2001:
>
> > From: <>
> >
> >> The project I put together has a serial connector on it and
> >> I readily upgrade/download software to the x24 using the BasicX
> >> downloader. I have "customers" who use this project and at times I
> >> would like to upgrade the software in it; but the "customers" are
> >> not local so I can just rush over and do it for them.
> >> [...]
> > We're working on an OEM downloader for just this purpose. Our
> > intent is to include the program in the next revision of the
> > compiler, which should be released in the near future.
>
> A BX-24 OEM downloader is available for beta testing. Check out:
>
> http://www.basicx.com/beta
>
> The downloader can be operated in either GUI mode or command line
> mode. Comments and suggestions are welcomed.
>
> -- Frank Manning
> -- NetMedia, Inc.

---
http://www.laser.com/dhouston/ Yahoo! Groups Sponsor
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )