Hi to all, I'm using PCBUG11 to program a 68HC11A1P. But the program fails to communicate with the chip. I tried connecting XIRQ to Rx, with PCbug11.exe -xA port=1 on the command line. And connecting XIRQ to Vdd via a 90 ohm resistor, with PCbug11.exe - A port=1 on the command line. Both don't work. In these two cases, when Pcbug11 enters, I typed control timeout 4000 ( I also tried 40000) then CTRL R ( I also tried the restart and restart -xE options) but it keeps telling Communication Failed!! So I doubted about the COM1 on my PC, and I tried a Java program with the MAX232 having Tx and Rx ( on the TTL side ) tied together, and I received every byte I sent... What's left ? the chip ? I tried WinBug11 and JBug11 and another program too. In WinBug11 and JBug11, I got an error when loading the .s19 (actually forgot in which program :$). In another program (French interface, I think it's test mic11), it read the chip successfully, and successfully loaded the monitor into the chip -- as it said. But I didn't know how to load an .s19 using this program.... Possible Hardware connection error: DB-9 pin 1 (DTR): Is this pin critical when using MAX232 ? I tried connecting it to the other unused Rx on the MAX232, then NOT CONNECTED, then to GND via a 5Kohm resistor ('cause I saw that the MAX232 has a 5K resistor to GND on its Rx input, and the corresponding Tx output is unused...) It's really disappointing having to try all combinations without success!! :(:(:( Are there recommendations/check ups that can help ? Thanks in advance, Roger Tannous. |
PCBUG11 fails Communication
Started by ●March 18, 2005
Reply by ●March 18, 20052005-03-18
Correction DB-9 pin 1 is CD (Carrier Detect, not DTR) --- In , "micro controller" <microcontroller2002@y...> wrote: > > Hi to all, > > I'm using PCBUG11 to program a 68HC11A1P. > But the program fails to communicate with the chip. > I tried connecting XIRQ to Rx, with PCbug11.exe -xA port=1 on the > command line. > And connecting XIRQ to Vdd via a 90 ohm resistor, with PCbug11.exe - > A port=1 on the command line. > > Both don't work. > > In these two cases, when Pcbug11 enters, I typed > control timeout 4000 ( I also tried 40000) > then CTRL R ( I also tried the restart and restart -xE options) > but it keeps telling Communication Failed!! > > So I doubted about the COM1 on my PC, and I tried a Java program > with the MAX232 having Tx and Rx ( on the TTL side ) tied together, > and I received every byte I sent... > > What's left ? the chip ? I tried WinBug11 and JBug11 and another > program too. In WinBug11 and JBug11, I got an error when loading > the .s19 (actually forgot in which program :$). > In another program (French interface, I think it's test mic11), it > read the chip successfully, and successfully loaded the monitor into > the chip -- as it said. But I didn't know how to load an .s19 using > this program.... > > Possible Hardware connection error: > DB-9 pin 1 (DTR): Is this pin critical when using MAX232 ? > I tried connecting it to the other unused Rx on the MAX232, then NOT > CONNECTED, then to GND via a 5Kohm resistor ('cause I saw that the > MAX232 has a 5K resistor to GND on its Rx input, and the > corresponding Tx output is unused...) > > It's really disappointing having to try all combinations without > success!! :(:(:( > > Are there recommendations/check ups that can help ? > Thanks in advance, > Roger Tannous. |
Reply by ●March 21, 20052005-03-21
Hi I do have these problems. It is because the processor chip os too fast that the program Pcbug11 cannot be used on fast processor. Later i used Winbug and Jcbug11. Winbug can be used on winNT or win98. Sometime it oso give communication error. Jcbug11 i didnt try as i oso give me problem on communication error, It is either you used PC of processor 486 or slower; Or you can try using Xload or MicroLoad to download to you microcontroller. they are both available in the website of technological arts. good luck on trying, Regards HuiChen micro controller <> wrote: Hi to all, I'm using PCBUG11 to program a 68HC11A1P. But the program fails to communicate with the chip. I tried connecting XIRQ to Rx, with PCbug11.exe -xA port=1 on the command line. And connecting XIRQ to Vdd via a 90 ohm resistor, with PCbug11.exe - A port=1 on the command line. Both don't work. In these two cases, when Pcbug11 enters, I typed control timeout 4000 ( I also tried 40000) then CTRL R ( I also tried the restart and restart -xE options) but it keeps telling Communication Failed!! So I doubted about the COM1 on my PC, and I tried a Java program with the MAX232 having Tx and Rx ( on the TTL side ) tied together, and I received every byte I sent... What's left ? the chip ? I tried WinBug11 and JBug11 and another program too. In WinBug11 and JBug11, I got an error when loading the .s19 (actually forgot in which program :$). In another program (French interface, I think it's test mic11), it read the chip successfully, and successfully loaded the monitor into the chip -- as it said. But I didn't know how to load an .s19 using this program.... Possible Hardware connection error: DB-9 pin 1 (DTR): Is this pin critical when using MAX232 ? I tried connecting it to the other unused Rx on the MAX232, then NOT CONNECTED, then to GND via a 5Kohm resistor ('cause I saw that the MAX232 has a 5K resistor to GND on its Rx input, and the corresponding Tx output is unused...) It's really disappointing having to try all combinations without success!! :(:(:( Are there recommendations/check ups that can help ? Thanks in advance, Roger Tannous. --------------------------------- Yahoo! Groups Links To --------------------------------- |
Reply by ●April 2, 20052005-04-02
HuiChen,
The PC is a Pentium IV with 1GB or RAM.
Should a big value used in
CONTROL TIMEOUT bigValueHere
solve the problem even if the PC is relatively fast? I tried many big values but the problem was not solved.
So I doubt about the chips now. Is there any way to detect whether
the SCI interface is defective while "spying" on the data flow that
the MCU sends to a PCbug11 session ? Does anyone have an idea about
this ?
This is what I thought I can do, I can send the data sent from the
MCU to the COM Port ( finally reaching PCbug11 software ) to another
Port ( on my PC, I have the Parallel Port left, unless I use USB
which is not possible for the time being 'cause I don't know details
about the USB protocol ) and display and save that data and compare
it to a known-good version :)
Can anyone help please ?
Best Regards,
Roger Tannous.
--- In m68HC11@m68H..., ng seng lee <senglee88@y...> wrote:
> Hi
>
> I do have these problems. It is because the processor chip os too
fast that the program Pcbug11 cannot be used on fast processor.
Later i used Winbug and Jcbug11. Winbug can be used on winNT or
win98. Sometime it oso give communication error. Jcbug11 i didnt try
as i oso give me problem on communication error,
>
> It is either you used PC of processor 486 or slower; Or you can
try using Xload or MicroLoad to download to you microcontroller.
they are both available in the website of technological arts.
>
> good luck on trying,
>
> Regards
> HuiChen
>
> micro controller <microcontroller2002@y...> wrote:
>
> Hi to all,
>
> I'm using PCBUG11 to program a 68HC11A1P.
> But the program fails to communicate with the chip. > I tried connecting XIRQ to Rx, with PCbug11.exe -xA port=1 on the
> command line.
> And connecting XIRQ to Vdd via a 90 ohm resistor, with
PCbug11.exe -
> A port=1 on the command line.
>
> Both don't work.
>
> In these two cases, when Pcbug11 enters, I typed
> control timeout 4000 ( I also tried 40000)
> then CTRL R ( I also tried the restart and restart -xE options)
> but it keeps telling Communication Failed!!
>
> So I doubted about the COM1 on my PC, and I tried a Java program
> with the MAX232 having Tx and Rx ( on the TTL side ) tied
together,
> and I received every byte I sent...
>
> What's left ? the chip ? I tried WinBug11 and JBug11 and another
> program too. In WinBug11 and JBug11, I got an error when loading
> the .s19 (actually forgot in which program :$).
> In another program (French interface, I think it's test mic11), it
> read the chip successfully, and successfully loaded the monitor
into
> the chip -- as it said. But I didn't know how to load an .s19
using
> this program....
>
> Possible Hardware connection error:
> DB-9 pin 1 (DTR): Is this pin critical when using MAX232 ?
> I tried connecting it to the other unused Rx on the MAX232, then
NOT
> CONNECTED, then to GND via a 5Kohm resistor ('cause I saw that the
> MAX232 has a 5K resistor to GND on its Rx input, and the
> corresponding Tx output is unused...)
>
> It's really disappointing having to try all combinations without
> success!! :(:(:(
>
> Are there recommendations/check ups that can help ?
> Thanks in advance,
> Roger Tannous. >
>
> ---------------------------------
> Yahoo! Groups Links
>
> To >
>
> ---------------------------------
>