Programming Problem

Hi all,

I finaly started programming my robot.

Now i only want to send the Phoenix 2.0 program to my BasicAtom Pro 28 witch is on a botboard.

I am able to program the v1.3 with Atom Pro IDE v8.0.1.7. But i cant get the Phoenix 2.0 to program.
I have try with Atom Pro IDE v8.0.1.7 and Basic Mircro Studio 2.0.0.5 but both give me error:

Preparing files... C:\USERS\DIALFONZO\DESKTOP\4DOFHEX_V20\4DOFHEX_CFG.BAS C:\USERS\DIALFONZO\DESKTOP\4DOFHEX_V20\4DOFHEX_V20.BAS C:\USERS\DIALFONZO\DESKTOP\4DOFHEX_V20\PHOENIX_CONTROL_DIY-RC.BAS Compiling... Error: FILE C:\USERS\DIALFONZO\DESKTOP\4DOFHEX_V20\4DOFHEX_V20.BAS(LINE 1060) : [TOKEN INC] : Redefining to VAR Error: FILE C:\USERS\DIALFONZO\DESKTOP\4DOFHEX_V20\4DOFHEX_V20.BAS(LINE 125) : [TOKEN CRMCOXAPIN] : Expected a constant Errors Detected

I don’t know what i am making wrong

What files are you using?

Sorry wrong paste

Preparing files…

it’s more like that

I’m not sure if Xan has posted a working Phoenix V20 code for the latest studio (after 2.x.x.x).

I’m using the code I posted in my T-Hex thread, based on Kurt’t latest code.

If you want help on your code you’ll need to also post the line of code that the error are referring to.

Yep, the main tutorials have not been updated yet. See the thread: viewtopic.php?f=13&t=7021&p=69042&hilit=timerw%E2%80%A6#p69042

In here I showed how to fix the problem…

Kurt

Software:

EDIT: link takes you to an earlier version. i pasted it form here lynxmotion.sschost.com/images/html/build148.htm

were is v8.0.1.8?

Tanks a lot
That has solve my building problem… :wink:

I have those 2 error when trying to compile the Phoenix V20
The mod from Kurt is done and the relating error is gone.

Error: FILE C:\USERS\DIALFONZO\DESKTOP\PHOEN20\PHOENIX_CONTROL_DIY-RC.BAS(LINE 359) : [TOKEN INC] : Redefining to VAR Error: FILE C:\USERS\DIALFONZO\DESKTOP\PHOEN20\PHOENIX_CONTROL_DIY-RC.BAS(LINE 360) : [TOKEN INC] : Redefining to VAR

EDIT: I am on Basic Micro Studio 2.0.0.5
phoenix v20.zip (46.9 KB)

I have installed “Basic Micro Studio 1.0.0.15” and it run the Phoenix v20.prj without error now.

Lynxmotion download page:
lynxmotion.sschost.com/ViewPage.aspx?ContentCode=atomdl
Tanks: "innerbreed "

Side question is:

Do you know a good Usb Serial adaptor that work ?
Since mine is not compatible and i don’t want to buy something that don’t work.

I have a fixed pc with a Com1 but i would like to use my laptop.

Tanks again all for helping “Idiot” like me…

Personally I would go with the more recent versions of studio as these versions have fixed several things since the earlier builds…

If the only problem you had was with the inc assembly language commands being misinterpreted and giving you the error about redefining… I have posted the fix for this several times now at least for the timer. The fix for the RC assembly code is the same…

As for USB to serial adapters, Lynxmotion sells one: lynxmotion.com/p-699-usb-to- … cable.aspx. Most people have better luck with ones like this which are FTDI based. The main one I use is one by BAFO which is prolific based. However this one only worked for me once I started to use an external powered USB hub. Once I got it working I did not want to switch back to FTDI as this one is probably twice as fast (if not more) on the downloads.

Kurt

P.S. - I downloaded the RC version from the tutorial, did the quick asm { } around the two pieces of assembly code that was complaining, compiled it to make sure. Repacked into the zip file and uploaded…
phoe2diy.zip (16.8 KB)

Installed Basic Micro Studio 2.0.0.5 and run your file and it work. I have also updated my “LittleQuadra” code as you say and it work too…

Link to LittleQuadra:
lynxmotion.net/viewtopic.php?f=8&t=6951&start=45#p69181

Is there difference between on pc an another ? Like Windows7 32bit and 64bit.

Hrmmmm…

Why install 2.0.0.5 when 2.0.0.8 is the newest ??? :open_mouth:

downloads.basicmicro.com/downloa … -0-0-8.exe

LOL

It’s not on the Basic Micro website…!!

basicmicro.com/Downloads_ep_43.html

Yep, it takes them forever to update their website, which is why Nathan (AcidTech) posts information about new builds in the news section of their forum:
forums.basicmicro.net/news-f481/

When I see a new release come out I try to run it and then post information about what changed in the thread: viewtopic.php?f=4&t=5463

Kurt

We post the latest release on the forums, but those are fresh releases that may have problems. We keep the latest known stable release on the website for a while before updating the website download to the new release. You can see we updated from 2005 to 2008 in only a couple weeks.