Software > Software

8 characters in the path or file name ? and starting AXON not on USB...

<< < (3/4) > >>

Lester:
voltage comes up quickly and actually a little overshoot but settles in after a couple of seconds.

I'll get back here after I get some of the routines of the DroneCell under new program control again.

In the meantime I'd settle for controlling the blinking cursor  :)

Gertlex:
Regular flashing LEDs mean errors.  See the errors.h file in the Webbotlib 2.0x folder.  Going by my understanding of the comments in that file, 8 flashes means you're getting this error:

--- Code: ---// There is no appropriate prescale value for the frequency you want
#define NO_APPROPRIATE_TIMER_PRESCALE_VALUES -8
--- End code ---

Which I have no idea what that's referring to  :-X

This error can also be verified if you have the UART assigned to error messages (assigned when you generate the project code) hooked up to Hyperterminal or PuTTY (or similar) on the computer.  What I see when I have errors is "WebbotlibError: 11", or something like that...

--------------

There's also a way to do a remote reset of the Axon without actually toggling power. Admin knows more about that.  This might help indicate if it's a problem related to the capacitor.  The test would go like this:
1. USB plugged in, power axon on, display works
2. Unplug USB
3. Trigger Axon reset (again, I don't know how this step is done)
4. ???

Admin:
Yeap, Gertlex is right, it's a WebbotLib error preventing the running of your code.

Lester, can you upload your Project Designer .prj file and .c here? Did you do anything unusual in your C code that involved timers?

To trigger a manual reset, you just short two pins on the ISP connector (RESET with GND).





edit: fixed typo

Webbot:

--- Quote from: Admin on June 21, 2012, 11:24:59 AM ---Yeap, Gertlex is right, it's a WebbotLib error preventing the running of your code.

--- End quote ---

Or more precisely - WebbotLib is trying to report an error as to why your code isn't working. Not necessarily a problem caused by WebbotLib - but may be something Project Designer could alert you about beforehand. It could be that you are trying to use the same timer for lots of different things - some quick and some slow. Hence the 'NO_APPROPRIATE_TIMER_PRESCALE_VALUES' error - ie - it cannot set up the timer to cope suitably.

Without at least a Project File (.prj), and preferably some code, then its just speculation.

@Lester: if you don't want to post it on this website for any reason then feel free to email it to me direct.

Admin:
oops, sorry for the confusion . . . I meant 'WebbotLib Error Message' . . .

 ;D

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version