Viewport loading problem
kenmac
Posts: 96
Hi folks,
I recently installed the free version of Viewport V4 on to a Win XP PC.
Then I attempted to load the counter program as per the manual.
It came up with the following error:
"CHANGE PACKET SIZE
Problem connecting
Detail:
Arithmetic operation resulted in overflow."
I tried again on another (more modern) XP machine - still the same result!
What is happening here?
kenmac
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Perth, Western Australia
Time Zone = GMT + 8
I recently installed the free version of Viewport V4 on to a Win XP PC.
Then I attempted to load the counter program as per the manual.
It came up with the following error:
"CHANGE PACKET SIZE
Problem connecting
Detail:
Arithmetic operation resulted in overflow."
I tried again on another (more modern) XP machine - still the same result!
What is happening here?
kenmac
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Perth, Western Australia
Time Zone = GMT + 8
Comments
Can you give me a couple more details?
- Do the tutorials work for you? (Select 01_Four_Bit_Counter, click "load", and the logic state analyzer display should show "binary counting on 4 IO lines")
- What counter program did you copy? This (copied from help.chm: "Integrating your program with viewport"-"Integrate viewport into spin code") worked for me:
CON
_clkmode = xtal1 + pll16x
_xinfreq = 5_000_000
OBJ
vp:"Conduit"
VAR
long a,b
PUB count
vp.share(@a,@b)
b:=1000
repeat
a++
if a>b
a~
(copy these lines into your propeller tool, click f11, then click the "load" button in ViewPort.)
If this spin code works, please send me the spin code that didn't work...
The error indicates to me that your baud rate after connecting is 0... That shouldn't happen....
Hanno
Yes, the Four bit counter loads/works OK.
It's OK - I have just realised that it was caused by my typing error!
I left out the @ symbols in the "vp.share(@a,@b)" - it isn't picked up as a syntax error.
It is working OK now.
Sorry to bother you.
kenmac
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Perth, Western Australia
Time Zone = GMT + 8