Atom Pro IDE 8.0.1.7 crash caused by Logitec driver

hi all

I don’t know if this is the place to ask this?

i have an atom pro28, am asing IDE 8017, through anUSB to Serial cable from Radioshack, on aN HP Pavilon laptop.

every time i open a *.bas file and try to do any thing like build or debug i get an error message and the program is closed.

When i went to tools and told the program to find an atompro it responded not found.

the power ison on my BB the green led is lit. and i hear the clicking from the chip.

what do i need to do to get this to program the atom chip???

Larry in alaska

Hi lseguine:

The first thing I would try is to reinstall the software and make sure that your file is compatible with that version. Otherwise install the software in a different machine and test. This way you will know if it is your computer setup or the application.

Tips for all:

In general, its always a good way to debug any problem by “component substitution”. Swap out components one at a time until you determine which one is causing the problem. Obviously this applies not only to software.

Migs

hi

well i had already reloaded the ide program, then changed from 8013 to 8017 version with the same luck. i keep getting a message that the ide has encountered a problem and has to shutdown. also when i tell the program to find the atompro it says it can’t find it.

i found an older USB hub that has an external power supply, and tried it same thing. i don’t know how to find the power maping stuff. to see how the power is being used on this laptop. the only thing pluged in on it is the one USB to the ABBii.

i daringly sliped into my other halfs puter room and found a real serial port on the backof her puter and loaded the ide 8017 powerpod seq programs and tried working the atom from this setup the IDE was able to find the atompro but any attempt to download program or bild a program get me the same message “encountered a problem and have to shutdown”.

So what do i do now??? any suggestions??

larry

Not meaning to pick, but are you un-installing it, or just reinstalling it?

Are you making sure to save the program as a *.BAS file before trying to program the Atom with it? If it’s saved as an *.txt or something else it will cause problems.

Here is a forum sticky to help you make sure the USB is set up properly. Can you look through it?
lynxmotion.net/viewtopic.php?t=3485

I don’t know about the “encountered a problem” thing. I’ve never heard of that one. But it sounds like a computer problem, not a USB or Atom Bot Board problem.

First let me be clear you are seeing two different problems. The problem fining the module on the USB adapter serial port is problem 1. The crash is problem 2.

Problem 1.
Possibly the Radio Shack USB to Serial just won’t work correctly for our purposes. The RTS and DTR pins must be functional but some USB to Serial do not have this. Also Some USB to Serial will be too slow to properly connect to a module. You can try increasing you Reset Hold time to 100 or lowering it to 5 or 10. If neither lets you find the module then the adapter is probably not going to ever work. I recommend you get a Prolific based USB to Serial. Prolific is the brand name of a specific USB to Serial chip. Many adapters use them but most won’t tell you on the box.

Problem 2.
Please post the .BAS file you are compiling. Since the same crash happened on two different computers and one was a clean install of 8.0.1.7 the problem is most likely in the .BAS file. You may also want to copy and past the text from the .BAS file you are compiling and put it into a new text file. I’ve seen a handful of cases where the file got corrupted with non-printing characters(eg invisible) and caused the compiler to crash. Note that if the “This program…” message pops up only when you click the Compile/Build, Program or Debug buttons the crash is happening in the compiler and not the IDE. The compiler is a seperate .exe called by the IDE. That would definitely indicate the compiler doesn’t like something in your .BAS file.

sorry but its me again:)

i have comlletly uninstalled the programs and re downloded and installed them on two different machines. the software i have tried to build came with one of the downloads as a test program. i also tried using the program generated by powerpod for the ch3r bot. it said it ws saved as a *.BAS file and the other tst files appear as *.BAS.

i was just wanting something to download to see if things were working right.

i will go a looking for that USB converter you mentioned but will have to go via internet, just way to far to drive to the nearest store, like 800 miles. :laughing:

attached is one of the BAS files i have ben trying.

nn var byte

ledA var bit
ledB var bit
ledC var bit

butA var bit
butB var bit
butC var bit

prev_butA var bit
prev_butB var bit
prev_butC var bit
temp var word

BUTTON_DOWN con 0
BUTTON_UP con 1

ledA = 0
ledB = 0
ledC = 0
butA = 0
butB = 0
butC = 0

nn = 0

'Wiggle LEDs
main:

adin ax0,2,ad_ron,temp
serout S_OUT,i57600,[dec6 temp\6," ",13]

if (butA = BUTTON_DOWN) AND (prev_butA = BUTTON_UP) then
	nn = nn + 1
	sound P9,[5\2500]
	low P9
endif
if (butB = BUTTON_DOWN) AND (prev_butB = BUTTON_UP) then
	nn = nn - 1
	sound P9,[10\1000]
	low P9
endif
if (butC = BUTTON_DOWN) AND (prev_butC = BUTTON_UP) then
	nn = 0
	sound P9,[10\4000]
	low P9
endif

ledA = nn.BIT0
ledB = nn.BIT1
ledC = nn.BIT2

if ( nn.BIT0 = 1 ) then
	high p0
	high p8
	high p4
else
	low p0
	low p8
	low p4
endif
if ( nn.BIT1 = 1 ) then
	high p1
	high p5
else
	low p1
	low p5
endif
if ( nn.BIT2 = 1 ) then
	high p2
	high p10
	high p6
else
	low p2
	low p10
	low p6
endif
if ( nn.BIT3 = 1 ) then
	high p3
	high p7
	high p11
else
	low p3
	low p7
	low p11
endif


pause 50

prev_butA = butA
prev_butB = butB
prev_butC = butC
gosub button_led_control

goto main

'Subroutine to read the buttons and control the LEDs. Button states are put in
'variables butA, butB, and butC. LED states are read from variables ledA, ledB,
'and ledC.
button_led_control:
'Make P4-P6 inputs to read buttons. This turns the LEDs off briefly
input p12
input p13
input p14
butA = IN12
butB = IN13
butC = IN14

'Output LOW to each LED that should be on
if ledA = 1 then
	low p12
endif
if ledB = 1 then
	low p13
endif
if ledC = 1 then
	low p14
endif

that is one
larry

I have 8.0.1.7 installed on my machine. I have an Atom Pro 28 and I have selected it in drop down next to debug. When I try to compile the test program it simply gives me an error on line 31 (ADIN). The format of the adin command is different on the pro…

changed it to: adin p0,temp

Compiles fine now. Not sure what else to do to try to help…

Kurt

So the above program still crashes the IDE on two machines?

I just programmed an Atom Pro 28 with that code. There was an error on line 31 due to the Atom Pro having a different A to D input command structure, but after changing it the program worked fine.

'adin ax0,2,ad_ron,temp adin p16,temp

I know you tried it with a HP laptop. Laptops can be temperamental. What’s the other machine?

Do you have any other programs loaded?

Anything unusual about your computer setup? What’s the OS?

Also did you look at the serial port driver setup information in this link?
lynxmotion.net/viewtopic.php?t=3485

Also make sure you have the correct chip selected in the Drop Down just above the editor window.

ok

i looked at the forum jim, have my settings at 4,4 nothing. i dont know how to find or change power maping settings.

i changed line 31 to adin p0,temp and still get the sorry but atompro ide encountered a problem and has to shutdown.

this happened on both machines. 1 is hp laptop Pavilion zv6233nr with windows xp home , 2 is a compaq Presario not sure which model but its about 6 or 7 years old, running windows xp home. both have been updated fairly reguler. the only thing i know that is running when i try this stuff is, wireless internet conections, probably a firewall and antivirus software. i am using avg on both machines as amy antivirus.

i have atompro 28 selected.

i have c# instslled on both puters also.

i have also installed and run MSrobot developer software.the visualbasic stuff

so guys what am i doing wrong here???

larry

We are running and falling down over and over, let’s try to take a baby step or two. I spoke with Nathan about this. He recommends you type in a simple program, stating specifically for you to NOT cut and paste it in. Like the following…

Start: high p12 pause 1000 low p12 pause 1000 goto start

See if it will compile and program. This will blink the red LED at 1 second intervals assuming the LED / switch enable jumper is installed. Let us know if this works.

He states that this appears to be specific to your machines as there has been no other reports of the IDE crashing. It could be caused by another program running, or a virus. If the simple program you type in works then something could be adding non printable characters to *.BAS files you copy and paste or use windows to move or open. To eliminate an errant program from causing problems you should try closing all unnecessary programs and try the LED blinker code again. Troubleshooting things like this is a process of elimination. BTW I was wrong before. To be clear, the IDE crashing can not be caused by the serial port. It’s something else.

well the simple program did not work either. still get the encounter problem message.

in opening the message, which is a report back to microsoft type message, i get
"AppName: atompro.exe AppVer: 1.0.0.0 ModName: lvprcini.dll ModVar: 9.0.1.1070 offset 00002af2

if that helps any?
:unamused:

Maybe… Are you sure of the spelling of the mod name? If it were actually lvprcinj.dll then Google wants to associate it with a Logitec device driver. If you have any Logitec device drivers installed that you can remove and try it again it may be the problem.

Ahhhh haaaaa :bulb:

well these tirdold eyes sometimes miss read things and yes it was a j not l

so i am in the process of removing logitech software from the system now
well see what comes from that

:laughing: :laughing: :laughing: YAHOOOOOOOOOOOOOOOOO it works it works

at least the siple program works

now to see if it will load the powerpod version

it works mmmmmmm it works

Whew! wipes sweat from eyebrow. :wink: What device was the driver for? Is it old? Are their updated drivers for it. We still need to figure out why it crashed the IDE.

jim

well what i can tell you was that it was logitech quick cam version 10.5.1.2029.

i loaded it in april 2007. loaded several extras to be able to make timelaps vids. i uninstalled the copies i had on the old compaq which god only knows when i loaded it there for the first time.

i’ll try digging around here on my laptop befor i uninstall it. and see if i can find out anyother info.