Discussion forum for the BasicX family of microcontroller chips.
|
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. Q: Is there a method/program to simply download an update to a X24? Simply difined as running the program (batch file, etc) will just open the port, open the monitor port (optional), download a specific file (defined by command line, ini file), and inform the user of success or problems (support for rescue I think is required). Q: Is is ok to redistribute the BasicX downloader alone? What is the minimum files to do so? thanks |
|
|
|
unsubscribe ===== "May a suitable landing spot be always on your glide slope" J. Mark Wolf, Pinckney, Michigan Rotorway Exec162F N1955Z Check out my web site at: www.rotorwaybuilders.net/ucosm __________________________________________________ |
|
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. -- Frank Manning -- NetMedia, Inc. |
|
|
|
Hmmm...I was just think'n about that 2 days ago. I want to download bxCode on-the-fly...process it...send results back up to a monitoring program in VB, have it make decisions based on the results, select another bxProgram from the disk drive and download it to the BX24..etc...etc...etc According to documentation the download is controlled by pin 4, the ATN (attention) pin on the serial cable. This pin is connected to bxPin 3 on a BX-24. (See BX Hardware Reference Manual, page 16) Setting the ATN informs the BX to download. Once the pin is set, the compiled bxProgram is then sent down the TX pin (Serial pin 2) to bxPin 1. My guess is that once the transmission is complete that the ATN pin is released to inform the BX24 to go back to normal mode and run the program. The manual actually doesn't describe this process, only the pins, but it seems very logical that this would be the steps involved. I was intending on messing around with that process to see exactly what it would take to accomplish the matter as soon as I finished up with another bxRoutine was was enhancing. My intent is to have a Visual Basic module that is externally callable from any other program, that just receives parameters on the call, with the PATH and name of the bxProgram to download. The vbProgram would handle the rest. Some additional technical information from NetMedia could help also before then, though. That download process is not clearly defined in the manual It just generally describes downloading using the SDK. Any comments on the matter would be greatly appreciated......Such as ...does the BX send anything back on the RX pin? Is the ATN held for the duration? Is it strobed and serves as a clocking device? What EXACTLY is the steps involved in sending code down if one chooses not to use the SDK or wishes to incorporate a custom module to perform the same function. .db. -----Original Message----- From: [mailto:] Sent: Friday, October 12, 2001 11:47 AM To: Subject: [BasicX] Software Download without BasicX downloader 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. Q: Is there a method/program to simply download an update to a X24? Simply difined as running the program (batch file, etc) will just open the port, open the monitor port (optional), download a specific file (defined by command line, ini file), and inform the user of success or problems (support for rescue I think is required). Q: Is is ok to redistribute the BasicX downloader alone? What is the minimum files to do so? thanks 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] |
|
|
|
Hi Dan, I've looked at what the download process does, using a serial port monitor (PortMon.exe, great little program to troubleshoot serial connections, download at www.sysinternals.com freeware), and there IS a dialog between the BX and the PC. I assume that the EEPROM dump must be done via SPI, which is not directly supported by a PC's serial port, although with the right commands & characters it could be emulated - timing is probably important here. The PC <-> BX dialog goes by some initial short exchanges (probably to establish chip type, etc.) and then data is sent to the BX. The actual data sent matches 100% that contained in the compiled binary file for the program. I won't say more, as it looks like we're going to get a tool to download the programs into the BX very soon (great work Frank!), so it's probably not worth spending time on this, apart from the educational value of knowing how it works. All the best, Mike > -----Mensaje original----- > De: Dan Bielecki [mailto:] > Enviado el: sabado, 13 de octubre de 2001 2:52 > Para: > Asunto: RE: [BasicX] Software Download without BasicX downloader > Hmmm...I was just think'n about that 2 days ago. > I want to download bxCode on-the-fly...process it...send results > back up to > a monitoring program in VB, have it make decisions based on the results, > select another bxProgram from the disk drive and download it to the > BX24..etc...etc...etc > > According to documentation the download is controlled by pin 4, the ATN > (attention) pin on the serial cable. > This pin is connected to bxPin 3 on a BX-24. (See BX Hardware Reference > Manual, page 16) > > Setting the ATN informs the BX to download. Once the pin is set, the > compiled bxProgram is then sent down the TX pin (Serial pin 2) to bxPin 1. > My guess is that once the transmission is complete that the ATN pin is > released to inform the BX24 to go back to normal mode and run > the program. > The manual actually doesn't describe this process, only the pins, but it > seems very logical that this would be the steps involved. > > I was intending on messing around with that process to see exactly what it > would take to accomplish the matter as soon as I finished up with another > bxRoutine was was enhancing. My intent is to have a Visual Basic module > that is externally callable from any other program, that just receives > parameters on the call, with the PATH and name of the bxProgram > to download. > The vbProgram would handle the rest. > > Some additional technical information from NetMedia could help also before > then, though. That download process is not clearly defined in the manual > It just generally describes downloading using the SDK. Any comments on > the matter would be greatly appreciated......Such as ...does the BX send > anything back on the RX pin? Is the ATN held for the duration? Is it > strobed and serves as a clocking device? What EXACTLY is the steps > involved in sending code down if one chooses not to use the SDK > or wishes to > incorporate a custom module to perform the same function. > > .db. > > > -----Original Message----- > From: [mailto:] > Sent: Friday, October 12, 2001 11:47 AM > To: > Subject: [BasicX] Software Download without BasicX downloader > 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. > > Q: Is there a method/program to simply download an update to a X24? > Simply difined as running the program (batch file, etc) will just > open the port, open the monitor port (optional), download a specific > file (defined by command line, ini file), and inform the user of > success or problems (support for rescue I think is required). > > Q: Is is ok to redistribute the BasicX downloader alone? What is > the minimum files to do so? > > thanks > Yahoo! Groups Sponsor |
|
|
|
Aw damn! I just wrote that vbProgram since I posted last..... All I needed to add was the final call to the subroutine to drop the DTR pin (ATN pin in the bxManual) and shoot the BXB file down the line. I signed back on to see if NetMedia posted any technical steps as to the exact process involved once the DTR dropped and signaled the SDK for download. It just seemed too simple to drop DTR and send bytes...but then again one never knows. I did read Frank's reply of "working on it....". (Faster, Frank...faster!) .db. -----Original Message----- From: Miguel Puchol [mailto:] Sent: Friday, October 12, 2001 7:38 PM To: Subject: RE: [BasicX] Software Download without BasicX downloader Hi Dan, I've looked at what the download process does, using a serial port monitor (PortMon.exe, great little program to troubleshoot serial connections, download at www.sysinternals.com freeware), and there IS a dialog between the BX and the PC. I assume that the EEPROM dump must be done via SPI, which is not directly supported by a PC's serial port, although with the right commands & characters it could be emulated - timing is probably important here. The PC <-> BX dialog goes by some initial short exchanges (probably to establish chip type, etc.) and then data is sent to the BX. The actual data sent matches 100% that contained in the compiled binary file for the program. I won't say more, as it looks like we're going to get a tool to download the programs into the BX very soon (great work Frank!), so it's probably not worth spending time on this, apart from the educational value of knowing how it works. All the best, Mike > -----Mensaje original----- > De: Dan Bielecki [mailto:] > Enviado el: sabado, 13 de octubre de 2001 2:52 > Para: > Asunto: RE: [BasicX] Software Download without BasicX downloader > Hmmm...I was just think'n about that 2 days ago. > I want to download bxCode on-the-fly...process it...send results > back up to > a monitoring program in VB, have it make decisions based on the results, > select another bxProgram from the disk drive and download it to the > BX24..etc...etc...etc > > According to documentation the download is controlled by pin 4, the ATN > (attention) pin on the serial cable. > This pin is connected to bxPin 3 on a BX-24. (See BX Hardware Reference > Manual, page 16) > > Setting the ATN informs the BX to download. Once the pin is set, the > compiled bxProgram is then sent down the TX pin (Serial pin 2) to bxPin 1. > My guess is that once the transmission is complete that the ATN pin is > released to inform the BX24 to go back to normal mode and run > the program. > The manual actually doesn't describe this process, only the pins, but it > seems very logical that this would be the steps involved. > > I was intending on messing around with that process to see exactly what it > would take to accomplish the matter as soon as I finished up with another > bxRoutine was was enhancing. My intent is to have a Visual Basic module > that is externally callable from any other program, that just receives > parameters on the call, with the PATH and name of the bxProgram > to download. > The vbProgram would handle the rest. > > Some additional technical information from NetMedia could help also before > then, though. That download process is not clearly defined in the manual > It just generally describes downloading using the SDK. Any comments on > the matter would be greatly appreciated......Such as ...does the BX send > anything back on the RX pin? Is the ATN held for the duration? Is it > strobed and serves as a clocking device? What EXACTLY is the steps > involved in sending code down if one chooses not to use the SDK > or wishes to > incorporate a custom module to perform the same function. > > .db. > > > -----Original Message----- > From: [mailto:] > Sent: Friday, October 12, 2001 11:47 AM > To: > Subject: [BasicX] Software Download without BasicX downloader > 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. > > Q: Is there a method/program to simply download an update to a X24? > Simply difined as running the program (batch file, etc) will just > open the port, open the monitor port (optional), download a specific > file (defined by command line, ini file), and inform the user of > success or problems (support for rescue I think is required). > > Q: Is is ok to redistribute the BasicX downloader alone? What is > the minimum files to do so? > > thanks > 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] |
|
Hey Miguel....I just had another thought....is that first bit of dialog the PRF file? I would think that file would have to go down also...that holds the chip preferences. ************ Drop the DTR Send the PRF file Send the BXB file Bring DTR back up. ************** Does that little PortMon thing show the PRF going down? .db. -----Original Message----- From: Miguel Puchol [mailto:] Sent: Friday, October 12, 2001 7:38 PM To: Subject: RE: [BasicX] Software Download without BasicX downloader Hi Dan, I've looked at what the download process does, using a serial port monitor (PortMon.exe, great little program to troubleshoot serial connections, download at www.sysinternals.com freeware), and there IS a dialog between the BX and the PC. I assume that the EEPROM dump must be done via SPI, which is not directly supported by a PC's serial port, although with the right commands & characters it could be emulated - timing is probably important here. The PC <-> BX dialog goes by some initial short exchanges (probably to establish chip type, etc.) and then data is sent to the BX. The actual data sent matches 100% that contained in the compiled binary file for the program. I won't say more, as it looks like we're going to get a tool to download the programs into the BX very soon (great work Frank!), so it's probably not worth spending time on this, apart from the educational value of knowing how it works. All the best, Mike > -----Mensaje original----- > De: Dan Bielecki [mailto:] > Enviado el: sabado, 13 de octubre de 2001 2:52 > Para: > Asunto: RE: [BasicX] Software Download without BasicX downloader > Hmmm...I was just think'n about that 2 days ago. > I want to download bxCode on-the-fly...process it...send results > back up to > a monitoring program in VB, have it make decisions based on the results, > select another bxProgram from the disk drive and download it to the > BX24..etc...etc...etc > > According to documentation the download is controlled by pin 4, the ATN > (attention) pin on the serial cable. > This pin is connected to bxPin 3 on a BX-24. (See BX Hardware Reference > Manual, page 16) > > Setting the ATN informs the BX to download. Once the pin is set, the > compiled bxProgram is then sent down the TX pin (Serial pin 2) to bxPin 1. > My guess is that once the transmission is complete that the ATN pin is > released to inform the BX24 to go back to normal mode and run > the program. > The manual actually doesn't describe this process, only the pins, but it > seems very logical that this would be the steps involved. > > I was intending on messing around with that process to see exactly what it > would take to accomplish the matter as soon as I finished up with another > bxRoutine was was enhancing. My intent is to have a Visual Basic module > that is externally callable from any other program, that just receives > parameters on the call, with the PATH and name of the bxProgram > to download. > The vbProgram would handle the rest. > > Some additional technical information from NetMedia could help also before > then, though. That download process is not clearly defined in the manual > It just generally describes downloading using the SDK. Any comments on > the matter would be greatly appreciated......Such as ...does the BX send > anything back on the RX pin? Is the ATN held for the duration? Is it > strobed and serves as a clocking device? What EXACTLY is the steps > involved in sending code down if one chooses not to use the SDK > or wishes to > incorporate a custom module to perform the same function. > > .db. > > > -----Original Message----- > From: [mailto:] > Sent: Friday, October 12, 2001 11:47 AM > To: > Subject: [BasicX] Software Download without BasicX downloader > 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. > > Q: Is there a method/program to simply download an update to a X24? > Simply difined as running the program (batch file, etc) will just > open the port, open the monitor port (optional), download a specific > file (defined by command line, ini file), and inform the user of > success or problems (support for rescue I think is required). > > Q: Is is ok to redistribute the BasicX downloader alone? What is > the minimum files to do so? > > thanks > 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] |
|
|
|
Very cool. Thanks. --- In basicx@y..., "Frank Manning" <fmanning@n...> wrote: > From: <BotMaster@R... > > 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. > > -- Frank Manning > -- NetMedia, Inc. |
|
Hi Dan, I'll wire it up later on and have a look. I can send you the actual logs produced, both in ASCII and HEX. All the best, Mike > -----Mensaje original----- > De: Dan Bielecki [mailto:] > Enviado el: sabado, 13 de octubre de 2001 7:18 > Para: > Asunto: RE: [BasicX] Software Download without BasicX downloader > Hey Miguel....I just had another thought....is that first bit of > dialog the > PRF file? > I would think that file would have to go down also...that holds the chip > preferences. > ************ > Drop the DTR > Send the PRF file > Send the BXB file > Bring DTR back up. > ************** > Does that little PortMon thing show the PRF going down? > > .db. > -----Original Message----- > From: Miguel Puchol [mailto:] > Sent: Friday, October 12, 2001 7:38 PM > To: > Subject: RE: [BasicX] Software Download without BasicX downloader > Hi Dan, > > I've looked at what the download process does, using a serial port monitor > (PortMon.exe, great little program to troubleshoot serial connections, > download at www.sysinternals.com freeware), and there IS a dialog between > the BX and the PC. > > I assume that the EEPROM dump must be done via SPI, which is not directly > supported by a PC's serial port, although with the right commands & > characters it could be emulated - timing is probably important here. > > The PC <-> BX dialog goes by some initial short exchanges (probably to > establish chip type, etc.) and then data is sent to the BX. The > actual data > sent matches 100% that contained in the compiled binary file for the > program. > > I won't say more, as it looks like we're going to get a tool to > download the > programs into the BX very soon (great work Frank!), so it's probably not > worth spending time on this, apart from the educational value of > knowing how > it works. > > All the best, > > Mike > > > -----Mensaje original----- > > De: Dan Bielecki [mailto:] > > Enviado el: sabado, 13 de octubre de 2001 2:52 > > Para: > > Asunto: RE: [BasicX] Software Download without BasicX downloader > > > > > > Hmmm...I was just think'n about that 2 days ago. > > I want to download bxCode on-the-fly...process it...send results > > back up to > > a monitoring program in VB, have it make decisions based on the results, > > select another bxProgram from the disk drive and download it to the > > BX24..etc...etc...etc > > > > According to documentation the download is controlled by pin 4, the ATN > > (attention) pin on the serial cable. > > This pin is connected to bxPin 3 on a BX-24. (See BX Hardware Reference > > Manual, page 16) > > > > Setting the ATN informs the BX to download. Once the pin is set, the > > compiled bxProgram is then sent down the TX pin (Serial pin 2) > to bxPin 1. > > My guess is that once the transmission is complete that the ATN pin is > > released to inform the BX24 to go back to normal mode and run > > the program. > > The manual actually doesn't describe this process, only the pins, but it > > seems very logical that this would be the steps involved. > > > > I was intending on messing around with that process to see > exactly what it > > would take to accomplish the matter as soon as I finished up > with another > > bxRoutine was was enhancing. My intent is to have a Visual > Basic module > > that is externally callable from any other program, that just receives > > parameters on the call, with the PATH and name of the bxProgram > > to download. > > The vbProgram would handle the rest. > > > > Some additional technical information from NetMedia could help > also before > > then, though. That download process is not clearly defined in > the manual > > It just generally describes downloading using the SDK. Any > comments on > > the matter would be greatly appreciated......Such as ...does the BX send > > anything back on the RX pin? Is the ATN held for the duration? Is it > > strobed and serves as a clocking device? What EXACTLY is the steps > > involved in sending code down if one chooses not to use the SDK > > or wishes to > > incorporate a custom module to perform the same function. > > > > .db. > > > > > > > > > > -----Original Message----- > > From: [mailto:] > > Sent: Friday, October 12, 2001 11:47 AM > > To: > > Subject: [BasicX] Software Download without BasicX downloader > > > > > > 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. > > > > Q: Is there a method/program to simply download an update to a X24? > > Simply difined as running the program (batch file, etc) will just > > open the port, open the monitor port (optional), download a specific > > file (defined by command line, ini file), and inform the user of > > success or problems (support for rescue I think is required). > > > > Q: Is is ok to redistribute the BasicX downloader alone? What is > > the minimum files to do so? > > > > thanks > > > > > > Yahoo! Groups Sponsor > > > > > > > > > > > > > |
|
|
|
I find this interesting as I am currently using a Palm PDA as a portable terminal for Some Bx-24's and Bx-01's and I would like to see if I could carry and upload a compiled program from the Palm to the Basicx units. I've written the terminal software in NSBasic (Visual Basic for the Palm) and from your discussions it sounds like it could be done. It would save me from having to lug around a laptop every time I want to upgrade one of the units and as most are in nasty places this would be great. Let me know what you find. Art Peipher - -- In basicx@y..., "Miguel Puchol" <mpuchol@w...> wrote: > Hi Dan, > > I'll wire it up later on and have a look. I can send you the actual logs > produced, both in ASCII and HEX. > > All the best, > > Mike > > > -----Mensaje original----- > > De: Dan Bielecki [mailto:Dan.Bielecki@A...] > > Enviado el: sabado, 13 de octubre de 2001 7:18 > > Para: basicx@y... > > Asunto: RE: [BasicX] Software Download without BasicX downloader > > > > > > Hey Miguel....I just had another thought....is that first bit of > > dialog the > > PRF file? > > I would think that file would have to go down also...that holds the chip > > preferences. > > ************ > > Drop the DTR > > Send the PRF file > > Send the BXB file > > Bring DTR back up. > > ************** |
|
|
|
I know (from a developers point of view) that it cant be that complicated of a process. It all depends on if NetMedia wants to give out the technical details and steps involved. Frank made a comment that they were working on an OEM software product for the next compiler release but he didn't give out any details as to the steps involved to. In your case that sounds like it would be useless on the Palm. Lets wait and see what they come back with in the coming week or so. This thread started over the weekend and Frank may have to go back to the office and discuss releasing technical data of that nature. (If its that technical at all) -----Original Message----- From: [mailto:] Sent: Sunday, October 14, 2001 9:50 PM To: Subject: [BasicX] Re: Software Download without BasicX downloader I find this interesting as I am currently using a Palm PDA as a portable terminal for Some Bx-24's and Bx-01's and I would like to see if I could carry and upload a compiled program from the Palm to the Basicx units. I've written the terminal software in NSBasic (Visual Basic for the Palm) and from your discussions it sounds like it could be done. It would save me from having to lug around a laptop every time I want to upgrade one of the units and as most are in nasty places this would be great. Let me know what you find. Art Peipher - -- In basicx@y..., "Miguel Puchol" <mpuchol@w...> wrote: > Hi Dan, > > I'll wire it up later on and have a look. I can send you the actual logs > produced, both in ASCII and HEX. > > All the best, > > Mike > > > -----Mensaje original----- > > De: Dan Bielecki [mailto:Dan.Bielecki@A...] > > Enviado el: sabado, 13 de octubre de 2001 7:18 > > Para: basicx@y... > > Asunto: RE: [BasicX] Software Download without BasicX downloader > > > > > > Hey Miguel....I just had another thought....is that first bit of > > dialog the > > PRF file? > > I would think that file would have to go down also...that holds the chip > > preferences. > > ************ > > Drop the DTR > > Send the PRF file > > Send the BXB file > > Bring DTR back up. > > ************** Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. [Non-text portions of this message have been removed] |