Re: [Simulavr-devel] Help with New Example

2009-03-30 Thread Schwichtenberg, Knut
First of all I have to highlight an error in my previous mail: I could *NOT* get the transmission from the PC to the feedback demo to work! Sorry, but reading and pressing the send button seems to been done by different persons inside me :-). Joel Sherrill wrote: >>What I could get to work

Re: [Simulavr-devel] Help with New Example

2009-03-30 Thread Joel Sherrill
Knut Schwichtenberg wrote: Joel Sherrill wrote: Is the pin toggling high and low like the serial data going out? Does the feedback "receiver" need to read 8 bits and reassemble them? If so, is "changeValue" actually the value of a "pin state" (e.g. high, low, etc) So my other traces ar

Re: [Simulavr-devel] Help with New Example

2009-03-30 Thread Knut Schwichtenberg
Joel Sherrill wrote: > Is the pin toggling high and low like the serial data going out? > Does the feedback "receiver" need to read 8 bits and reassemble them? > > If so, is "changeValue" actually the value of a "pin state" > (e.g. high, low, etc) So my other traces are done and here is the full t

Re: [Simulavr-devel] Help with New Example

2009-03-30 Thread Joel Sherrill
Joel Sherrill wrote: Knut Schwichtenberg wrote: Joel, Joel Sherrill wrote: All the set serial commands I see are like this: FDBK RECV: --->set serialRx0 0x0<--- FDBK SET: serialRx0 ChangeValue 0x0 They all have 0 and that doesn't seem right. :( Keep cool ;-). I copied

Re: [Simulavr-devel] Help with New Example

2009-03-30 Thread Joel Sherrill
Knut Schwichtenberg wrote: Joel, Joel Sherrill wrote: All the set serial commands I see are like this: FDBK RECV: --->set serialRx0 0x0<--- FDBK SET: serialRx0 ChangeValue 0x0 They all have 0 and that doesn't seem right. :( Keep cool ;-). I copied only the first part of that window i

Re: wish versus tclsh was Re: [Simulavr-devel] Help with New Example

2009-03-30 Thread Joel Sherrill
Knut Schwichtenberg wrote: Joel Sherrill wrote: Knut Schwichtenberg wrote: Also "-d" is not interpreted as expected :-((. The X-Windows catches the command-line and removes "-d" as displaynumber. "-D" works if changed. -d to what program? I thought simulavr.tcl was

Re: wish versus tclsh was Re: [Simulavr-devel] Help with New Example

2009-03-30 Thread Knut Schwichtenberg
Joel Sherrill wrote: > Knut Schwichtenberg wrote: >> Also "-d" is not interpreted as expected :-((. The X-Windows catches the command-line and removes "-d" as displaynumber. "-D" works if changed. >>> -d to what program? I thought simulavr.tcl was handling it ok. >

Re: [Simulavr-devel] Help with New Example

2009-03-30 Thread Knut Schwichtenberg
Joel, Joel Sherrill wrote: > All the set serial commands I see are like this: > > FDBK RECV: --->set serialRx0 0x0<--- > FDBK SET: serialRx0 ChangeValue 0x0 > > They all have 0 and that doesn't seem right. :( Keep cool ;-). I copied only the first part of that window into the mail. The PC I'm wr

wish versus tclsh was Re: [Simulavr-devel] Help with New Example

2009-03-30 Thread Joel Sherrill
Knut Schwichtenberg wrote: Also "-d" is not interpreted as expected :-((. The X-Windows catches the command-line and removes "-d" as displaynumber. "-D" works if changed. -d to what program? I thought simulavr.tcl was handling it ok. Sorry, it was simulavr.tcl. "simulavr.tcl"

Re: [Simulavr-devel] Help with New Example

2009-03-30 Thread Joel Sherrill
Knut Schwichtenberg wrote: Joel Sherrill wrote: That's what I get also. But shouldn't I see characters that are written to the UART in the feedback window? Well, with the GUI the characters are moved into the related object and if the feedback window is the character equivalent for the

Re: [Simulavr-devel] Help with New Example

2009-03-29 Thread Knut Schwichtenberg
Joel Sherrill wrote: > That's what I get also. But shouldn't I see characters that > are written to the UART in the feedback window? Well, with the GUI the characters are moved into the related object and if the feedback window is the character equivalent for the GUI, I would expect one set of cha

Re: [Simulavr-devel] Help with New Example

2009-03-29 Thread Joel Sherrill
Knut Schwichtenberg wrote: Joel Sherrill wrote: Great. Now you are as far as I am. Did the "simfeedback.tcl" show up in an xterm and print messages which look like it is getting the events but no data from the UART? Something like this? :-) New Connection on Simulation Feedback Serve

Re: [Simulavr-devel] Help with New Example

2009-03-29 Thread Knut Schwichtenberg
Joel Sherrill wrote: > Great. Now you are as far as I am. Did the "simfeedback.tcl" show > up in an xterm and print messages which look like it is getting the > events but no data from the UART? Something like this? :-) New Connection on Simulation Feedback Server established! Socket: sock4 fro

Re: [Simulavr-devel] Help with New Example

2009-03-29 Thread Knut Schwichtenberg
Joel Sherrill wrote: > Knut Schwichtenberg wrote: > OK. Makes perfect sense. Eventually I will need to find something > the real application is not using if I want debug IO. Luckily in this > case, I think they are using one of the UARTs for debug IO but for > testing the feedback, I wanted all

Re: [Simulavr-devel] Help with New Example

2009-03-29 Thread Joel Sherrill
Knut Schwichtenberg wrote: Joel Sherrill wrote: Knut Schwichtenberg wrote: Joel Sherrill wrote: Knut Schwichtenberg wrote: Joel, I tried your example and currently I don't understand your example. And therefore please explain the details. Using 0x20 / 0x21 means

Re: [Simulavr-devel] Help with New Example

2009-03-29 Thread Knut Schwichtenberg
Joel Sherrill wrote: > Knut Schwichtenberg wrote: >> Joel Sherrill wrote: >> >>> Knut Schwichtenberg wrote: >>> Joel, I tried your example and currently I don't understand your example. And therefore please explain the details. Using 0x20 / 0x21 means PINF and PINE

Re: [Simulavr-devel] Help with New Example

2009-03-28 Thread Joel Sherrill
Knut Schwichtenberg wrote: Joel Sherrill wrote: Knut Schwichtenberg wrote: Joel, I tried your example and currently I don't understand your example. And therefore please explain the details. Using 0x20 / 0x21 means PINF and PINE as IO - you can't use these addresses on a M128 without a

Re: [Simulavr-devel] Help with New Example

2009-03-28 Thread Knut Schwichtenberg
Joel Sherrill wrote: > Knut Schwichtenberg wrote: >> Joel, >> >> I tried your example and currently I don't understand your example. And >> therefore please explain the details. >> Using 0x20 / 0x21 means PINF and PINE as IO - you can't use these >> addresses on a >> M128 without a look to the HW-m

Re: [Simulavr-devel] Help with New Example

2009-03-28 Thread Joel Sherrill
Knut Schwichtenberg wrote: Joel, I tried your example and currently I don't understand your example. And therefore please explain the details. Using 0x20 / 0x21 means PINF and PINE as IO - you can't use these addresses on a M128 without a look to the HW-manual. I was trying to copy the stdi

Re: [Simulavr-devel] Help with New Example

2009-03-28 Thread Knut Schwichtenberg
Joel, I tried your example and currently I don't understand your example. And therefore please explain the details. Using 0x20 / 0x21 means PINF and PINE as IO - you can't use these addresses on a M128 without a look to the HW-manual. Also "-d" is not interpreted as expected :-((. The X-Windows c

Re: [Simulavr-devel] Help with New Example

2009-03-27 Thread Joel Sherrill
Michael N. Moran wrote: Joel Sherrill wrote: But at this point I don't seem to be able to get the UART data I am transmitting to show up in the "simfeedback.tcl" program. It is getting events but the data is printed as 0. Yesterday, I was struggling to debug simulavrxx as realized b

Re: [Simulavr-devel] Help with New Example

2009-03-27 Thread Michael N. Moran
Joel Sherrill wrote: But at this point I don't seem to be able to get the UART data I am transmitting to show up in the "simfeedback.tcl" program. It is getting events but the data is printed as 0. Yesterday, I was struggling to debug simulavrxx as realized by the "examples/spi/check.tcl."

[Simulavr-devel] Help with New Example

2009-03-27 Thread Joel Sherrill
Hi, My ultimate goal is to be able to test an application running on simulavr. I want to pretend to be the devices it is attached to and exercise the application as on real hardware. In this light, I have added "examples/feedback". The goal will be to demonstrate that you can programmaticall