Subject: Atmel and ZBasic Rotary engine Compression tester is working.
From: Rotary Engine
Date: 5/18/2010, 7:27 PM
To: AAA Put this in the To box



 I suggest if you are interested in this system you make
 a folder and drag over all the many future messages on this
 subject otherwise delete it.


 http://www.zbasic.net/

 So simple a caveman like me can do it.

 Paul Lamar


 Paul,

 Can you walk me through this process.  I have the ZX board connected via
 USB.  (jumper J19 changed to USB; SW3 set to USB; FT232R s/w downloaded.
 Board appears to be working (green LED flashed a few times and the red
 LED
 is on steady.  Got message that device has been configured.  However, I
 never saw the "Hello..." message.

 How do I proceed.  I've opened the ZBasic IDE program and it appears to
 be
 running.  The compression-test1.bas is showing.  Where do I go from here?

 Thanks,
 Mark


 Update...

 I compiled the compression-test1.bas and got this error:

 "C:\Program Files (x86)\ZBasic\zbasic.exe"  --target-device=ZX24
 --directory="C:\Users\Mark\ZBasic/" "CompTest.bas"
 CompTest.bas:2: Warning(3): parameter 1 of ADCtoCom1, pin 82 (&H52) is not
 a
 valid ADC pin for target processor "ZX24"
 No errors.  Target device: ZX24, Code: 43 bytes, RAM: 0 bytes, Persistent
 memory: 0 bytes
 Exit code: 0

 Any suggestions?

 Mark S.

 Go into the options menu scroll down to device options
 and type ZX-1280n in the target device window.

 click OK


 Paul Lamar

 --
 The Rotary Engine NewsLetter. Powered by Linux.
 ACRE NL web site. http://www.rotaryeng.net
 Youtube key word PaulLamar2
 Copyright 1998-2010 All world wide rights reserved.

 Paul,

 OK, I had initially downloaded the latest version, but went back and
 downloaded the self executing driver.  Then, as you state above,I changed
 device options to ZX-1280n, pressed "Reset",  I then tried to compile and
 got this message,

 "C:\Program Files (x86)\ZBasic\zbasic.exe"  --target-device=ZX1280n
 --directory="C:\Users\Mark\ZBasic/" "compression-test1.bas"
 Error: one or more errors occurred in the back-end build process for
 "compression-test1.zxb"
 Exit code: 1

 Any suggestions?

 Thanks,
 Mark


Paul,

I tried typing in the sample program on pg 1 & 2 of the manual that flashes
the red and green LEDs.  I compiled it and got the same error message as I
got with your program, i.e. Error: one or more errors occurred in the
back-end build process for "FlashLED.zxb".  So, the problem may be
something
more generic.  I'll try looking through the manual for some guidance.

Thanks,
Mark

Are you running XP? Do you want me to post the problem on the forum?

Paul Lamar

I just discovered something Mark. Sometimes for some strange reason
the USB interface shuts off. There is no indication when this happens
other than when you select go nothing goes out in the lower
window. The trick is quit the IDE with everything hooked up
and re execute the IDE. It then reestablishes the USB connection.
 I am not sure this is your problem but this had me stumped for a
couple of hours.

Paul Lamar

Paul,

I went to the ZBasic user's forum and tried to register.  It says the web
page is not available.  ;-(   So, if you don't mind, will you post this for
me?

Thanks,
Mark

OK.

Paul Lamar

-- 
The Rotary Engine NewsLetter. Powered by Linux.
ACRE NL web site. http://www.rotaryeng.net
Youtube key word PaulLamar2
Copyright 1998-2010 All world wide rights reserved.