Powering up with debug dongle still connected

Questions about the BASICtools and MakeItC
Post Reply
AMDlloydsp
Posts: 99
Joined: Mon Apr 15, 2013 3:51 pm
Location: NE Central FL

Powering up with debug dongle still connected

Post by AMDlloydsp »

Bruce,
This one's only an inconvenience right now, but a pretty difficult one. Maybe you have a solution.

The SuperPro won't power up running unless the debug dongle is unplugged. Ok... for almost anything I can think of, one wouldn't WANT the debug dongle installed except when debugging. But... <G>

Because my hardware is running in an explosive atmosphere, each enclosure must be sealed and pressurized, per NFPA-496. That means that it's pretty darned difficult to physically get to the dongle plugs in the enclosures inside the 'zone'.

My optimum solution would be to install a dongle permanently in each box (of five), and run the USB cable out to a 'safe' location (only four feet away, but in another room).
But when I do that, the board won't reset in the running mode; presumably expecting a 'run' command from the debug port.

Is there a reasonably easy way to solve this?

(I might add, no Windows are harmed in this production. No Windows are involved, except for the programming. It's all stand-alone SuperPros running the show.)

Thanks for the help.
Lloyd



basicchip
Posts: 1090
Joined: Fri Oct 19, 2012 2:39 am
Location: Weeki Watchee, FL
Contact:

Re: Powering up with debug dongle still connected

Post by basicchip »

This is covered in the help files--

http://www.coridium.us/ARMhelp/index.ht ... SCHrs.html

http://www.coridium.us/ARMhelp/index.ht ... wRESET.htm

Disconnect the BOOT signal which is the one that can force the board into ISP mode and it doesn't start the BASIC program. That will give you the ability to reset from BASICtools.

If it still comes up with RESET asserted, you will need to disconnect that as well (this depends on what is connected to the USB)

In order for you change the BASIC program, you will have to put something in your program that monitors the serial line for a special character or sequence, at which point your BASIC program should execute an END which would put it back into a mode that can be loaded from BASICtools

AMDlloydsp
Posts: 99
Joined: Mon Apr 15, 2013 3:51 pm
Location: NE Central FL

Re: Powering up with debug dongle still connected

Post by AMDlloydsp »

Thanks, Bruce. I think cutting the two lines and adding some recognition code in the program will do it to meet our needs.

I'm glad it wasn't more complex than that.

Lloyd

Post Reply